Exemplo n.º 1
0
 @Test
 public void testGenerate__File_Metadata() {
   try {
     ForgeService service = ForgeFactory.eINSTANCE.createForgeService();
     Metadata metadata = service.createMetadata("cloudsmith/testmodule");
     File installFolder = ForgeTests.getTestOutputFolder("testmodule-install", true);
     installFolder.delete();
     fixture.generate(installFolder, metadata);
   } catch (IOException e) {
     fail(e.getMessage());
   }
 }
Exemplo n.º 2
0
 @Test
 public void testCreateMetadata__String() {
   assertNotNull(fixture.createMetadata("cloudsmith/testmodule"));
 }