Commit 68e6d56f authored by Manuel Schrick's avatar Manuel Schrick
Browse files

removed more tests that used normal montiarc models

parent e6051fd8
......@@ -40,30 +40,6 @@ public class TemplateTest {
Assert.assertNotNull("Assert if freemarker configuration is available", cfg);
}
@Test
public void testComponentTemplate() throws IOException {
// setup a component view model
ComponentViewModel viewModel = new ComponentViewModel();
viewModel.x = 0;
viewModel.y = 0;
viewModel.id = 0;
viewModel.height = 100;
viewModel.width = 100;
viewModel.name = "testComponentTemplate";
viewModel.fullname = "Full TestComponentTemplate";
// load expected component from file
String expectedComponent = TestingUtilities.readFile
(expectedFiles + "component.svg");
// Build component using template builder
TemplateBuilder templateBuilder = new TemplateBuilder();
String component = templateBuilder.build("component.ftl", viewModel.hashMap());
// compare results
assertEquals(component, expectedComponent);
}
@Test
public void testPortTemplate() throws IOException {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment