fixed javadoc warnings
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user