@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()); } }
@Test public void testCreateMetadata__String() { assertNotNull(fixture.createMetadata("cloudsmith/testmodule")); }