summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaren Butzke2012-11-20 17:05:28 (EST)
committerKaren Butzke2012-11-20 17:05:28 (EST)
commitfe59c65062e244a901925b9a9de6466fd9930ebf (patch)
tree124b0d2addaccdb067f092b60c912da6496444dd
parentee521ba10b458ecc858cdcea3af8d1a6b6f6aa6e (diff)
downloadwebtools.dali-fe59c65062e244a901925b9a9de6466fd9930ebf.zip
webtools.dali-fe59c65062e244a901925b9a9de6466fd9930ebf.tar.gz
webtools.dali-fe59c65062e244a901925b9a9de6466fd9930ebf.tar.bz2
local 'amend previous commit' did not work, original commit was pushed - v201211202255
Bug 387630 - Convert java plural queries or converters to xml and the plural annotation is left behind
-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 {