com.pdsl.grammars.PdslTestRunResultsMetaParserVisitor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of pdsl Show documentation
Show all versions of pdsl Show documentation
The Polymorphic DSL test framework was designed to solve the challenges with testing large, complex systems. Modern architecture requires software to run as distrubited systems or on multiple platforms. The conventional cost of testing these systems is quite high.
PDSL allows a user to describe the system under test using a DSL of some kind: a picture,
sentences in natural languages, graphs, etc. Using a common DSL allows someone to make deeply scalable tests. A simple change to the DSL could generate dozens of tests providing coverage through many layers of the test pyramid or even multiple applications.
// Generated from com/pdsl/grammars/PdslTestRunResultsMetaParser.g4 by ANTLR 4.9.1
package com.pdsl.grammars;
import org.antlr.v4.runtime.tree.ParseTreeVisitor;
/**
* This interface defines a complete generic visitor for a parse tree produced
* by {@link PdslTestRunResultsMetaParser}.
*
* @param The return type of the visit operation. Use {@link Void} for
* operations with no return type.
*/
public interface PdslTestRunResultsMetaParserVisitor extends ParseTreeVisitor {
/**
* Visit a parse tree produced by {@link PdslTestRunResultsMetaParser#polymorphicDslAllRules}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPolymorphicDslAllRules(PdslTestRunResultsMetaParser.PolymorphicDslAllRulesContext ctx);
/**
* Visit a parse tree produced by {@link PdslTestRunResultsMetaParser#whenTheTestResourceIsProcessedByFactory}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitWhenTheTestResourceIsProcessedByFactory(PdslTestRunResultsMetaParser.WhenTheTestResourceIsProcessedByFactoryContext ctx);
/**
* Visit a parse tree produced by {@link PdslTestRunResultsMetaParser#testSpecificationIsProduced}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitTestSpecificationIsProduced(PdslTestRunResultsMetaParser.TestSpecificationIsProducedContext ctx);
/**
* Visit a parse tree produced by {@link PdslTestRunResultsMetaParser#testSpecificationIsProcessedByTestCaseFactory}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitTestSpecificationIsProcessedByTestCaseFactory(PdslTestRunResultsMetaParser.TestSpecificationIsProcessedByTestCaseFactoryContext ctx);
/**
* Visit a parse tree produced by {@link PdslTestRunResultsMetaParser#polymorphicDslTestExecutor}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitPolymorphicDslTestExecutor(PdslTestRunResultsMetaParser.PolymorphicDslTestExecutorContext ctx);
/**
* Visit a parse tree produced by {@link PdslTestRunResultsMetaParser#testRunResultProduced}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitTestRunResultProduced(PdslTestRunResultsMetaParser.TestRunResultProducedContext ctx);
/**
* Visit a parse tree produced by {@link PdslTestRunResultsMetaParser#whenTheTestCaseIsProcessedByAnyPdslTestExecutor}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitWhenTheTestCaseIsProcessedByAnyPdslTestExecutor(PdslTestRunResultsMetaParser.WhenTheTestCaseIsProcessedByAnyPdslTestExecutorContext ctx);
/**
* Visit a parse tree produced by {@link PdslTestRunResultsMetaParser#thenTheTestRunResultsHaveSpecifiedPassingTests}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitThenTheTestRunResultsHaveSpecifiedPassingTests(PdslTestRunResultsMetaParser.ThenTheTestRunResultsHaveSpecifiedPassingTestsContext ctx);
/**
* Visit a parse tree produced by {@link PdslTestRunResultsMetaParser#thenTheTestRunResultsHaveSpecifiedFailingTests}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitThenTheTestRunResultsHaveSpecifiedFailingTests(PdslTestRunResultsMetaParser.ThenTheTestRunResultsHaveSpecifiedFailingTestsContext ctx);
/**
* Visit a parse tree produced by {@link PdslTestRunResultsMetaParser#docstring}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDocstring(PdslTestRunResultsMetaParser.DocstringContext ctx);
/**
* Visit a parse tree produced by {@link PdslTestRunResultsMetaParser#givenTheTestResource}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitGivenTheTestResource(PdslTestRunResultsMetaParser.GivenTheTestResourceContext ctx);
/**
* Visit a parse tree produced by {@link PdslTestRunResultsMetaParser#givenTheRawResource}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitGivenTheRawResource(PdslTestRunResultsMetaParser.GivenTheRawResourceContext ctx);
/**
* Visit a parse tree produced by {@link PdslTestRunResultsMetaParser#givenAnotherTestResource}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitGivenAnotherTestResource(PdslTestRunResultsMetaParser.GivenAnotherTestResourceContext ctx);
/**
* Visit a parse tree produced by {@link PdslTestRunResultsMetaParser#thenTestCaseCollectionHasSpecifiedTestCases}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitThenTestCaseCollectionHasSpecifiedTestCases(PdslTestRunResultsMetaParser.ThenTestCaseCollectionHasSpecifiedTestCasesContext ctx);
/**
* Visit a parse tree produced by {@link PdslTestRunResultsMetaParser#convertTestResourcesToCollectionWithSingleTestCase}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitConvertTestResourcesToCollectionWithSingleTestCase(PdslTestRunResultsMetaParser.ConvertTestResourcesToCollectionWithSingleTestCaseContext ctx);
/**
* Visit a parse tree produced by {@link PdslTestRunResultsMetaParser#givenTheSpecifiedGrammarParseTreeListener}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitGivenTheSpecifiedGrammarParseTreeListener(PdslTestRunResultsMetaParser.GivenTheSpecifiedGrammarParseTreeListenerContext ctx);
/**
* Visit a parse tree produced by {@link PdslTestRunResultsMetaParser#thenSingleTestCaseIsProduced}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitThenSingleTestCaseIsProduced(PdslTestRunResultsMetaParser.ThenSingleTestCaseIsProducedContext ctx);
/**
* Visit a parse tree produced by {@link PdslTestRunResultsMetaParser#thenTheTestRunResultHasSpecifiedFilteredDuplicateTests}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitThenTheTestRunResultHasSpecifiedFilteredDuplicateTests(PdslTestRunResultsMetaParser.ThenTheTestRunResultHasSpecifiedFilteredDuplicateTestsContext ctx);
/**
* Visit a parse tree produced by {@link PdslTestRunResultsMetaParser#thenTheTestRunResultHasSpecifiedPassingPhrases}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitThenTheTestRunResultHasSpecifiedPassingPhrases(PdslTestRunResultsMetaParser.ThenTheTestRunResultHasSpecifiedPassingPhrasesContext ctx);
/**
* Visit a parse tree produced by {@link PdslTestRunResultsMetaParser#thenTheTestRunResultHasSpecifiedTotalPhrases}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitThenTheTestRunResultHasSpecifiedTotalPhrases(PdslTestRunResultsMetaParser.ThenTheTestRunResultHasSpecifiedTotalPhrasesContext ctx);
/**
* Visit a parse tree produced by {@link PdslTestRunResultsMetaParser#whenTheTestMetadataIsRetrievedFromTheTestRunResult}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitWhenTheTestMetadataIsRetrievedFromTheTestRunResult(PdslTestRunResultsMetaParser.WhenTheTestMetadataIsRetrievedFromTheTestRunResultContext ctx);
/**
* Visit a parse tree produced by {@link PdslTestRunResultsMetaParser#whenTheOnlyTestMetadataItemIsExamined}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitWhenTheOnlyTestMetadataItemIsExamined(PdslTestRunResultsMetaParser.WhenTheOnlyTestMetadataItemIsExaminedContext ctx);
/**
* Visit a parse tree produced by {@link PdslTestRunResultsMetaParser#thenTheTestMetadataHasAnExceptionExplainingWhyTheTestFailed}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitThenTheTestMetadataHasAnExceptionExplainingWhyTheTestFailed(PdslTestRunResultsMetaParser.ThenTheTestMetadataHasAnExceptionExplainingWhyTheTestFailedContext ctx);
/**
* Visit a parse tree produced by {@link PdslTestRunResultsMetaParser#thenTheTestMetadataHasThePhraseThatFailed}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitThenTheTestMetadataHasThePhraseThatFailed(PdslTestRunResultsMetaParser.ThenTheTestMetadataHasThePhraseThatFailedContext ctx);
/**
* Visit a parse tree produced by {@link PdslTestRunResultsMetaParser#thenTheTestMetadataFailingPhraseIsSpecifiedText}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitThenTheTestMetadataFailingPhraseIsSpecifiedText(PdslTestRunResultsMetaParser.ThenTheTestMetadataFailingPhraseIsSpecifiedTextContext ctx);
/**
* Visit a parse tree produced by {@link PdslTestRunResultsMetaParser#thenTheTestMetadataHasOneItemInIt}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitThenTheTestMetadataHasOneItemInIt(PdslTestRunResultsMetaParser.ThenTheTestMetadataHasOneItemInItContext ctx);
}