public class TypedTestPack
extends org.bladerunnerjs.model.SourceResources
implements org.bladerunnerjs.model.engine.NamedNode
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
AMBIGUOUS_TESTS_DIR_WARNING |
static java.lang.String |
AMBIGUOUS_TESTS_USING_TESTS_DIR |
static java.lang.String |
AMBIGUOUS_TESTS_USING_TESTS_HYPHEN_DIR |
| Constructor and Description |
|---|
TypedTestPack(org.bladerunnerjs.model.engine.RootNode rootNode,
org.bladerunnerjs.model.engine.Node parent,
MemoizedFile dir,
java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTemplateTransformations(java.util.Map<java.lang.String,java.lang.String> transformations)
Template transformation are used to replace aliases for namings that are automatically replaced when creating an node.
|
void |
assertValidName() |
static <T extends TypedTestPack> |
createNodeSet(org.bladerunnerjs.model.engine.Node node,
java.lang.Class<T> nodeListClass) |
TestPack |
defaultTestTech() |
java.lang.String |
getName() |
boolean |
isValidName() |
TestPack |
testTech(java.lang.String technologyName) |
java.util.List<TestPack> |
testTechs() |
getTemplateName, populate, rootaddObserver, addObserver, containsFile, create, createDefaultNode, delete, dir, dirExists, discoverAllChildren, exists, file, getObservers, getTypeName, incrementChildFileVersions, incrementFileVersion, memoizedScopeFiles, nodeProperties, notifyObservers, parentNode, ready, rootStorageDir, setNodeDir, storageDir, storageFile, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddObserver, addObserver, containsFile, create, delete, dir, dirExists, discoverAllChildren, exists, file, getObservers, getTypeName, incrementChildFileVersions, incrementFileVersion, memoizedScopeFiles, nodeProperties, notifyObservers, parentNode, ready, root, storageDir, storageFilepublic static final java.lang.String AMBIGUOUS_TESTS_DIR_WARNING
public static final java.lang.String AMBIGUOUS_TESTS_USING_TESTS_DIR
public static final java.lang.String AMBIGUOUS_TESTS_USING_TESTS_HYPHEN_DIR
public TypedTestPack(org.bladerunnerjs.model.engine.RootNode rootNode,
org.bladerunnerjs.model.engine.Node parent,
MemoizedFile dir,
java.lang.String name)
public static <T extends TypedTestPack> org.bladerunnerjs.model.engine.NodeList<T> createNodeSet(org.bladerunnerjs.model.engine.Node node, java.lang.Class<T> nodeListClass)
public void addTemplateTransformations(java.util.Map<java.lang.String,java.lang.String> transformations)
throws ModelUpdateException
BRJSNodeaddTemplateTransformations in interface BRJSNodetransformations - a Map of Strings to Strings where the key is the token and the value is the String it will be replaced with
* @see Custom TemplatesModelUpdateException - for any exceptions thrown while calculating node template transformationspublic java.lang.String getName()
getName in interface org.bladerunnerjs.model.engine.NamedNodepublic boolean isValidName()
isValidName in interface org.bladerunnerjs.model.engine.NamedNodepublic void assertValidName()
throws javax.naming.InvalidNameException
assertValidName in interface org.bladerunnerjs.model.engine.NamedNodejavax.naming.InvalidNameExceptionpublic java.util.List<TestPack> testTechs()
public TestPack testTech(java.lang.String technologyName)
public TestPack defaultTestTech()