[jbosstools-commits] JBoss Tools SVN: r43559 - trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/jbt/validation.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Mon Sep 10 13:13:25 EDT 2012
Author: vrubezhny
Date: 2012-09-10 13:13:25 -0400 (Mon, 10 Sep 2012)
New Revision: 43559
Added:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/jbt/validation/Bean_Broken.java
Log:
JBIDE-12418
Sometimes As-You-Type validation isn't invoked after a Java-String that contains EL is Copy-Pasted in Java editor
JBIDE-12539
In some cases as-you-type validation removes all annotations
JUnit Test Case is added due to verify the issues
Added: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/jbt/validation/Bean_Broken.java
===================================================================
--- trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/jbt/validation/Bean_Broken.java (rev 0)
+++ trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/jbt/validation/Bean_Broken.java 2012-09-10 17:13:25 UTC (rev 43559)
@@ -0,0 +1,18 @@
+package org.jboss.jsr299.tck.tests.jbt.validation;
+
+import javax.enterprise.inject.Produces;
+import javax.inject.Named;
+
+public class Bean_Broken {
+
+ public void foo() {
+ String s = "#{string.ss}";
+ String s2 = "#{string.ss}";
+ }
+
+ @Named
+ @Produces
+ public String string() {
+ return "";
+ }
+}
\ No newline at end of file
Property changes on: trunk/cdi/tests/org.jboss.tools.cdi.core.test/resources/tck/tests/jbt/validation/Bean_Broken.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
More information about the jbosstools-commits
mailing list