summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--jpa/tests/org.eclipse.jpt.jpa.core.tests/src/org/eclipse/jpt/jpa/core/tests/internal/resource/java/JavaResourceAttributeTests.java2
-rw-r--r--jpa/tests/org.eclipse.jpt.jpa.core.tests/src/org/eclipse/jpt/jpa/core/tests/internal/resource/java/JavaResourceTypeTests.java2
2 files changed, 2 insertions, 2 deletions
diff --git a/jpa/tests/org.eclipse.jpt.jpa.core.tests/src/org/eclipse/jpt/jpa/core/tests/internal/resource/java/JavaResourceAttributeTests.java b/jpa/tests/org.eclipse.jpt.jpa.core.tests/src/org/eclipse/jpt/jpa/core/tests/internal/resource/java/JavaResourceAttributeTests.java
index dbbe4df..84e1c64 100644
--- a/jpa/tests/org.eclipse.jpt.jpa.core.tests/src/org/eclipse/jpt/jpa/core/tests/internal/resource/java/JavaResourceAttributeTests.java
+++ b/jpa/tests/org.eclipse.jpt.jpa.core.tests/src/org/eclipse/jpt/jpa/core/tests/internal/resource/java/JavaResourceAttributeTests.java
@@ -591,7 +591,7 @@ public class JavaResourceAttributeTests extends JpaJavaResourceModelTestCase {
resourceAttribute.removeAnnotation(0, JPA.ATTRIBUTE_OVERRIDE);
assertSourceDoesNotContain("@AttributeOverride(name = \"FOO\")", cu);
- assertSourceContains("@AttributeOverrides", cu);
+ assertSourceDoesNotContain("@AttributeOverrides", cu);
}
public void testRemoveJavaAttributeAnnotationIndex() throws Exception {
diff --git a/jpa/tests/org.eclipse.jpt.jpa.core.tests/src/org/eclipse/jpt/jpa/core/tests/internal/resource/java/JavaResourceTypeTests.java b/jpa/tests/org.eclipse.jpt.jpa.core.tests/src/org/eclipse/jpt/jpa/core/tests/internal/resource/java/JavaResourceTypeTests.java
index 17c9e6b..1e56d64 100644
--- a/jpa/tests/org.eclipse.jpt.jpa.core.tests/src/org/eclipse/jpt/jpa/core/tests/internal/resource/java/JavaResourceTypeTests.java
+++ b/jpa/tests/org.eclipse.jpt.jpa.core.tests/src/org/eclipse/jpt/jpa/core/tests/internal/resource/java/JavaResourceTypeTests.java
@@ -542,7 +542,7 @@ public class JavaResourceTypeTests extends JpaJavaResourceModelTestCase {
resourceType.removeAnnotation(0, JPA.SECONDARY_TABLE);
assertSourceDoesNotContain("@SecondaryTable(name = \"FOO\")", cu);
- assertSourceContains("@SecondaryTables", cu);
+ assertSourceDoesNotContain("@SecondaryTables", cu);
}
public void testRemoveJavaTypeAnnotationIndex() throws Exception {