Testsuite: com.opensymphony.webwork.interceptor.TokenSessionStoreInterceptorTest
Tests run: 4, Failures: 2, Errors: 0, Time elapsed: 0.72 sec
------------- Standard Output ---------------
2005-09-23 14:13:35,302 [main] INFO  com.opensymphony.webwork.ExecutionCountTestAction - executing ExecutionCountTestAction. Current count is 1
2005-09-23 14:13:35,311 [main] WARN  com.opensymphony.xwork.util.OgnlUtil - Caught OgnlException while setting property 'propertyName' on type 'com.opensymphony.webwork.TestResult'.
ognl.NoSuchPropertyException: com.opensymphony.webwork.TestResult.propertyName
	at ognl.ObjectPropertyAccessor.setProperty(ObjectPropertyAccessor.java:133)
	at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1629)
	at ognl.ASTProperty.setValueBody(ASTProperty.java:105)
	at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177)
	at ognl.SimpleNode.setValue(SimpleNode.java:227)
	at ognl.Ognl.setValue(Ognl.java:476)
	at com.opensymphony.xwork.util.OgnlUtil.setValue(OgnlUtil.java:189)
	at com.opensymphony.xwork.util.OgnlUtil.internalSetProperty(OgnlUtil.java:271)
	at com.opensymphony.xwork.util.OgnlUtil.setProperties(OgnlUtil.java:77)
	at com.opensymphony.xwork.util.OgnlUtil.setProperties(OgnlUtil.java:50)
	at com.opensymphony.xwork.ObjectFactory.buildResult(ObjectFactory.java:160)
	at com.opensymphony.xwork.DefaultActionInvocation.createResult(DefaultActionInvocation.java:147)
	at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:255)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:182)
	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
	at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
	at com.opensymphony.xwork.ActionChainResult.execute(ActionChainResult.java:115)
	at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:258)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:182)
	at com.opensymphony.webwork.interceptor.TokenSessionStoreInterceptor.handleValidToken(TokenSessionStoreInterceptor.java:69)
	at com.opensymphony.webwork.interceptor.TokenInterceptor.intercept(TokenInterceptor.java:63)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
	at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
	at com.opensymphony.webwork.interceptor.TokenSessionStoreInterceptorTest.testDuplicateToken(TokenSessionStoreInterceptorTest.java:27)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:289)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:656)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:558)
2005-09-23 14:13:35,318 [main] WARN  com.opensymphony.xwork.util.OgnlUtil - Caught OgnlException while setting property 'expectedValue' on type 'com.opensymphony.webwork.TestResult'.
ognl.NoSuchPropertyException: com.opensymphony.webwork.TestResult.expectedValue
	at ognl.ObjectPropertyAccessor.setProperty(ObjectPropertyAccessor.java:133)
	at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1629)
	at ognl.ASTProperty.setValueBody(ASTProperty.java:105)
	at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177)
	at ognl.SimpleNode.setValue(SimpleNode.java:227)
	at ognl.Ognl.setValue(Ognl.java:476)
	at com.opensymphony.xwork.util.OgnlUtil.setValue(OgnlUtil.java:189)
	at com.opensymphony.xwork.util.OgnlUtil.internalSetProperty(OgnlUtil.java:271)
	at com.opensymphony.xwork.util.OgnlUtil.setProperties(OgnlUtil.java:77)
	at com.opensymphony.xwork.util.OgnlUtil.setProperties(OgnlUtil.java:50)
	at com.opensymphony.xwork.ObjectFactory.buildResult(ObjectFactory.java:160)
	at com.opensymphony.xwork.DefaultActionInvocation.createResult(DefaultActionInvocation.java:147)
	at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:255)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:182)
	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
	at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
	at com.opensymphony.xwork.ActionChainResult.execute(ActionChainResult.java:115)
	at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:258)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:182)
	at com.opensymphony.webwork.interceptor.TokenSessionStoreInterceptor.handleValidToken(TokenSessionStoreInterceptor.java:69)
	at com.opensymphony.webwork.interceptor.TokenInterceptor.intercept(TokenInterceptor.java:63)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
	at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
	at com.opensymphony.webwork.interceptor.TokenSessionStoreInterceptorTest.testDuplicateToken(TokenSessionStoreInterceptorTest.java:27)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:289)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:656)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:558)
