# 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: IDMAddMembersTest.properties,v 1.2 2008/08/19 21:24:21 rmisra Exp $
#
# Copyright 2007 Sun Microsystems Inc. All Rights Reserved
#
#
# Property definitions.
# Format :
# Parameter used by all tests has this format i.e. description, realm, count, etc.
# <test_name><test_number>.<parameter>=<value>
# The rest has this format
# <test_name><test_number>.<parameter><test_index>=<value>
# count         : Number of index or item in a test case
# description   : Test case description
# realm         : Realm name
# action        : A action or operation to be performed.  Available actions
#                 are: create, delete,update, search, addmember, removemember
# name          : Identity name
# type          : Identity type - user, role, filtered role, agent,
#                 and group
# attributes    : Identity attributes to be created or updated.  If
#                 not defined, it will use default value to create an
#                 identity.  Attribute can be concatenated with character ";" string
#		  i.e. password=testpassword;inetuserstatus=active
# member_name   : Member name to be added to an identity
# epxected_error_code   : Expected error code
# expected_error_message: Expected error message
#

IDMAddMembersTest1.count=5
IDMAddMembersTest1.description=Add an user member to a role identity
IDMAddMembersTest1.realm=/testidmrealm
IDMAddMembersTest1.action.0=create
IDMAddMembersTest1.name.0=testmemberuser1
IDMAddMembersTest1.type.0=user
IDMAddMembersTest1.action.1=create
IDMAddMembersTest1.name.1=testmemberrole1
IDMAddMembersTest1.type.1=role
IDMAddMembersTest1.action.2=addmember
IDMAddMembersTest1.name.2=testmemberrole1
IDMAddMembersTest1.type.2=role
IDMAddMembersTest1.member_name.2=testmemberuser1
IDMAddMembersTest1.action.3=delete
IDMAddMembersTest1.name.3=testmemberuser1
IDMAddMembersTest1.type.3=user
IDMAddMembersTest1.action.4=delete
IDMAddMembersTest1.name.4=testmemberrole1
IDMAddMembersTest1.type.4=role

IDMAddMembersTest2.count=5
IDMAddMembersTest2.description=Add an user member to a group identity
IDMAddMembersTest2.realm=/testidmrealm
IDMAddMembersTest2.action.0=create
IDMAddMembersTest2.name.0=testmemberuser2
IDMAddMembersTest2.type.0=user
IDMAddMembersTest2.action.1=create
IDMAddMembersTest2.name.1=testmembergroup2
IDMAddMembersTest2.type.1=group
IDMAddMembersTest2.action.2=addmember
IDMAddMembersTest2.name.2=testmembergroup2
IDMAddMembersTest2.type.2=group
IDMAddMembersTest2.member_name.2=testmemberuser2
IDMAddMembersTest2.action.3=delete
IDMAddMembersTest2.name.3=testmemberuser2
IDMAddMembersTest2.type.3=user
IDMAddMembersTest2.action.4=delete
IDMAddMembersTest2.name.4=testmembergroup2
IDMAddMembersTest2.type.4=group

IDMAddMembersTest3.count=5
IDMAddMembersTest3.description=Add a user member to a role identity that already exists
IDMAddMembersTest3.realm=/testidmrealm
IDMAddMembersTest3.action.0=create
IDMAddMembersTest3.name.0=testmemberuser3
IDMAddMembersTest3.type.0=user
IDMAddMembersTest3.action.1=create
IDMAddMembersTest3.name.1=testmemberrole3
IDMAddMembersTest3.type.1=role
IDMAddMembersTest3.action.2=addmember
IDMAddMembersTest3.name.2=testmemberrole3
IDMAddMembersTest3.type.2=role
IDMAddMembersTest3.member_name.2=testmemberuser3
IDMAddMembersTest3.action.3=addmember
IDMAddMembersTest3.name.3=testmemberrole3
IDMAddMembersTest3.type.3=role
IDMAddMembersTest3.member_name.3=testmemberuser3
IDMAddMembersTest3.expected_error_code.3=311
IDMAddMembersTest3.expected_error_message.3=The value that you are adding to an attribute already exists in the attribute
IDMAddMembersTest3.action.4=delete
IDMAddMembersTest3.name.4=testmemberuser3
IDMAddMembersTest3.type.4=user
IDMAddMembersTest3.action.5=delete
IDMAddMembersTest3.name.5=testmemberrole3
IDMAddMembersTest3.type.5=role

IDMAddMembersTest4.count=5
IDMAddMembersTest4.description=Add a user member to a group identity that already exists
IDMAddMembersTest4.realm=/testidmrealm
IDMAddMembersTest4.action.0=create
IDMAddMembersTest4.name.0=testmemberuser4
IDMAddMembersTest4.type.0=user
IDMAddMembersTest4.action.1=create
IDMAddMembersTest4.name.1=testmembergroup4
IDMAddMembersTest4.type.1=group
IDMAddMembersTest4.action.2=addmember
IDMAddMembersTest4.name.2=testmembergroup4
IDMAddMembersTest4.type.2=group
IDMAddMembersTest4.member_name.2=testmemberuser4
IDMAddMembersTest4.action.3=addmember
IDMAddMembersTest4.name.3=testmembergroup4
IDMAddMembersTest4.type.3=group
IDMAddMembersTest4.member_name.3=testmemberuser4
IDMAddMembersTest4.expected_error_code.3=311
IDMAddMembersTest4.expected_error_message.3=The value that you are adding to an attribute already exists in the attribute
IDMAddMembersTest4.action.4=delete
IDMAddMembersTest4.name.4=testmemberuser4
IDMAddMembersTest4.type.4=user
IDMAddMembersTest4.action.5=delete
IDMAddMembersTest4.name.5=testmembergroup4
IDMAddMembersTest4.type.5=group

IDMAddMembersTest5.count=3
IDMAddMembersTest5.description=Add a non existing user member to a role identity
IDMAddMembersTest5.realm=/testidmrealm
IDMAddMembersTest5.action.0=create
IDMAddMembersTest5.name.0=testmemberrole5
IDMAddMembersTest5.type.0=role
IDMAddMembersTest5.action.1=addmember
IDMAddMembersTest5.name.1=testmemberrole5
IDMAddMembersTest5.type.1=role
IDMAddMembersTest5.member_name.1=nonexistingmember5
IDMAddMembersTest5.expected_error_code.1=223
IDMAddMembersTest5.expected_error_message.1=not found
IDMAddMembersTest5.action.2=delete
IDMAddMembersTest5.name.2=testmemberrole5
IDMAddMembersTest5.type.2=role

IDMAddMembersTest6.count=3
IDMAddMembersTest6.description=Add a non existing user member to a group identity
IDMAddMembersTest6.realm=/testidmrealm
IDMAddMembersTest6.action.0=create
IDMAddMembersTest6.name.0=testmembergroup6
IDMAddMembersTest6.type.0=group
IDMAddMembersTest6.action.1=addmember
IDMAddMembersTest6.name.1=testmembergroup6
IDMAddMembersTest6.type.1=role
IDMAddMembersTest6.member_name.1=nonexistingmember6
IDMAddMembersTest6.expected_error_code.1=223
IDMAddMembersTest6.expected_error_message.1=not found
IDMAddMembersTest6.action.2=delete
IDMAddMembersTest6.name.2=testmembergroup6
IDMAddMembersTest6.type.2=group

