@Test
  public void pvWaveExample() throws IOException {
    assertEquals(
        Language.IDL_PVWAVE,
        r.resolve(new SourceFile("foo.pro", "pro foo\n\n    print, 'hello world'\nend\n\n")));

    assertEquals(Language.IDL_PVWAVE, r.resolve(new SourceFile("foo.pro", "; comment")));
  }
  @Test
  public void qmakeExample() throws IOException {
    assertEquals(Language.MAKE, r.resolve(new SourceFile("foo.pro", "\tSOURCES += foo\n")));

    assertEquals(Language.MAKE, r.resolve(new SourceFile("foo.pro", "SOURCES+=FOO\n")));

    assertEquals(Language.MAKE, r.resolve(new SourceFile("foo.pro", " \t  CONFIG += foo\n")));

    assertEquals(Language.MAKE, r.resolve(new SourceFile("foo.pro", "CONFIG+=foo\n")));
  }
 @Test
 public void returnsPvWaveByDefaultTest() throws IOException {
   assertEquals(Language.IDL_PVWAVE, r.resolve(new SourceFile("foo.pro", "")));
 }