shell32/tests: Add tests for SHFileOperationA

Zhenbo Li litimetal at gmail.com
Thu Nov 7 18:23:09 CST 2013


2013/11/7 Alexandre Julliard <julliard at winehq.org>:
> It doesn't work:
>
> ../../../tools/runtest -q -P wine -T ../../.. -M shell32.dll -p shell32_test.exe.so shlfileop.c && touch shlfileop.ok
> shlfileop.c:640: Test failed: Expected test1.txt to exist
> make: *** [shlfileop.ok] Error 1
>
> --
> Alexandre Julliard
> julliard at winehq.org

Sorry, I've missed a todo_wine

I have few questions about my patch:
1. Should I call init_shfo_tests() ? Or I just detemine that thest
file should exist from previous code?
2. MSDN says that the pFrom and pTo string should have double zero at
the end. But in the tests, I can only see one zero. Is it right?
3. After my patch, there is
 if (ret != ERROR_FILE_NOT_FOUND)
Would my test affect it?

Thank you.

-- 
Have a nice day!
Zhenbo Li



More information about the wine-devel mailing list