Skip to main content

[el-spec commits] [el-spec~source-code:181] change namespace linq to collections

  • From: kchung@...
  • To: commits@...
  • Subject: [el-spec commits] [el-spec~source-code:181] change namespace linq to collections
  • Date: Fri, 27 Jul 2012 18:30:11 +0000

Project:    el-spec
Repository: source-code
Revision:   181
Author:     kchung
Date:       2012-07-27 18:30:08 UTC
Link:       

Log Message:
------------
change namespace linq to collections



Revisions:
----------
181


Modified Paths:
---------------
trunk/src/test/java/org/glassfish/el/test/LinqTest.java


Diffs:
------
Index: trunk/src/test/java/org/glassfish/el/test/LinqTest.java
===================================================================
--- trunk/src/test/java/org/glassfish/el/test/LinqTest.java     (revision 180)
+++ trunk/src/test/java/org/glassfish/el/test/LinqTest.java     (revision 181)
@@ -369,12 +369,11 @@
 
     @Test
     public void testGen() {
-        testIterable("linq:range", "linq:range(10, 5)()",
+        testIterable("collections:range", "collections:range(10, 5)()",
                 new String[]{"10", "11", "12", "13", "14"});
-        
System.out.println(elp.eval("linq:range(0,5).select(x->x*x).toList()"));
-        testIterable("linq:repeat", "linq:repeat(\"xyz\", 3)",
+        
System.out.println(elp.eval("collections:range(0,5).select(x->x*x).toList()"));
+        testIterable("collections:repeat", "collections:repeat(\"xyz\", 3)",
                 new String[]{"xyz", "xyz", "xyz"});
-        testIterable("linq:_empty", "linq:_empty()", new String[]{});
     }
 }
 





[el-spec commits] [el-spec~source-code:181] change namespace linq to collections

kchung 07/27/2012
 
 
Close
loading
Please Confirm
Close