コード例 #1
0
 @Test
 public void testGoodMakefile() {
   MakefileParser parser = new MakefileParser(goodMakefile);
   assertTrue("Good.Makefile says it is not compilable", parser.canCompile());
 }
コード例 #2
0
 @Test
 public void testBadMakefile() {
   MakefileParser parser = new MakefileParser(badMakefile);
   assertFalse("Bad.Makefile says its compileable", parser.canCompile());
 }