@Test( groups = {"wso2.greg"}, description = "create role", dependsOnMethods = {"testAddComment"}) public void testCreateRole() throws Exception { Assert.assertTrue(UTFSupport.addRole(userManagementClient, utfString, automationContext)); }
@Test( groups = {"wso2.greg"}, description = "create lifecycle", dependsOnMethods = {"testaddAssociation"}) public void testCreateLifecycle() throws Exception { Assert.assertTrue(UTFSupport.createLifecycle(lifeCycleManagementClient, LC_NAME)); }
@Test( groups = {"wso2.greg"}, description = "add tag", dependsOnMethods = {"testAddSubscription"}) public void testAddTag() throws Exception { Assert.assertTrue( UTFSupport.addTag( infoServiceAdminClient, utfString, pathPrefix + uriPolicyPath, automationContext)); }
@Test( groups = {"wso2.greg"}, description = "add association", dependsOnMethods = {"testAddDependency"}) public void testaddAssociation() throws Exception { Assert.assertTrue( UTFSupport.addAssociation( relationAdminServiceClient, pathPrefix + uriPolicyPath, pathPrefix + uriWsdlPath)); }
@Test( groups = {"wso2.greg"}, description = "add lifecycle", dependsOnMethods = {"testCreateLifecycle"}) public void testAddLifecycle() throws ResourceAdminServiceExceptionException, RegistryException, ListMetadataServiceRegistryExceptionException, CustomLifecyclesChecklistAdminServiceExceptionException, RemoteException { Assert.assertTrue( UTFSupport.addLc( wsRegistryServiceClient, pathPrefix + uriPolicyPath, LC_NAME, lifeCycleAdminServiceClient)); }
@Test( groups = {"wso2.greg"}, description = "read UTF characters from file") public void testreadFile() throws IOException { utfString = UTFSupport.readFile(); }