I'm working on a set of unit tests designed to stress test some
file handling capabilities of our application.

Listed below are some file names designed to cause failures when
used with file open, copy, delete, and rename activites.

Can anyone think of additional scenarios (path names
or unusual file access) that we could test against? My tests will
initially be for the Windows platform (2000-Windows 7), but I
would welcome Linux and/or Mac specific failure conditions as
well.

UNITTEST_DRIVE_NOT_READY = 'a:'
UNITTEST_DRIVE_READ_ONLY = 'g:'  # CD drive with CD
UNITTEST_UNC_NOT_EXIST   = '\\unc_not_exist'
UNITTEST_FILE_BAD_CHARS  = 'path_bad_chars_*<>|'
UNITTEST_FILE_NO_WRITE   = 'c:\program files'
UNITTEST_FILE_NOT_EXIST  = '\path_not_exist'
UNITTEST_FILE_LOCKED     = 'file_locked.tmp' # will be open
unittest_file_locked     = fopen( UNITTEST_FILE_LOCKED, 1 )
UNITTEST_UNICODE_PATH    = 'unicode_chars_here'

Thank you,
Malcolm

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to