Package h07
Class TemplateTests.DirectedGraphFactoryTemplateTest
- java.lang.Object
-
- h07.util.TestClass
-
- h07.TemplateTests.DirectedGraphFactoryTemplateTest
-
- Enclosing class:
- TemplateTests
@Nested public class TemplateTests.DirectedGraphFactoryTemplateTest extends TestClass
Tests for interfaceDirectedGraphFactory
.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class h07.util.TestClass
TestClass.MissingMemberException
-
-
Field Summary
Fields Modifier and Type Field Description Method
createDirectedGraph
Method
object forDirectedGraphFactory.createDirectedGraph()
-
Fields inherited from class h07.util.TestClass
classDescriptor, className, constructor, fields, methods, RANDOM
-
-
Constructor Summary
Constructors Constructor Description DirectedGraphFactoryTemplateTest()
Creates a newTemplateTests.DirectedGraphFactoryTemplateTest
object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testDefinition()
Tests the definition ofDirectedGraphFactory
.-
Methods inherited from class h07.util.TestClass
getClassForName, getFieldByCriteria, getFieldByName, getMethodByCriteria, getMethodByName, getMethodSignature, invokeExpectingException, newInstance, newInstanceExpectingException, testInstance
-
-
-
-
Field Detail
-
createDirectedGraph
public final Method createDirectedGraph
Method
object forDirectedGraphFactory.createDirectedGraph()
-
-
Constructor Detail
-
DirectedGraphFactoryTemplateTest
public DirectedGraphFactoryTemplateTest()
Creates a newTemplateTests.DirectedGraphFactoryTemplateTest
object. Requires thatDirectedGraphFactory
exists.
-
-
Method Detail
-
testDefinition
@Test public void testDefinition()
Tests the definition ofDirectedGraphFactory
.- Asserts that the interface...
- is public
- is generic and has two type parameters, V and A
- Asserts that
zero()
is public and abstract and has return typeDirectedGraph<V, A>
- Specified by:
testDefinition
in classTestClass
- Asserts that the interface...
-
-