2005-09-23 14:13:35,323 [main] INFO  com.opensymphony.webwork.TestResult - executing TestResult.
2005-09-23 14:13:35,323 [main] ERROR com.opensymphony.webwork.TestResult - One of expectedValues = [] and propertyNames = [] was null or empty.
2005-09-23 14:13:35,334 [main] WARN  com.opensymphony.webwork.util.TokenHelper - Could not find token name in params.
2005-09-23 14:13:35,335 [main] WARN  com.opensymphony.webwork.util.TokenHelper - Could not find token name in params.
2005-09-23 14:13:35,335 [main] WARN  com.opensymphony.webwork.util.TokenHelper - Could not find token mapped to token name null
2005-09-23 14:13:35,335 [main] WARN  com.opensymphony.xwork.DefaultActionInvocation - No result defined for action com.opensymphony.webwork.TestAction and result invalid.token
2005-09-23 14:13:35,367 [main] WARN  com.opensymphony.webwork.util.TokenHelper - Form token HGA58UK5DC2W0KW5DZOB6IDGPOFJ5B67 does not match the session token null.
2005-09-23 14:13:35,367 [main] WARN  com.opensymphony.xwork.DefaultActionInvocation - No result defined for action com.opensymphony.webwork.TestAction and result invalid.token
2005-09-23 14:13:35,371 [main] INFO  com.opensymphony.webwork.ExecutionCountTestAction - executing ExecutionCountTestAction. Current count is 1
2005-09-23 14:13:35,371 [main] WARN  com.opensymphony.xwork.util.OgnlUtil - Caught OgnlException while setting property 'propertyName' on type 'com.opensymphony.webwork.TestResult'.
ognl.NoSuchPropertyException: com.opensymphony.webwork.TestResult.propertyName
	at ognl.ObjectPropertyAccessor.setProperty(ObjectPropertyAccessor.java:133)
	at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1629)
	at ognl.ASTProperty.setValueBody(ASTProperty.java:105)
	at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177)
	at ognl.SimpleNode.setValue(SimpleNode.java:227)
	at ognl.Ognl.setValue(Ognl.java:476)
	at com.opensymphony.xwork.util.OgnlUtil.setValue(OgnlUtil.java:189)
	at com.opensymphony.xwork.util.OgnlUtil.internalSetProperty(OgnlUtil.java:271)
	at com.opensymphony.xwork.util.OgnlUtil.setProperties(OgnlUtil.java:77)
	at com.opensymphony.xwork.util.OgnlUtil.setProperties(OgnlUtil.java:50)
	at com.opensymphony.xwork.ObjectFactory.buildResult(ObjectFactory.java:160)
	at com.opensymphony.xwork.DefaultActionInvocation.createResult(DefaultActionInvocation.java:147)
	at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:255)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:182)
	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
	at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
	at com.opensymphony.xwork.ActionChainResult.execute(ActionChainResult.java:115)
	at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:258)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:182)
	at com.opensymphony.webwork.interceptor.TokenSessionStoreInterceptor.handleValidToken(TokenSessionStoreInterceptor.java:69)
	at com.opensymphony.webwork.interceptor.TokenInterceptor.intercept(TokenInterceptor.java:63)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
	at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
	at com.opensymphony.webwork.interceptor.TokenInterceptorTest.testTokenInterceptorSuccess(TokenInterceptorTest.java:66)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:289)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:656)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:558)
