Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2013-09-27 05:28:33 -0400
committerEike Stepper2013-09-29 05:40:31 -0400
commit48c07bf1f2acc05313f6f4b3bfaee8db208b1d66 (patch)
tree482a121fa8d603ac3e0a3016a0ee52cff685b66b /plugins/org.eclipse.net4j.tests/src/org
parent5f0ddac06df136a2a0b7c46fe33400386da92a53 (diff)
downloadcdo-48c07bf1f2acc05313f6f4b3bfaee8db208b1d66.tar.gz
cdo-48c07bf1f2acc05313f6f4b3bfaee8db208b1d66.tar.xz
cdo-48c07bf1f2acc05313f6f4b3bfaee8db208b1d66.zip
[418267] [Security] Cached permissions are not always properly updated
after commits https://bugs.eclipse.org/bugs/show_bug.cgi?id=418267
Diffstat (limited to 'plugins/org.eclipse.net4j.tests/src/org')
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java11
1 files changed, 10 insertions, 1 deletions
diff --git a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java
index 1c6e6cf656..b5b9ce191e 100644
--- a/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java
+++ b/plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java
@@ -534,7 +534,16 @@ public abstract class AbstractOMTest extends TestCase
return;
}
- Assert.assertEquals(expected, actual);
+ try
+ {
+ Assert.assertEquals(expected, actual);
+ }
+ catch (AssertionError ex)
+ {
+ AssertionFailedError error = new AssertionFailedError(ex.getMessage());
+ error.initCause(ex);
+ throw error;
+ }
}
public static void assertEquals(String message, Object expected, Object actual)

Back to the top