struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tschnei...@apache.org
Subject svn commit: r593718 - /struts/sandbox/trunk/struts2-juel-plugin/src/test/java/com/googlecode/struts2juel/UelTest.java
Date Sat, 10 Nov 2007 02:15:55 GMT
Author: tschneider
Date: Fri Nov  9 18:15:54 2007
New Revision: 593718

URL: http://svn.apache.org/viewvc?rev=593718&view=rev
Log:
refactored value stack name

Modified:
    struts/sandbox/trunk/struts2-juel-plugin/src/test/java/com/googlecode/struts2juel/UelTest.java

Modified: struts/sandbox/trunk/struts2-juel-plugin/src/test/java/com/googlecode/struts2juel/UelTest.java
URL: http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2-juel-plugin/src/test/java/com/googlecode/struts2juel/UelTest.java?rev=593718&r1=593717&r2=593718&view=diff
==============================================================================
--- struts/sandbox/trunk/struts2-juel-plugin/src/test/java/com/googlecode/struts2juel/UelTest.java
(original)
+++ struts/sandbox/trunk/struts2-juel-plugin/src/test/java/com/googlecode/struts2juel/UelTest.java
Fri Nov  9 18:15:54 2007
@@ -51,7 +51,7 @@
 		CompoundRoot root = new CompoundRoot();
 		TestObject obj = new TestObject();
 		root.add(obj);
-		JuelValueStack stack = new JuelValueStack(factory, converter);
+		UelValueStack stack = new UelValueStack(factory, converter);
 		stack.setRoot(root);
 		stack.setValue("${value}", "Hello World");
 		String value = stack.findString("${value}");
@@ -67,7 +67,7 @@
 		CompoundRoot root = new CompoundRoot();
 		TestObject obj = new TestObject();
 		root.add(obj);
-		JuelValueStack stack = new JuelValueStack(factory, converter);
+		UelValueStack stack = new UelValueStack(factory, converter);
 		stack.setRoot(root);
 		stack.setValue("${value}", new String[] { "Hello World" });
 		String value = stack.findString("${value}");
@@ -83,7 +83,7 @@
 		TestObject obj = new TestObject();
 		root.add(obj);
 
-		JuelValueStack stack = new JuelValueStack(factory, converter);
+		UelValueStack stack = new UelValueStack(factory, converter);
 		stack.setRoot(root);
 		stack.setValue("#{value}", "Hello World");
 		String value = stack.findString("#{value}");
@@ -106,7 +106,7 @@
 		obj.setParameters(map);
 		root.add(obj);
 
-		JuelValueStack stack = new JuelValueStack(factory, converter);
+		UelValueStack stack = new UelValueStack(factory, converter);
 		stack.setRoot(root);
 		String value = (String) stack.findValue("parameters.nameValue",
 				String.class);
@@ -120,7 +120,7 @@
 		TestObject nestedObj = new TestObject();
 		obj.setInner(nestedObj);
 		root.add(obj);
-		JuelValueStack stack = new JuelValueStack(factory, converter);
+		UelValueStack stack = new UelValueStack(factory, converter);
 		stack.setRoot(root);
 		stack.setValue("${inner.age}", "66");
 		assertEquals(66, obj.getInner().getAge());
@@ -134,7 +134,7 @@
 		TestObject inner = new TestObject();
 		obj.setInner(inner);
 		root.add(obj);
-		JuelValueStack stack = new JuelValueStack(factory, converter);
+		UelValueStack stack = new UelValueStack(factory, converter);
 		stack.setRoot(root);
 
 		stack.setValue("${age}", "22");
@@ -156,7 +156,7 @@
 		CompoundRoot root = new CompoundRoot();
 		TestObject obj = new TestObject();
 		root.add(obj);
-		JuelValueStack stack = new JuelValueStack(factory, converter);
+		UelValueStack stack = new UelValueStack(factory, converter);
 		stack.setRoot(root);
 		stack.setValue("${value}", "Hello World");
 		String value = stack.findString("${VALUENOTHERE}");



Mime
View raw message