[jboss-svn-commits] JBL Code SVN: r14516 - labs/jbossrules/trunk/drools-eclipse/drools-eclipse-test/src/test/java/org/drools/eclipse/editors/completion.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Fri Aug 24 05:52:02 EDT 2007


Author: KrisVerlaenen
Date: 2007-08-24 05:52:02 -0400 (Fri, 24 Aug 2007)
New Revision: 14516

Modified:
   labs/jbossrules/trunk/drools-eclipse/drools-eclipse-test/src/test/java/org/drools/eclipse/editors/completion/CompletionContextTest.java
Log:
JBRULES-1063: Failing location determination tests
 - updated location determination to fix tests

Modified: labs/jbossrules/trunk/drools-eclipse/drools-eclipse-test/src/test/java/org/drools/eclipse/editors/completion/CompletionContextTest.java
===================================================================
--- labs/jbossrules/trunk/drools-eclipse/drools-eclipse-test/src/test/java/org/drools/eclipse/editors/completion/CompletionContextTest.java	2007-08-24 08:40:56 UTC (rev 14515)
+++ labs/jbossrules/trunk/drools-eclipse/drools-eclipse-test/src/test/java/org/drools/eclipse/editors/completion/CompletionContextTest.java	2007-08-24 09:52:02 UTC (rev 14516)
@@ -209,8 +209,7 @@
     }
 
 
-    //pombredanne: this variation without ending space does not fail as below
-    public void testCheckLHSLocationDetermination_INSIDE_CONDITION_START9() {
+    public void testCheckLHSLocationDetermination_INSIDE_CONDITION_START9a() {
         String input =
             "rule MyRule \n" +
             "   when \n" +
@@ -221,8 +220,7 @@
     }
 
 
-    //TODO: fix me
-    public void FAILINGtestCheckLHSLocationDetermination_INSIDE_CONDITION_START9() {
+    public void testCheckLHSLocationDetermination_INSIDE_CONDITION_START9b() {
         String input =
             "rule MyRule \n" +
         	"	when \n" +
@@ -1733,8 +1731,7 @@
         assertEquals(Location.LOCATION_LHS_BEGIN_OF_CONDITION, location.getType());
     }
 
-//  pombredanne: this variation without ending space does not fail as below
-    public void testCheckLHSLocationDetermination_BEGIN_OF_CONDITION77() {
+    public void testCheckLHSLocationDetermination_BEGIN_OF_CONDITION77a() {
         String input =
         	"rule MyRule \n" +
         	"	when \n" +
@@ -1743,8 +1740,7 @@
         assertEquals(Location.LOCATION_LHS_BEGIN_OF_CONDITION, location.getType());
     }
 
-    //TODO: fix me
-    public void FAILINGtestCheckLHSLocationDetermination_BEGIN_OF_CONDITION77() {
+    public void testCheckLHSLocationDetermination_BEGIN_OF_CONDITION77b() {
         String input =
             "rule MyRule \n" +
             "   when \n" +
@@ -1753,8 +1749,7 @@
         assertEquals(Location.LOCATION_LHS_BEGIN_OF_CONDITION, location.getType());
     }
 
-    //  pombredanne: this variation without ending space does not fail as below
-    public void testCheckLHSLocationDetermination_INSIDE_CONDITION_START45() {
+    public void testCheckLHSLocationDetermination_INSIDE_CONDITION_START45a() {
         String input =
             "rule MyRule \n" +
             "   when \n" +
@@ -1764,8 +1759,7 @@
         assertEquals("Class", location.getProperty(Location.LOCATION_PROPERTY_CLASS_NAME));
     }
 
-    //TODO: fix me
-    public void FAILINGtestCheckLHSLocationDetermination_INSIDE_CONDITION_START45() {
+    public void testCheckLHSLocationDetermination_INSIDE_CONDITION_START45b() {
         String input =
             "rule MyRule \n" +
             "   when \n" +




More information about the jboss-svn-commits mailing list