Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/junit/plugins/junit')
-rw-r--r--tests/junit/plugins/junit/org.eclipse.papyrus.junit.utils/src/org/eclipse/papyrus/junit/utils/rules/AbstractHouseKeeperRule.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/junit/plugins/junit/org.eclipse.papyrus.junit.utils/src/org/eclipse/papyrus/junit/utils/rules/AbstractHouseKeeperRule.java b/tests/junit/plugins/junit/org.eclipse.papyrus.junit.utils/src/org/eclipse/papyrus/junit/utils/rules/AbstractHouseKeeperRule.java
index fc7a9c76de0..acacb3f0d33 100644
--- a/tests/junit/plugins/junit/org.eclipse.papyrus.junit.utils/src/org/eclipse/papyrus/junit/utils/rules/AbstractHouseKeeperRule.java
+++ b/tests/junit/plugins/junit/org.eclipse.papyrus.junit.utils/src/org/eclipse/papyrus/junit/utils/rules/AbstractHouseKeeperRule.java
@@ -599,7 +599,7 @@ public abstract class AbstractHouseKeeperRule {
private static final class ReflectiveDisposer implements Disposer<Object> {
- static final ReflectiveDisposer INSTANCE = new ReflectiveDisposer("dispose");
+ static final ReflectiveDisposer INSTANCE = new ReflectiveDisposer("dispose"); //$NON-NLS-1$
private final String disposeMethod;
@@ -622,7 +622,7 @@ public abstract class AbstractHouseKeeperRule {
}
public void dispose(Object object) throws Exception {
- new Duck(object).quack("dispose", arguments);
+ new Duck(object).quack(disposeMethod, arguments);
}
}
}

Back to the top