fixed javadoc warnings

This commit is contained in:
Keith Donald
2008-04-27 13:00:29 +00:00
parent 18e4526c99
commit 9edb7d604f
15 changed files with 29 additions and 116 deletions

View File

@@ -15,37 +15,10 @@
*/
package org.springframework.webflow.action;
import org.springframework.webflow.action.DispatchMethodInvoker;
import junit.framework.TestCase;
/**
* Unit tests for {@link DispatchMethodInvoker}.
*
* @author Ben Hale
*/
public class DispatchMethodInvokerTests extends TestCase {
private class MockClass {
private boolean methodCalled = false;
public boolean getMethodCalled() {
return methodCalled;
}
public void argumentMethod(Object o) {
methodCalled = true;
}
public void noArgumentMethod() {
methodCalled = true;
}
public void exceptionMethod(Object o) throws Exception {
throw new Exception("expected exception");
}
}
private MockClass mockClass;
protected void setUp() {
@@ -79,4 +52,24 @@ public class DispatchMethodInvokerTests extends TestCase {
}
}
private class MockClass {
private boolean methodCalled = false;
public boolean getMethodCalled() {
return methodCalled;
}
public void argumentMethod(Object o) {
methodCalled = true;
}
public void noArgumentMethod() {
methodCalled = true;
}
public void exceptionMethod(Object o) throws Exception {
throw new Exception("expected exception");
}
}
}

View File

@@ -48,8 +48,7 @@ public class FlowExecutorFactoryBeanTests extends TestCase {
}
});
factoryBean.afterPropertiesSet();
FlowExecutor executor = (FlowExecutor) factoryBean.getObject();
MockExternalContext context = new MockExternalContext();
factoryBean.getObject();
}
public void testGetFlowExecutorOptionsSpecified() throws Exception {