Ejemplo n.º 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());
   }
 }
Ejemplo n.º 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());
   }
 }