From 559ca88b37a5c297e5f6d17bf6316ddb474aa9ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Dinis=20Ferreira?= Date: Wed, 15 Jul 2026 23:26:48 +0200 Subject: [PATCH] chore: remove the unused JUnit 4-era BugTest annotation The @BugTest migration to JUnit 5 is complete: every test using the annotation imports com.avaloq.tools.ddk.test.core.jupiter.BugTest, and the original com.avaloq.tools.ddk.test.core.BugTest has no remaining references in the repository or in known consumers. Remove the dead annotation; the jupiter variant (with its BugTestAwareRule consumer) is the sole survivor. Closes #1250 Co-Authored-By: Claude Opus 4.8 (1M context) --- .../avaloq/tools/ddk/test/core/BugTest.java | 39 ------------------- 1 file changed, 39 deletions(-) delete mode 100644 com.avaloq.tools.ddk.test.core/src/com/avaloq/tools/ddk/test/core/BugTest.java diff --git a/com.avaloq.tools.ddk.test.core/src/com/avaloq/tools/ddk/test/core/BugTest.java b/com.avaloq.tools.ddk.test.core/src/com/avaloq/tools/ddk/test/core/BugTest.java deleted file mode 100644 index 213499f6fa..0000000000 --- a/com.avaloq.tools.ddk.test.core/src/com/avaloq/tools/ddk/test/core/BugTest.java +++ /dev/null @@ -1,39 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2016 Avaloq Group AG and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * Avaloq Group AG - initial API and implementation - *******************************************************************************/ -package com.avaloq.tools.ddk.test.core; - -import java.lang.annotation.ElementType; -import java.lang.annotation.Retention; -import java.lang.annotation.RetentionPolicy; -import java.lang.annotation.Target; - - -/** - * An annotation used to indicate which bug issues a test method or test class covers. - */ -@Retention(RetentionPolicy.RUNTIME) -@Target({ElementType.METHOD, ElementType.TYPE}) -public @interface BugTest { - /** - * The list of bug issues. - * - * @return the list of bug issues - */ - String[] value(); - - /** - * Returns whether the corresponding bug is already fixed. Bug tests for unresolved bugs are disabled for common test runs. - * - * @return true for unresolved bugs; false for fixed bugs. - */ - boolean unresolved() default false; - -}