src/test/java/nl/uva/qcdis/sdia/commons/utils/ToscaHelperTest.java
/**
     * Test of getTopologyDomain method, of class ToscaHelper.
     */
Test of getTopologyDomain method, of class ToscaHelper.
Test of getTopologyDomain method of class ToscaHelper .
@Test
    public void testGetTopologyDomain() throws Exception {
        if (serviceUp) {
            System.out.println("getTopologyDomain");
            instance.uploadToscaTemplate(provisionedToscaTemplate);
            for (NodeTemplateMap nodeTemplateMap : instance.getVMTopologyTemplates()) {
                String result = instance.getTopologyDomain(nodeTemplateMap);
                assertNotNull(result);
            }
        }
    }
@ Test public void testGetTopologyDomain ( ) throws Exception { if ( serviceUp ) { System . out . println ( "getTopologyDomain" ) ; instance . uploadToscaTemplate ( provisionedToscaTemplate ) ; for ( NodeTemplateMap nodeTemplateMap : instance . getVMTopologyTemplates ( ) ) { String result = instance . getTopologyDomain ( nodeTemplateMap ) ; assertNotNull ( result ) ; } } }
Test of getTopologyDomain method, of class ToscaHelper.
Test of getTopologyDomain method of class ToscaHelper .