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 java.lang.Object
A little action wrapper to simplify this test class :)
|
Method Summary |
void |
run(java.lang.String name,
java.util.List<?>... expected)
|
protected abstract
|
runForType(java.io.File rootDir,
java.lang.Class<T> type,
java.util.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(java.io.File rootDir,
java.lang.Class<T> type,
java.util.List<?> expected)
throws java.lang.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:
java.lang.Exception - if any pb
run
public void run(java.lang.String name,
java.util.List<?>... expected)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2009 CodeLutin. All Rights Reserved.