Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

125 lines
2.9 KiB

/**********************************************************************/
/** Microsoft Windows NT **/
/** Copyright(c) Microsoft Corp., 1991 **/
/**********************************************************************/
account.ut
Account Information User Properties subdialog unit test
FILE HISTORY:
o-SimoP 22-Nov-1991 Created
NOTE: You Cannot change a user that has any author privileges
(i.e. print, accounts...) to a guest.
You may want to check before test 1. and after each test
user/group situation with LM 2.X net admin program.
1. Select New User... from User pulldown menu and from
User Properties dialog press Account button
Expect:
Account Information dialog will appear
For a new user the default values are:
Privilege Level: User
Account Expires: Never
Paths: No Paths
User CAN change password
Check accelerator keys and TAB order.
Select End of
Expect:
date which is current date + one month
Set logon script and home directory to ** and press OK
Expect:
Error message about path w/ OK button
Click Ok
Expect:
focus is on Logon script and ** is selected
Clear Logon script and press OK
Expect:
Error message about path w/ OK button
Click Ok
Expect:
focus is on Home Directory and ** is selected
Clear Home Dir and press OK.
Expect:
Dialog disappears
2. Select yourself from users listbox and double click it
from User Properties dialog press Account button
Expect:
Account Information dialog will appear filled
according to information in the database.
Change Privilege Level to User, press OK
Expect:
Warning message about admin rights, asking do you
want to continue? w/ Ok and Cancel buttons.
Select Cancel, warning msg disappears.
Select Cancel, dlg disappears.
3. Select two users so that the other has Guest and the other has
User privilege level from users listbox and select Properties...
from User pulldown menu. Press Account button from User
Properties dialog
Expect:
Account Information dialog will appear filled
according to information in the database.
In the case of multiple users a field is filled
iff all users have the same value, otherwise
the field is in undeterminate state.
Note that there isn't any selection in Privilege
Level.
Press Cancel.
4-6. Do the same as in 3. for Account Expires, Paths and User Cannot
Change Password.
Expect:
As in 3. for Account Expires, Paths etc.
Press Cancel.
7. Select a user / users ... Press Account button
Expect:
Account Information dialog will appear filled
according to information in the database.
In the case of multiple users a field is filled
iff all users have the same value, otherwise
the field is in undeterminate state.
Do some changes, press OK.
Expect:
Dialog disappears and changes got written into the database.