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

Method testInvalidTimeFormat

src/test/java/org/fgn/ParserTest.java:277–286  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

275 }
276
277 @Test
278 public void testInvalidTimeFormat() throws ScannerException, ParserException {
279
280 expectedEx.expect(ParserException.class);
281 expectedEx.expectMessage(ParserException.INVALID_TIME_FORMAT);
282
283 List<String> tokens = getTokens("a:b T: D->Pass => DM");
284
285 new Parser(tokens).parse();
286 }
287
288 @Test
289 public void testMissingTime() throws ScannerException, ParserException {

Callers

nothing calls this directly

Calls 2

getTokensMethod · 0.95
parseMethod · 0.45

Tested by

no test coverage detected