Commit Graph

69 Commits

Author SHA1 Message Date
Saulius Krasuckas 5678f65c07 Prepare for adding new tests.
- Put OleInitialize and OleUninitialize in the main block.
- Move test_BindToObject before test_EnumObjects_and_CompareIDs.
2005-06-30 10:23:14 +00:00
Vitaliy Margolen eed690f973 ILFree is not available on all versions. 2005-06-29 11:00:59 +00:00
Saulius Krasuckas c48c3abd92 Additional test cases for IShellFolder_BindToObject. 2005-06-27 09:41:48 +00:00
Michael Jung bb562118c0 Added tests for ShellFolder's CallForAttributes value. 2005-06-24 11:33:35 +00:00
Saulius Krasuckas 77577822e3 - Move test init code back to START_TEST(shlfolder).
- Move creation and cleanup of a test-folders nearer to
  test_EnumObjects.
2005-06-22 18:04:04 +00:00
Saulius Krasuckas b98a26853c Cleanup the shlfolder test a bit more. 2005-06-21 20:04:17 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Stefan Leichter fcd6764928 Make shell32 tests loadable on NT4. 2005-06-20 10:31:14 +00:00
Mike McCormack 383302c11e Make functions static. 2005-06-20 10:30:15 +00:00
Francois Gouget 6394a15314 Assorted spelling fixes. 2005-06-17 20:59:49 +00:00
Michael Jung e5ef9dd8dc Test GetAttributesOf on the MyComputer shellfolder. 2005-06-16 09:44:50 +00:00
Michael Jung e2dbc8044a Added tests for SHGetPathFromIDList. 2005-06-15 18:07:55 +00:00
Michael Jung 8b4b4b3af2 Replace magic error constant. 2005-06-14 19:18:26 +00:00
Michael Jung bb19a58a93 Return the correct attributes for the desktop folder.
Corresponding tests.
2005-06-14 18:10:24 +00:00
Michael Jung 5664a68033 Added tests to compare SHGetPathFromIDList and GetDisplayNameOf. 2005-06-14 17:21:25 +00:00
Saulius Krasuckas 83ac47e53c Get current directory during tests on win9x too. 2005-06-09 12:05:50 +00:00
Mike McCormack b64186ad22 Warning fixes for -Wmissing-declarations and -Wwrite-strings. 2005-06-07 20:30:30 +00:00
Dmitry Timoshkov eba47f1dfe Make remaining OLE interface vtables const. 2005-06-06 19:50:35 +00:00
Michael Jung 38f2ee9d04 Let BindToObject fail, if called with empty relative pidl.
Tests to show that it should do so.
Fix SHBrowseForFolder to not pass an empty pidl to BindToObject.
2005-06-06 10:04:15 +00:00
Juan Lang 4571d0187f Set default for "My Documents" to $HOME, and "Desktop" to ~/Desktop. 2005-06-02 19:39:24 +00:00
Mike McCormack 4c6149ee0c Eliminate some -Wwrite-strings warnings. 2005-06-01 11:04:26 +00:00
Francois Gouget f5c9da6860 Assorted spelling fixes. 2005-05-06 15:44:31 +00:00
Francois Gouget 3b36eee083 Add trailing '\n's to ok() calls. 2005-04-19 09:48:44 +00:00
Huw Davies 8dabf51d39 Directory items should have the SFGOA_FILESYSANCESTOR attribute.
Add a test for this and cleanup the shlfolder test a bit.
2005-04-11 18:50:01 +00:00
Paul Vriens 0b3b35116a Print retval in decimal to avoid confusion.
NT4 fails with ERROR_INVALID_TARGET_HANDLE instead of
ERROR_REDIR_PAUSED.
Use some correct messages on error.
Extra tracing.
2005-03-25 20:47:50 +00:00
Jakob Eriksson 4fead33f30 If the device gets interrupted, we just give up. 2005-03-22 21:16:24 +00:00
Jakob Eriksson b718b0b019 StrRetToStrNAW returns ok on NT4, though it should return FALSE. 2005-03-22 18:19:13 +00:00
Mike McCormack 64c3208e10 - implement loading and saving of MSI advertised shortcut info
- make more test cases pass
- read and write the location block
- improve the binary compatibility of lnk files
2005-02-25 16:19:57 +00:00
Huw Davies 084e596a95 SetPath("") should return S_OK.
SetPath("nonexistent_path") should return S_FALSE.
2005-02-16 16:27:42 +00:00
Francois Gouget 208df0eb52 Test the interaction between IShellLink::SetIDList() and
IShellLink::SetPath().
Check what default values one gets on a fresh IShellLink object.
Add some more tests verifying nothing is lost in an IShellLink
save/load cycle. Merged the empty shelllink test with these.
2005-02-14 11:52:29 +00:00
Francois Gouget 4d801b66e6 Assorted spelling fixes. 2005-02-10 19:19:35 +00:00
Rein Klazes 3714a39867 Correct cases where arguments of ok() calls depend on the order in
which they are evaluated.
2004-12-27 17:26:37 +00:00
Stefan Leichter 9cc5c15795 Fix missing imports of the test program on NT4. 2004-12-06 11:45:13 +00:00
Rolf Kalbermatter a2ebf8b356 Add test for SHCreateDirectoryEx function.
Fixed some typos.
2004-10-28 20:58:38 +00:00
Juan Lang 217bd082c6 Update shell32's version to WinXP level. 2004-10-26 21:17:50 +00:00
Juan Lang 535679aec7 Fix CSIDL_CONTROLS and CSIDL_PRINTERS PIDL types, and update tests now
that they pass.
2004-10-26 00:17:31 +00:00
Sami Aario c2dcecc362 Check the return value of the SHGetDesktopFolder call. 2004-10-25 21:45:36 +00:00
Francois Gouget a1779c1e33 Fix the function pointer declarations so MSVC likes them.
CSIDL_PROFILES is not defined in the Windows SDK.
snprintf and strcasecmp don't exist on Windows. Replace them with
wnsprintfA and lstrcmpiA respectively.
2004-10-22 20:25:46 +00:00
Mike McCormack 43149f490c Add a test for creating empty shelllink files. 2004-10-22 19:52:33 +00:00
Juan Lang 9cbc42bbae - the correct registry location to override is User Shell Folders, not
Shell Folders
- if User Shell Folders doesn't exist in HKCU, HKLM should be tried
- SHGetSpecialFolderPath should call SHGetFolderPath, not vice-versa
- the default values should be localizable
- some of the parameter checking and returned LPITEMIDLISTs were a bit
  off
