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

Method testMissingTime

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

Source from the content-addressed store, hash-verified

286 }
287
288 @Test
289 public void testMissingTime() throws ScannerException, ParserException {
290
291 expectedEx.expect(ParserException.class);
292 expectedEx.expectMessage(ParserException.INVALID_TIME_FORMAT);
293
294 List<String> tokens = getTokens("T: D->Pass => DM");
295
296 new Parser(tokens).parse();
297 }
298
299 private List<String> getTokens(String s) throws ScannerException {
300 return new Scanner(s).scan();

Callers

nothing calls this directly

Calls 2

getTokensMethod · 0.95
parseMethod · 0.45

Tested by

no test coverage detected