# The contents of this file are subject to the terms # of the Common Development and Distribution License # (the License). You may not use this file except in # compliance with the License. # # You can obtain a copy of the License at # https://opensso.dev.java.net/public/CDDLv1.0.html or # opensso/legal/CDDLv1.0.txt # See the License for the specific language governing # permission and limitations under the License. # # When distributing Covered Code, include this CDDL # Header Notice in each file and include the License file # at opensso/legal/CDDLv1.0.txt. # If applicable, add the following below the CDDL Header, # with the fields enclosed by brackets [] replaced by # your own identifying information: # "Portions Copyrighted [year] [name of copyright owner]" # # $Id: DeleteRealmTest.properties,v 1.6 2008/10/03 13:35:36 cmwesley Exp $ # # Copyright 2007 Sun Microsystems Inc. All Rights Reserved # # # Property definitions. # # create-setup-realms - a realm or realms that should be created before the # test is executed. If multiple realms are created the realms should # be separated by a semi-colon (;) and should be in heirarchical order # (i.e. /realm1;/realm1/realm2;/realm1/realm2/realm3) # use-verbose-option - a binary property indicating whether the verbose option # should be used. # use-debug-option - a binary property indicating whether the debug option # should be used. # use-long-options - a binary property indicating whether the long form of # the options (e.g. "--realm") instead of the short form ("-e"). # use-recursive-option - a binary property indicating whether the recursive # option to the delete-realm command should be used. # message-to-find - one or more strings that should be present in the output # (for a test where expected-exit-code equals 0) or the error (for a # test where expected-exit-code does not equal 0). Multiple strings # should be separated by a semi-colon (";") # delete-realm - the realm argument that will be supplied to the delete-realm # command # expected-exit-code - the expected exit status for CLI command being issued. # Successful commands should return "0" and failed commands should # return a non-zero value. # realms-deleted - the realm or realms that should be removed by the # delete-realm command # realms-existing - the realm or realms that should exist after the deletion deleterealm-test1-description=Delete a sub-realm using long options. deleterealm-test1-create-setup-realms=/subrealm deleterealm-test1-use-verbose-option=false deleterealm-test1-use-debug-option=false deleterealm-test1-use-long-options=true deleterealm-test1-use-recursive-option=false deleterealm-test1-message-to-find=Realm was deleted. deleterealm-test1-delete-realm=/subrealm deleterealm-test1-expected-exit-code=0 deleterealm-test1-realms-deleted= deleterealm-test1-realms-existing= deleterealm-test2-description=Delete a sub-realm using the short options. deleterealm-test2-create-setup-realms=/subrealm2 deleterealm-test2-use-verbose-option=false deleterealm-test2-use-debug-option=false deleterealm-test2-use-long-options=false deleterealm-test2-use-recursive-option=false deleterealm-test2-message-to-find=Realm was deleted. deleterealm-test2-delete-realm=/subrealm2 deleterealm-test2-expected-exit-code=0 deleterealm-test2-realms-deleted= deleterealm-test2-realms-existing= deleterealm-test3-description=Delete a sub-realm using the verbose option. deleterealm-test3-create-setup-realms=/subrealm3 deleterealm-test3-use-verbose-option=true deleterealm-test3-use-debug-option=false deleterealm-test3-use-long-options=false deleterealm-test3-use-recursive-option=false deleterealm-test3-message-to-find=Constructing Request Context...;Validating mandatory options...;Processing Sub Command ...;Executing class, com.sun.identity.cli.realm.DeleteRealm.;Authenticating...;Authenticated.;Realm was deleted. deleterealm-test3-delete-realm=/subrealm3 deleterealm-test3-expected-exit-code=0 deleterealm-test3-realms-deleted= deleterealm-test3-realms-existing= deleterealm-test4-description=Delete a sub-realm using the debug option. deleterealm-test4-create-setup-realms=/subrealm4 deleterealm-test4-use-verbose-option=false deleterealm-test4-use-debug-option=true deleterealm-test4-use-long-options=false deleterealm-test4-use-recursive-option=false deleterealm-test4-message-to-find=Realm was deleted. deleterealm-test4-delete-realm=/subrealm4 deleterealm-test4-expected-exit-code=0 deleterealm-test4-realms-deleted= deleterealm-test4-realms-existing= deleterealm-test5-description=Delete a sub-realm using the debug and verbose options. deleterealm-test5-create-setup-realms=/subrealm5 deleterealm-test5-use-verbose-option=true deleterealm-test5-use-debug-option=true deleterealm-test5-use-long-options=false deleterealm-test5-use-recursive-option=false deleterealm-test5-message-to-find=Constructing Request Context...;Validating mandatory options...;Processing Sub Command ...;Executing class, com.sun.identity.cli.realm.DeleteRealm.;Authenticating...;Authenticated.;Realm was deleted. deleterealm-test5-delete-realm=/subrealm5 deleterealm-test5-expected-exit-code=0 deleterealm-test5-realms-deleted= deleterealm-test5-realms-existing= deleterealm-test6-description=Delete a sub-realm using short options and the recursive option. deleterealm-test6-create-setup-realms=/acc;/acc/coastal;/acc/mountain;/acc/coastal/maryland;/acc/mountain/clemson;/acc/coastal/bostoncollege;/acc/mountain/floridast deleterealm-test6-use-verbose-option=false deleterealm-test6-use-debug-option=false deleterealm-test6-use-long-options=false deleterealm-test6-use-recursive-option=true deleterealm-test6-message-to-find=Realm was deleted. deleterealm-test6-delete-realm=/acc/coastal deleterealm-test6-expected-exit-code=0 deleterealm-test6-realms-deleted=/acc/coastal;/acc/coastal/maryland;/acc/coastal/bostoncollege deleterealm-test6-realms-existing=/acc;/acc/mountain;/acc/mountain/clemson;/acc/mountain/floridast deleterealm-test7-description=Delete a sub-realm using long options and the recursive option. deleterealm-test7-create-setup-realms=/usa;/usa/southeast;/usa/southeast/georgia;/usa/southeast/florida;/usa/southeast/southcarolina deleterealm-test7-use-verbose-option=true deleterealm-test7-use-debug-option=false deleterealm-test7-use-long-options=true deleterealm-test7-use-recursive-option=true deleterealm-test7-message-to-find=Realm was deleted. deleterealm-test7-delete-realm=/usa deleterealm-test7-expected-exit-code=0 deleterealm-test7-realms-deleted=/usa;/usa/southeast;/usa/southeast/georgia;/usa/southeast/florida;/usa/southeast/southcarolina deleterealm-test7-realms-existing= deleterealm-test8-description=Attempt to delete a sub-realm which has existing sub-realms beneath it. deleterealm-test8-create-setup-realms=/sec;/sec/east;/sec/west;/sec/east/florida;/sec/east/vanderbilt;/sec/east/tennessee deleterealm-test8-use-verbose-option=false deleterealm-test8-use-debug-option=false deleterealm-test8-use-long-options=true deleterealm-test8-use-recursive-option=false deleterealm-test8-message-to-find=Sub Organization cannot be deleted. Sub entries exist. deleterealm-test8-delete-realm=/sec deleterealm-test8-expected-exit-code=127 deleterealm-test8-realms-deleted= deleterealm-test8-realms-existing=/sec;/sec/east;/sec/west;/sec/east/florida;/sec/east/vanderbilt;/sec/east/tennessee deleterealm-test9-description=Attempt to delete a sub-realm which does not exist. deleterealm-test9-create-setup-realms= deleterealm-test9-use-verbose-option=false deleterealm-test9-use-debug-option=false deleterealm-test9-use-long-options=true deleterealm-test9-use-recursive-option=false deleterealm-test9-message-to-find=Realm does not exist o=doesnotexist,ou=services,SM_SUFFIX deleterealm-test9-delete-realm=/doesnotexist deleterealm-test9-expected-exit-code=127 deleterealm-test9-realms-deleted= deleterealm-test9-realms-existing= deleterealm-test10-description=Attempt to delete a sub-realm without providing a realm value. deleterealm-test10-create-setup-realms= deleterealm-test10-use-verbose-option=false deleterealm-test10-use-debug-option=false deleterealm-test10-use-long-options=true deleterealm-test10-use-recursive-option=false deleterealm-test10-message-to-find=Incorrect option(s), {0}. deleterealm-test10-delete-realm= deleterealm-test10-expected-exit-code=11 deleterealm-test10-realms-deleted= deleterealm-test10-realms-existing=