Source code of Windows XP (NT5)
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.

38 lines
929 B

  1. Unit Tests for Sticky User Preferences
  2. --------------------------------------
  3. this set of unit tests cover the main codepaths of
  4. the autologon, autorestore and saveconnections features
  5. of winnet.
  6. chuckc, 3/7/91
  7. test platforms
  8. --------------
  9. win 3.0, win3.1 protect mode only.
  10. user preferences are currently not used in realmode.
  11. test scenarios
  12. --------------
  13. set autologon=YES, nuke restore&save lines in lanman.ini.
  14. logoff & start win
  15. verify we get logon dialog with no prompt.
  16. verify profiles are restored and saved (default==yes).
  17. set save=NO
  18. make connection (file and print)
  19. verify lmuser.ini unchanged
  20. set autologon=NO
  21. exit win, logoff, start win,
  22. verify no prompt.
  23. verify if try connect we do get logon prompt
  24. set autoconnect=NO, save=YES, autologon=YES
  25. make connection
  26. verify lmuiser.ini changed
  27. exit win, logoff, start win
  28. verify get logon prompt
  29. verify on logon we dont restore connections