2005-09-23 14:13:35,377 [main] WARN  com.opensymphony.xwork.util.OgnlUtil - Caught OgnlException while setting property 'expectedValue' on type 'com.opensymphony.webwork.TestResult'.
ognl.NoSuchPropertyException: com.opensymphony.webwork.TestResult.expectedValue
	at ognl.ObjectPropertyAccessor.setProperty(ObjectPropertyAccessor.java:133)
	at ognl.OgnlRuntime.setProperty(OgnlRuntime.java:1629)
	at ognl.ASTProperty.setValueBody(ASTProperty.java:105)
	at ognl.SimpleNode.evaluateSetValueBody(SimpleNode.java:177)
	at ognl.SimpleNode.setValue(SimpleNode.java:227)
	at ognl.Ognl.setValue(Ognl.java:476)
	at com.opensymphony.xwork.util.OgnlUtil.setValue(OgnlUtil.java:189)
	at com.opensymphony.xwork.util.OgnlUtil.internalSetProperty(OgnlUtil.java:271)
	at com.opensymphony.xwork.util.OgnlUtil.setProperties(OgnlUtil.java:77)
	at com.opensymphony.xwork.util.OgnlUtil.setProperties(OgnlUtil.java:50)
	at com.opensymphony.xwork.ObjectFactory.buildResult(ObjectFactory.java:160)
	at com.opensymphony.xwork.DefaultActionInvocation.createResult(DefaultActionInvocation.java:147)
	at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:255)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:182)
	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
	at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
	at com.opensymphony.xwork.ActionChainResult.execute(ActionChainResult.java:115)
	at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:258)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:182)
	at com.opensymphony.webwork.interceptor.TokenSessionStoreInterceptor.handleValidToken(TokenSessionStoreInterceptor.java:69)
	at com.opensymphony.webwork.interceptor.TokenInterceptor.intercept(TokenInterceptor.java:63)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
	at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
	at com.opensymphony.webwork.interceptor.TokenInterceptorTest.testTokenInterceptorSuccess(TokenInterceptorTest.java:66)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:324)
	at junit.framework.TestCase.runTest(TestCase.java:154)
	at junit.framework.TestCase.runBare(TestCase.java:127)
	at junit.framework.TestResult$1.protect(TestResult.java:106)
	at junit.framework.TestResult.runProtected(TestResult.java:124)
	at junit.framework.TestResult.run(TestResult.java:109)
	at junit.framework.TestCase.run(TestCase.java:118)
	at junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:289)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.launch(JUnitTestRunner.java:656)
	at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:558)
2005-09-23 14:13:35,381 [main] INFO  com.opensymphony.webwork.TestResult - executing TestResult.
2005-09-23 14:13:35,382 [main] ERROR com.opensymphony.webwork.TestResult - One of expectedValues = [] and propertyNames = [] was null or empty.
------------- ---------------- ---------------

Testcase: testDuplicateToken took 0.439 sec
	FAILED
null
junit.framework.AssertionFailedError
	at com.opensymphony.webwork.TestResult.execute(TestResult.java:80)
	at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:258)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:182)
	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
	at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
	at com.opensymphony.xwork.ActionChainResult.execute(ActionChainResult.java:115)
	at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:258)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:182)
	at com.opensymphony.webwork.interceptor.TokenSessionStoreInterceptor.handleValidToken(TokenSessionStoreInterceptor.java:69)
	at com.opensymphony.webwork.interceptor.TokenInterceptor.intercept(TokenInterceptor.java:63)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
	at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
	at com.opensymphony.webwork.interceptor.TokenSessionStoreInterceptorTest.testDuplicateToken(TokenSessionStoreInterceptorTest.java:27)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

Testcase: testNoTokenInParams took 0.003 sec
Testcase: testNoTokenInSession took 0.033 sec
Testcase: testTokenInterceptorSuccess took 0.015 sec
	FAILED
null
junit.framework.AssertionFailedError
	at com.opensymphony.webwork.TestResult.execute(TestResult.java:80)
	at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:258)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:182)
	at com.opensymphony.xwork.interceptor.AroundInterceptor.intercept(AroundInterceptor.java:35)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
	at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
	at com.opensymphony.xwork.ActionChainResult.execute(ActionChainResult.java:115)
	at com.opensymphony.xwork.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:258)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:182)
	at com.opensymphony.webwork.interceptor.TokenSessionStoreInterceptor.handleValidToken(TokenSessionStoreInterceptor.java:69)
	at com.opensymphony.webwork.interceptor.TokenInterceptor.intercept(TokenInterceptor.java:63)
	at com.opensymphony.xwork.DefaultActionInvocation.invoke(DefaultActionInvocation.java:164)
	at com.opensymphony.xwork.DefaultActionProxy.execute(DefaultActionProxy.java:116)
	at com.opensymphony.webwork.interceptor.TokenInterceptorTest.testTokenInterceptorSuccess(TokenInterceptorTest.java:66)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

