Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCaspar De Groot2011-10-10 04:55:54 +0000
committerCaspar De Groot2011-10-10 04:55:54 +0000
commit6917f4258146f21f3394b876b861402bbccb0323 (patch)
tree7e64a1b735d7c48b2c1b5b91318ed51bf1e45c9c /plugins/org.eclipse.net4j.tests
parent5ed07c0998ec02364ffb549f7a693bd9648c5962 (diff)
downloadcdo-6917f4258146f21f3394b876b861402bbccb0323.tar.gz
cdo-6917f4258146f21f3394b876b861402bbccb0323.tar.xz
cdo-6917f4258146f21f3394b876b861402bbccb0323.zip
[355045] Allow NEW objects to be locked on commit
https://bugs.eclipse.org/bugs/show_bug.cgi?id=355045
Diffstat (limited to 'plugins/org.eclipse.net4j.tests')
-rw-r--r--plugins/org.eclipse.net4j.tests/src/org/eclipse/net4j/util/tests/AbstractOMTest.java20
1 files changed, 16 insertions, 4 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 b410756898..c537839db9 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
@@ -390,28 +390,40 @@ public abstract class AbstractOMTest extends TestCase
return file;
}
+ /**
+ * @deprecated Use assertEquals(message, true, ...)
+ */
@Deprecated
public static void assertTrue(String message, boolean condition)
{
- throw new UnsupportedOperationException("Use assertEquals()");
+ throw new UnsupportedOperationException("Use assertEquals(message, true, ...)");
}
+ /**
+ * @deprecated Use assertEquals(true, ...)
+ */
@Deprecated
public static void assertTrue(boolean condition)
{
- throw new UnsupportedOperationException("Use assertEquals()");
+ throw new UnsupportedOperationException("Use assertEquals(true, ...)");
}
+ /**
+ * @deprecated Use assertEquals(message, false, ...)
+ */
@Deprecated
public static void assertFalse(String message, boolean condition)
{
- throw new UnsupportedOperationException("Use assertEquals()");
+ throw new UnsupportedOperationException("Use assertEquals(message, false, ...)");
}
+ /**
+ * @deprecated Use assertEquals(false, ...)
+ */
@Deprecated
public static void assertFalse(boolean condition)
{
- throw new UnsupportedOperationException("Use assertEquals()");
+ throw new UnsupportedOperationException("Use assertEquals(false, ...)");
}
public static void assertEquals(Object[] expected, Object[] actual)

Back to the top