Package h07
Class TemplateTests.PathTemplateTest
- java.lang.Object
-
- h07.util.TestClass
-
- h07.TemplateTests.PathTemplateTest
-
- Enclosing class:
- TemplateTests
@Nested public class TemplateTests.PathTemplateTest extends TestClass
Tests for interfacePath
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class h07.util.TestClass
TestClass.MissingMemberException
-
-
Field Summary
Fields Modifier and Type Field Description Method
concat
Method
object forPath.concat(V, A)
Method
iterator
Method
object forPath.iterator()
Method
of1
Method
object forPath.of(V)
Method
of2
Method
object forPath.of(V, A, V)
Method
of3
Method
object forPath.of(V, A, V, A, V)
Method
traverser
Method
object forPath.traverser()
-
Fields inherited from class h07.util.TestClass
classDescriptor, className, constructor, fields, methods, RANDOM
-
-
Constructor Summary
Constructors Constructor Description PathTemplateTest()
Creates a newTemplateTests.PathTemplateTest
object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testDefinition()
Tests the definition ofPath
.-
Methods inherited from class h07.util.TestClass
getClassForName, getFieldByCriteria, getFieldByName, getMethodByCriteria, getMethodByName, getMethodSignature, invokeExpectingException, newInstance, newInstanceExpectingException, testInstance
-
-
-
-
Field Detail
-
traverser
public final Method traverser
Method
object forPath.traverser()
-
concat
public final Method concat
Method
object forPath.concat(V, A)
-
iterator
public final Method iterator
Method
object forPath.iterator()
-
of1
public final Method of1
Method
object forPath.of(V)
-
of2
public final Method of2
Method
object forPath.of(V, A, V)
-
of3
public final Method of3
Method
object forPath.of(V, A, V, A, V)
-
-
Constructor Detail
-
PathTemplateTest
public PathTemplateTest()
Creates a newTemplateTests.PathTemplateTest
object. Requires thatPath
exists.
-
-
Method Detail
-
testDefinition
@Test public void testDefinition()
Tests the definition ofPath
.- Asserts that the interface...
- is public
- is generic and has two type parameters, V and A
- extends
Iterable
- Asserts that the methods are all public and abstract and have the correct return type
- Specified by:
testDefinition
in classTestClass
- Asserts that the interface...
-
-