2004-10-21 19:59:46 +00:00
Vitaliy Margolen 64c63dd4b8 Sort files/folders before testing. 2004-10-11 19:52:23 +00:00
Francois Gouget 75be67c6c0 Conformance tests must not include wine/debug.h. 2004-10-07 02:59:11 +00:00
Vitaliy Margolen f609b68ea5 IShellFolder::CompareIDs - return only -1/0/1 in lower 16 bit. 2004-09-13 23:25:09 +00:00
Francois Gouget c13638ee85 Fix c_parser.pm so it handles 'const' preceeding a '*'.
Add missing #pragma pack directives for the new shlobj.h types.
Fix some field names in CSFV and QCMINFO.
Update the generated tests to also check shtypes.h and test some more
types.
2004-09-07 22:46:26 +00:00
Francois Gouget 5512ae2685 Disable MSVC warning 4116 to avoid the 'unnamed type definition in
parentheses' warning caused by TYPE_ALIGNMENT().
2004-09-06 20:29:53 +00:00
Francois Gouget 20b8b56d5f Enable the disabled tests in tests.data or add a comment describing
why the type cannot be tested.
Update the generated files, they compile and run successfully both on
Windows (with the Windows headers) and in Wine.
2004-08-25 00:42:50 +00:00
Francois Gouget 310f093ac5 Moved declarations from undocshell.h to shlobj.h to match the latest
platform SDK.
2004-08-22 22:27:31 +00:00
Francois Gouget 09747e50e7 Fix packing bug in shlobj.h.
Fix the declaration of bitfields so their layout matches what MSVC
generates.
Modify winapi_test to compute the bitfields size/alignment like MSVC
does.
Update the impacted generated.c files.
2004-08-20 19:33:17 +00:00
Francois Gouget 68232c6c2f Remove types that don't exist from tests.dat.
Don't test types that have a platform dependent layout.
Don't test Wine-only types.
Helps get the generated tests compiling on Windows.
2004-08-19 20:34:42 +00:00
Francois Gouget 466f5e79a8 Add new fields to the NOTIFYICONDATA structure so it matches the
latest platform SDK.
Update shell32/tests/generated.c. It now works when compiled with the
Windows headers.
2004-08-19 19:16:31 +00:00