Package org.concordion
Class Concordion
java.lang.Object
org.concordion.Concordion
-
Constructor Summary
ConstructorDescriptionConcordion
(List<SpecificationType> specificationTypes, SpecificationLocator specificationLocator, SpecificationReader specificationReader, EvaluatorFactory evaluatorFactory, FixtureDeclarations fixtureDeclarations) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionvoid
checkValidStatus
(FixtureDeclarations fixtureDeclarations) void
finish()
getExampleNames
(FixtureDeclarations fixtureDeclarations) boolean
void
For TestRig use onlyprocessExample
(Fixture fixture, String example)
-
Constructor Details
-
Concordion
public Concordion(List<SpecificationType> specificationTypes, SpecificationLocator specificationLocator, SpecificationReader specificationReader, EvaluatorFactory evaluatorFactory, FixtureDeclarations fixtureDeclarations) throws IOException Constructor. Locates the specification with a type from thespecificationTypes
list. Errors if unable to find exactly one specification of all the specified types.- Parameters:
specificationTypes
- a list of types that this Concordion instance will check for (eg. html, md), with a converter for each typespecificationLocator
- locates the specification based on the specification typespecificationReader
- specification readerevaluatorFactory
- evaluator factoryfixtureDeclarations
- a wrapper around the fixture class- Throws:
IOException
- on i/o error
-
-
Method Details
-
override
For TestRig use only- Parameters:
resource
- test resource to override the specification resource with- Throws:
IOException
- on i/o error
-
process
- Throws:
IOException
-
getExampleNames
- Throws:
IOException
-
hasExampleCommands
- Throws:
IOException
-
processExample
- Throws:
IOException
-
finish
public void finish() -
checkValidStatus
- Throws:
IOException
-
getSpecificationDescription
-