org.nuiton.jredmine.model.io.xpp3
Class RedmineXpp3HelperTest.TestAction
java.lang.Object
org.nuiton.jredmine.model.io.xpp3.RedmineXpp3HelperTest.TestAction
- Enclosing class:
- RedmineXpp3HelperTest
public abstract static class RedmineXpp3HelperTest.TestAction
- extends Object
A little action wrapper to simplify this test class :)
|
Method Summary |
void |
run(String name,
List<?>... expected)
|
protected abstract
|
runForType(File rootDir,
Class<T> type,
List<?> expected)
Implements the logic of action for the given type and
the expected datas. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RedmineXpp3HelperTest.TestAction
public RedmineXpp3HelperTest.TestAction()
runForType
protected abstract <T> void runForType(File rootDir,
Class<T> type,
List<?> expected)
throws Exception
- Implements the logic of action for the given
type and
the expected datas.
- Type Parameters:
T - the type of data used- Parameters:
rootDir - the rootdir file of the local cachetype - the type of data usedexpected - the list of expected datas
- Throws:
Exception - if any pb
run
public void run(String name,
List<?>... expected)
throws Exception
- Throws:
Exception
Copyright © 2009-2010 CodeLutin. All Rights Reserved.