コード例 #1
0
 @Test(
     groups = {"wso2.greg"},
     description = "create role",
     dependsOnMethods = {"testAddComment"})
 public void testCreateRole() throws Exception {
   Assert.assertTrue(UTFSupport.addRole(userManagementClient, utfString, automationContext));
 }
コード例 #2
0
 @Test(
     groups = {"wso2.greg"},
     description = "create lifecycle",
     dependsOnMethods = {"testaddAssociation"})
 public void testCreateLifecycle() throws Exception {
   Assert.assertTrue(UTFSupport.createLifecycle(lifeCycleManagementClient, LC_NAME));
 }
コード例 #3
0
 @Test(
     groups = {"wso2.greg"},
     description = "add tag",
     dependsOnMethods = {"testAddSubscription"})
 public void testAddTag() throws Exception {
   Assert.assertTrue(
       UTFSupport.addTag(
           infoServiceAdminClient, utfString, pathPrefix + uriPolicyPath, automationContext));
 }
コード例 #4
0
 @Test(
     groups = {"wso2.greg"},
     description = "add association",
     dependsOnMethods = {"testAddDependency"})
 public void testaddAssociation() throws Exception {
   Assert.assertTrue(
       UTFSupport.addAssociation(
           relationAdminServiceClient, pathPrefix + uriPolicyPath, pathPrefix + uriWsdlPath));
 }
コード例 #5
0
 @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));
 }
コード例 #6
0
 @Test(
     groups = {"wso2.greg"},
     description = "read UTF characters from file")
 public void testreadFile() throws IOException {
   utfString = UTFSupport.readFile();
 }