Commits

Anonymous committed 6786252

- fix failing tests due to XW-386 changes

Issue number: XW-386
Obtained from:
Submitted by:
Reviewed by:

git-svn-id: http://svn.opensymphony.com/svn/webwork/trunk@2667573baa09-0c28-0410-bef9-dab3c582ae83

Comments (0)

Files changed (2)

src/test/com/opensymphony/webwork/TestConfigurationProvider.java

         successParams.put("propertyName", "executionCount");
         successParams.put("expectedValue", "1");
 
-        ResultConfig successConfig = new ResultConfig(Action.SUCCESS, TestResult.class, successParams);
+        ResultConfig successConfig = new ResultConfig(Action.SUCCESS, TestResult.class.getName(), successParams);
 
         results.put(Action.SUCCESS, successConfig);
 
         successParams = new HashMap();
         successParams.put("location", "success.jsp");
 
-        successConfig = new ResultConfig(Action.SUCCESS, ServletDispatcherResult.class, successParams);
+        successConfig = new ResultConfig(Action.SUCCESS, ServletDispatcherResult.class.getName(), successParams);
 
         results.put(Action.SUCCESS, successConfig);
 
         successParams = new HashMap();
         successParams.put("actionName", EXECUTION_COUNT_ACTION_NAME);
 
-        successConfig = new ResultConfig(Action.SUCCESS, ActionChainResult.class, successParams);
+        successConfig = new ResultConfig(Action.SUCCESS, ActionChainResult.class.getName(), successParams);
 
         results.put(Action.SUCCESS, successConfig);
 
         configurationManager.addPackageConfig("defaultPackage", defaultPackageConfig);
 
         Map testActionTagResults = new HashMap();
-        testActionTagResults.put(Action.SUCCESS, new ResultConfig(Action.SUCCESS, TestActionTagResult.class, new HashMap()));
-        testActionTagResults.put(Action.INPUT, new ResultConfig(Action.INPUT, TestActionTagResult.class, new HashMap()));
+        testActionTagResults.put(Action.SUCCESS, new ResultConfig(Action.SUCCESS, TestActionTagResult.class.getName(), new HashMap()));
+        testActionTagResults.put(Action.INPUT, new ResultConfig(Action.INPUT, TestActionTagResult.class.getName(), new HashMap()));
         ActionConfig testActionTagActionConfig = new ActionConfig((String) null, TestAction.class, (Map) null, testActionTagResults, new ArrayList());
         defaultPackageConfig.addActionConfig("testActionTagAction", testActionTagActionConfig);
 

src/test/com/opensymphony/webwork/interceptor/ExecuteAndWaitInterceptorTest.java

             PackageConfig wait = new PackageConfig();
 
             Map results = new HashMap();
-            results.put(Action.SUCCESS, new ResultConfig(Action.SUCCESS, MockResult.class, null));
-            results.put(ExecuteAndWaitInterceptor.WAIT, new ResultConfig(ExecuteAndWaitInterceptor.WAIT, MockResult.class, null));
+            results.put(Action.SUCCESS, new ResultConfig(Action.SUCCESS, MockResult.class.getName(), null));
+            results.put(ExecuteAndWaitInterceptor.WAIT, new ResultConfig(ExecuteAndWaitInterceptor.WAIT, MockResult.class.getName(), null));
 
             // interceptors
             waitInterceptor = new ExecuteAndWaitInterceptor();
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.