use of org.eclipse.vorto.repository.api.ModelId in project vorto by eclipse.
the class ModelRepositoryClientTest method testPublishModel.
@Test
@Ignore
public void testPublishModel() throws Exception {
File uploadableFile = new File("src/test/resources/Color3.type");
ModelId uploadedModelId = publisher.publish(ModelType.Datatype, FileUtils.readFileToString(uploadableFile));
assertEquals(new ModelId("Color", "demo", "1.0.0"), uploadedModelId);
}
Aggregations