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.
 
 
 
 
 
 

65 lines
2.0 KiB

/**********************************************************************/
/** Microsoft Windows/NT **/
/** Copyright(c) Microsoft Corp., 1991 **/
/**********************************************************************/
/*
files.ut
Unit test for the Shared Files Subproperty.
This set of Unit Tests cover the major codepaths of the Server
Manager Shared Files Subproperty.
FILE HISTORY:
KeithMo 11-Nov-1991 Created (ChuckC's SEND.UT used as a model).
*/
Test Platforms
--------------
Client workstation running either DOS Windows 3.1 or NT.
Target server running either OS/2 LanMan 2.X or NT.
Test Scenarios
--------------
A. Test Shares/Users Listbox interaction.
1. Step through each item in the Shares Listbox.
2. Verify that each non-empty listbox should always have exactly
one item selected.
3. Verify that the number of users displayed in the Users Listbox
matches the number displayed in the corresponding "Uses" column
in the Shares Listbox.
4. Verify that the "Connected Users" statistic matches the number
of users displayed in the Users Listbox.
5. Verify that the "Disconnect" and "Disconnect All" Buttons are
greyed whenever the Users Listbox is empty.
B. Test the "Disconnect" Button.
1. Select a share that has a "Uses" value > 0.
2. Select one of the connected users.
3. Press the "Disconnect" Button.
4. A warning box will be displayed detailing the user you're
about to zap. Press [OK] to nuke the user.
5. Verify that the user has been deleted from the Users Listbox.
6. Verify that the "Uses" value has been decremented.
C. Test the "Disconnect All" Button.
1. Select a share that has a "Uses" value > 1.
2. Press the "Disconnect All" Button.
3. A warning box will be displayed telling you that all users
will be zapped. Press [OK] to nuke the users.
4. Verify that all users have been deleted from the Users Listbox.
5. Verify that the "Uses" value has been set to zero.
Kernel Hacks
------------