Revision: 17930
          http://sourceforge.net/p/gate/code/17930
Author:   markagreenwood
Date:     2014-05-08 12:45:35 +0000 (Thu, 08 May 2014)
Log Message:
-----------
modified jape files so that they actually work as expected

Modified Paths:
--------------
    
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-equals-double-negative.jape
    
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-equals-int-negative.jape
    
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-ge-double-negative.jape
    
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-ge-double-positive.jape
    
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-ge-int-negative.jape
    
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-gt-double-negative.jape
    
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-gt-int-negative.jape
    
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-gt-int-positive.jape

Modified: 
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-equals-double-negative.jape
===================================================================
--- 
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-equals-double-negative.jape
     2014-05-08 09:29:12 UTC (rev 17929)
+++ 
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-equals-double-negative.jape
     2014-05-08 12:45:35 UTC (rev 17930)
@@ -3,7 +3,7 @@
 
 Rule:OpEquals
 (
-       {Token.double == "-273.15"} 
+       {Token.double == -273.15} 
 ):bind 
 --> 
 :bind.SomeAnnotation = {rule="OpEquals"}

Modified: 
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-equals-int-negative.jape
===================================================================
--- 
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-equals-int-negative.jape
        2014-05-08 09:29:12 UTC (rev 17929)
+++ 
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-equals-int-negative.jape
        2014-05-08 12:45:35 UTC (rev 17930)
@@ -3,7 +3,7 @@
 
 Rule:OpEquals
 (
-       {Token.int == "-10"} 
+       {Token.int == -10} 
 ):bind 
 --> 
 :bind.SomeAnnotation = {rule="OpEquals"}

Modified: 
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-ge-double-negative.jape
===================================================================
--- 
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-ge-double-negative.jape
 2014-05-08 09:29:12 UTC (rev 17929)
+++ 
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-ge-double-negative.jape
 2014-05-08 12:45:35 UTC (rev 17930)
@@ -3,7 +3,7 @@
 
 Rule:OpGreaterEquals
 (
-       {Token.int >= "-273.15"} | {Token.double > "-273.15"}
+       {Token.int >= -273.15} | {Token.double >= -273.15}
 ):bind 
 --> 
 :bind.SomeAnnotation = {rule="OpGreaterEquals"}

Modified: 
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-ge-double-positive.jape
===================================================================
--- 
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-ge-double-positive.jape
 2014-05-08 09:29:12 UTC (rev 17929)
+++ 
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-ge-double-positive.jape
 2014-05-08 12:45:35 UTC (rev 17930)
@@ -3,7 +3,7 @@
 
 Rule:OpGreaterEquals
 (
-       {Token.int >= 3.14} | {Token.double > 3.14}
+       {Token.int >= 3.14} | {Token.double >= 3.14}
 ):bind 
 --> 
 :bind.SomeAnnotation = {rule="OpGreaterEquals"}

Modified: 
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-ge-int-negative.jape
===================================================================
--- 
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-ge-int-negative.jape
    2014-05-08 09:29:12 UTC (rev 17929)
+++ 
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-ge-int-negative.jape
    2014-05-08 12:45:35 UTC (rev 17930)
@@ -3,7 +3,7 @@
 
 Rule:OpGreaterEquals
 (
-       {Token.int > "-10"} | {Token.double > "-10"}
+       {Token.int > -10} | {Token.double > -10d}
 ):bind 
 --> 
 :bind.SomeAnnotation = {rule="OpGreaterEquals"}

Modified: 
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-gt-double-negative.jape
===================================================================
--- 
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-gt-double-negative.jape
 2014-05-08 09:29:12 UTC (rev 17929)
+++ 
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-gt-double-negative.jape
 2014-05-08 12:45:35 UTC (rev 17930)
@@ -3,7 +3,7 @@
 
 Rule:OpGreaterThan
 (
-       {Token.int > "-451.1"} | {Token.double > "-451.1"}
+       {Token.int > -451.1} | {Token.double > -451.1}
 ):bind 
 --> 
 :bind.SomeAnnotation = {rule="OpGreaterThan"}

Modified: 
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-gt-int-negative.jape
===================================================================
--- 
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-gt-int-negative.jape
    2014-05-08 09:29:12 UTC (rev 17929)
+++ 
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-gt-int-negative.jape
    2014-05-08 12:45:35 UTC (rev 17930)
@@ -3,7 +3,7 @@
 
 Rule:OpGreaterThan
 (
-       {Token.int > "-42"} | {Token.double > "-42"}
+       {Token.int > -42} | {Token.double > -42d}
 ):bind 
 --> 
 :bind.SomeAnnotation = {rule="OpGreaterThan"}

Modified: 
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-gt-int-positive.jape
===================================================================
--- 
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-gt-int-positive.jape
    2014-05-08 09:29:12 UTC (rev 17929)
+++ 
gate/trunk/src/test/gate/resources/jape/test/japefiles/Req-GATETao-8.1.3-op-gt-int-positive.jape
    2014-05-08 12:45:35 UTC (rev 17930)
@@ -3,7 +3,7 @@
 
 Rule:OpGreaterThan
 (
-       {Token.int > 2} | {Token.double > 2}
+       {Token.int > 2} | {Token.double > 2d}
 ):bind 
 --> 
 :bind.SomeAnnotation = {rule="OpGreaterThan"}

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
• 3 signs your SCM is hindering your productivity
• Requirements for releasing software faster
• Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to