MCPcopy Create free account
hub / github.com/atas76/openengine / testRunAction

Method testRunAction

src/test/java/org/ttn/ActionTypesTest.java:51–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49 }
50
51 @Test
52 public void testRunAction() throws ScannerException, ParserException {
53 List<String> tokens = getTokens("18:29 DMw:Fr->Run => Aw");
54
55 Statement statement = ParserUtil.parseStatement(tokens);
56
57 assertEquals(ActionType.Run, statement.getAction().getType());
58 }
59
60 @Test
61 public void testOneTwoPassAction() throws ScannerException, ParserException {

Callers

nothing calls this directly

Calls 4

parseStatementMethod · 0.95
getActionMethod · 0.95
getTokensMethod · 0.45
getTypeMethod · 0.45

Tested by

no test coverage detected