Class AbstractUnitTestCase

java.lang.Object
ai.stapi.test.base.AbstractUnitTestCase
All Implemented Interfaces:
FixtureFileLoadableTestTrait
Direct Known Subclasses:
SpringBootTestCase, UnitTestCase

public abstract class AbstractUnitTestCase extends Object implements FixtureFileLoadableTestTrait
  • Field Details

    • idLessTextNodeRenderer

      protected ai.stapi.graph.renderer.infrastructure.idLessTextRenderer.node.IdLessTextNodeRenderer idLessTextNodeRenderer
    • textNodeRenderer

      protected ai.stapi.graph.renderer.infrastructure.textRenderer.node.TextNodeRenderer textNodeRenderer
    • idLessTextEdgeRenderer

      protected ai.stapi.graph.renderer.infrastructure.idLessTextRenderer.edge.IdLessTextEdgeRenderer idLessTextEdgeRenderer
    • idLessTextGraphRenderer

      protected ai.stapi.graph.renderer.infrastructure.idLessTextRenderer.IdLessTextGraphRenderer idLessTextGraphRenderer
    • textEdgeRenderer

      protected ai.stapi.graph.renderer.infrastructure.textRenderer.edge.TextEdgeRenderer textEdgeRenderer
    • graphRenderer

      protected ai.stapi.graph.renderer.infrastructure.idLessTextRenderer.IdLessTextGraphRenderer graphRenderer
    • objectToJsonStringRenderer

      protected ai.stapi.objectRenderer.infrastructure.objectToJsonStringRenderer.ObjectToJsonStringRenderer objectToJsonStringRenderer
  • Constructor Details

    • AbstractUnitTestCase

      public AbstractUnitTestCase()
  • Method Details

    • thenGraphApproved

      protected void thenGraphApproved(ai.stapi.graph.Graph actualGraph)
    • thenGraphApproved

      protected void thenGraphApproved(ai.stapi.graph.inMemoryGraph.InMemoryGraphRepository actualGraph)
    • thenGraphApproved

      protected void thenGraphApproved(ai.stapi.graph.Graph actualGraph, org.approvaltests.core.Options options)
    • thenGraphApproved

      protected void thenGraphApproved(ai.stapi.graph.inMemoryGraph.InMemoryGraphRepository actualGraph, org.approvaltests.core.Options options)
    • thenNodeApproved

      protected void thenNodeApproved(ai.stapi.graph.traversableGraphElements.TraversableNode node)
    • thenNodesApproved

      protected void thenNodesApproved(List<ai.stapi.graph.traversableGraphElements.TraversableNode> nodes)
    • thenUnsortedNodesApproved

      protected void thenUnsortedNodesApproved(List<ai.stapi.graph.traversableGraphElements.TraversableNode> nodes)
    • thenGraphElementApproved

      protected void thenGraphElementApproved(ai.stapi.graph.traversableGraphElements.TraversableGraphElement graphElement)
    • thenGraphElementsApproved

      protected void thenGraphElementsApproved(List<ai.stapi.graph.traversableGraphElements.TraversableGraphElement> graphElements)
    • thenUnsortedGraphElementsApproved

      protected void thenUnsortedGraphElementsApproved(List<ai.stapi.graph.traversableGraphElements.TraversableGraphElement> graphElements)
    • thenEdgeApproved

      protected void thenEdgeApproved(ai.stapi.graph.traversableGraphElements.TraversableEdge edge)
    • thenEdgesApproved

      protected void thenEdgesApproved(List<ai.stapi.graph.traversableGraphElements.TraversableEdge> edges)
    • thenUnsortedEdgesApproved

      protected void thenUnsortedEdgesApproved(List<ai.stapi.graph.traversableGraphElements.TraversableEdge> edges)
    • thenIdLessGraphsAreEqual

      protected void thenIdLessGraphsAreEqual(ai.stapi.graph.Graph expected, ai.stapi.graph.Graph actual)
    • thenIdLessGraphsAreEqual

      protected void thenIdLessGraphsAreEqual(ai.stapi.graph.inMemoryGraph.InMemoryGraphRepository expected, ai.stapi.graph.inMemoryGraph.InMemoryGraphRepository actual)
    • thenNodesAreSame

      protected void thenNodesAreSame(ai.stapi.graph.graphelements.Node expectedNode, ai.stapi.graph.traversableGraphElements.TraversableNode actualNode)
    • thenEdgesAreSame

      protected void thenEdgesAreSame(ai.stapi.graph.graphelements.Edge expectedEdge, ai.stapi.graph.traversableGraphElements.TraversableEdge actualEdge)
    • thenGraphsAreSame

      protected void thenGraphsAreSame(ai.stapi.graph.Graph expectedGraph, ai.stapi.graph.Graph actualGraph)
    • thenGraphsAreSame

      protected void thenGraphsAreSame(ai.stapi.graph.inMemoryGraph.InMemoryGraphRepository expectedGraph, ai.stapi.graph.inMemoryGraph.InMemoryGraphRepository actualGraph)
    • thenEdgesHaveSameIdAndTypeAndNodeIds

      protected void thenEdgesHaveSameIdAndTypeAndNodeIds(ai.stapi.graph.graphelements.Edge expectedEdge, ai.stapi.graph.traversableGraphElements.TraversableEdge actualEdge)
    • thenObjectApproved

      protected void thenObjectApproved(Object obj)
    • thenObjectApproved

      protected void thenObjectApproved(Object obj, ai.stapi.objectRenderer.infrastructure.objectToJsonStringRenderer.ObjectToJSonStringOptions.RenderFeature... features)
    • thenObjectApproved

      protected void thenObjectApproved(Object obj, List<ai.stapi.objectRenderer.infrastructure.objectToJsonStringRenderer.ObjectToJSonStringOptions.RenderFeature> features)
    • thenObjectApprovedWithoutSorting

      protected void thenObjectApprovedWithoutSorting(Object obj)
    • thenObjectApprovedWithShownIds

      protected void thenObjectApprovedWithShownIds(Object obj)
    • thenObjectApproved

      protected void thenObjectApproved(Object obj, ai.stapi.objectRenderer.infrastructure.objectToJsonStringRenderer.ObjectToJSonStringOptions options)
    • thenStringApproved

      protected void thenStringApproved(String actual)
    • thenObjectsEquals

      protected void thenObjectsEquals(Object expected, Object actual, ai.stapi.objectRenderer.infrastructure.objectToJsonStringRenderer.ObjectToJSonStringOptions options)
    • thenObjectsEquals

      protected void thenObjectsEquals(Object expected, Object actual)
    • thenExceptionMessageApprovedWithHiddenUuids

      protected <T extends Throwable> T thenExceptionMessageApprovedWithHiddenUuids(Class<T> exception, org.junit.jupiter.api.function.Executable throwable)
    • thenExceptionMessageApproved

      protected <T extends Throwable> T thenExceptionMessageApproved(Class<T> exception, org.junit.jupiter.api.function.Executable throwable)
    • getRenderOptions

      protected ai.stapi.graph.renderer.infrastructure.idLessTextRenderer.IdLessTextRendererOptions getRenderOptions()