Пример #1
0
 @Test
 public void testLoadModule__File() {
   try {
     Metadata md = fixture.loadModule(Activator.getTestData("puppetlabs-apache"));
     assertEquals("Unexpected module name", "puppetlabs-apache", md.getFullName());
   } catch (IOException e) {
     fail(e.getMessage());
   }
 }
Пример #2
0
 @Test
 public void testLoadModule__File2() {
   try {
     Metadata md = fixture.loadModule(Activator.getTestData("DavidSchmitt-collectd"));
     assertEquals("Unexpected module name", "DavidSchmitt-collectd", md.getFullName());
   } catch (IOException e) {
     fail(e.getMessage());
   }
 }