Class EplTests
- java.lang.Object
-
- org.eclipse.epsilon.epl.engine.test.acceptance.EplTests
-
public class EplTests extends Object
-
-
Field Summary
Fields Modifier and Type Field Description org.junit.rules.ErrorCollector
collector
Supplier<? extends IEplModule>
moduleGetter
-
Constructor Summary
Constructors Constructor Description EplTests()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static IModel
getTestModel()
static Path
getTestScript(IEplModule module)
static Iterable<Supplier<? extends IEplModule>>
modules()
void
testCountMatches()
void
testEpl()
void
testInfiniteLoop()
void
testNoMatchesInLastLoop()
void
testOneLoop()
PatternMatchModel
testRepeatWhileMatches(String epl, int maxLoops, int expectedLoops)
PatternMatchModel
testRepeatWhileMatches(String epl, String xml, int maxLoops, int expectedLoops)
void
testTwoMaxLoops()
-
-
-
Field Detail
-
moduleGetter
public Supplier<? extends IEplModule> moduleGetter
-
collector
public org.junit.rules.ErrorCollector collector
-
-
Method Detail
-
modules
public static Iterable<Supplier<? extends IEplModule>> modules()
-
getTestScript
public static Path getTestScript(IEplModule module)
-
testRepeatWhileMatches
public PatternMatchModel testRepeatWhileMatches(String epl, int maxLoops, int expectedLoops) throws Exception
- Throws:
Exception
-
testRepeatWhileMatches
public PatternMatchModel testRepeatWhileMatches(String epl, String xml, int maxLoops, int expectedLoops) throws Exception
- Throws:
Exception
-
-