Commit Graph

131 Commits (8db8c94155557b07e8bcc54ab0cda2bed34ba28f)

Author SHA1 Message Date
Michael Stefaniuc 9f3a187f9c msvcp120/tests: Avoid using the comma operator.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-27 16:29:25 +01:00
Gijs Vermeulen e978b3aa84 msvcp: Return ERROR_INVALID_PARAMETER on NULL input in _Copy_file.
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-28 18:35:45 +01:00
Gijs Vermeulen b51cee00a7 msvcp: Set target to null on error in _Open_dir.
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-25 23:09:07 +01:00
Gijs Vermeulen 64aba27f6a msvcp: Set correct error code on non-existing path in _Open_dir.
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-01-25 23:09:07 +01:00
Piotr Caban e6ec3cbd62 msvcp90: Add time_get<wchar> implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-23 20:17:44 +01:00
Piotr Caban d7a43259b1 msvcp110: Export time_get functions on arm.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-20 19:46:20 +01:00
Piotr Caban 2dfbfbd4cf msvcp100: Add time_get<char>do_get implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-20 19:46:11 +01:00
Gijs Vermeulen 82ba4373ae msvcp100: Add Concurrency::_GetCombinableSize stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=41419
Signed-off-by: Gijs Vermeulen <gijsvrm@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-01 21:50:58 +01:00
Dmitry Timoshkov 7edfcd63ad kernel32: MoveFile(source, source) should succeed.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-15 20:13:50 +02:00
Hua Meng 27365695ed msvcp120: Add tests for _Concurrent_vector_Internal_compact.
Signed-off-by: Hua Meng <161220092@smail.nju.edu.cn>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 20:55:10 +02:00
Piotr Caban e547d87afa msvcp90: Add time_get<char>::_Getint implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 20:55:09 +02:00
Stefan Dösinger 5a4112c73a msvcp140/tests: Test _Last_write_time and _Set_last_write_time.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 20:55:09 +02:00
Piotr Caban efb6b3734a msvcp110: Add _Last_write_time(wchar_t) implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-15 20:55:09 +02:00
Hua Meng 91f202e04b msvcp120: Add tests for _Concurrent_vector->segment.
Signed-off-by: Hua Meng <161220092@smail.nju.edu.cn>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 12:21:47 +02:00
Stefan Dösinger 84b2d69a76 msvcp120: Tr2::_Rename_wchar NULL ptr handling differs from tr2::_Rename.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-20 18:36:56 +02:00
Piotr Caban c92b71f6e8 msvcp110: Add _Syserror_map implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-16 21:28:45 +02:00
Piotr Caban c9f174f0ca msvcp120: Test values returned by _Concurrent_vector_base_v4::_Internal_clear.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-11 18:19:45 +02:00
Piotr Caban c217dd36cb msvcp120: Fix concurrent_vector_int_dtor helper.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-07-11 18:19:42 +02:00
Hua Meng 8f4fb12dc5 msvcp120: Add test for Concurrent_vector_Internal_resize and reverse.
Signed-off-by: Hua Meng <161220092@smail.nju.edu.cn>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-27 10:55:19 +02:00
Hua Meng 1367904871 msvcp120: Add test for Concurrent_vector_grow_to_at_least_with_result.
Signed-off-by: Hua Meng <161220092@smail.nju.edu.cn>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-26 13:29:10 +02:00
Hua Meng 6ea1c9da63 msvcp120: Add test for Concurrent_vector_grow_by.
Signed-off-by: Hua Meng <161220092@smail.nju.edu.cn>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-26 13:29:10 +02:00
Hua Meng 43d9e3f616 msvcp120: Add test for Concurrent_vector_Internal_compact.
Signed-off-by: Hua meng <161220092@smail.nju.edu.cn>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-22 12:46:00 +02:00
Hua Meng 364496714d msvcp120/tests: Add test for Concurrent_vector_swap.
Signed-off-by: Hua Meng <161220092@smail.nju.edu.cn>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-19 20:47:45 +02:00
Hua Meng d8f6a1c0d7 msvcp120: Add test for Concurrent_vector_assign.
Signed-off-by: Hua Meng <161220092@smail.nju.edu.cn>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-19 20:47:14 +02:00
Hua Meng b6c7b2d322 msvcp120: Add test for Concurrent_vector_copy.
Signed-off-by: Hua Meng <161220092@smail.nju.edu.cn>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-15 22:22:27 +02:00
Piotr Caban 0abe7b4e54 msvcp120: Add alloc/free count validation tests in _Concurrent_vector_base_v4.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-14 17:10:54 +02:00
Piotr Caban 905aa3cb0d msvcp120: Fix function passed to _Concurrent_vector_base_v4::_Internal_clear.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-14 17:10:54 +02:00
Michael Stefaniuc b2a3875849 msvcp120/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-11 15:09:39 +02:00
Hua Meng bfb37b2a4c msvcp120: Add tests for concurrent_vector_Internal_push_back and capacity.
Signed-off-by: Hua Meng <161220092@smail.nju.edu.cn>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-05 18:17:57 +02:00
Piotr Caban 0963a8693e msvcp120: Fix _Getcvt tests when zh_CN system locale is used.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-05 18:17:43 +02:00
Hua Meng 7cba9cfe41 msvcp: Add a stub of _Concurrent_vector_base_v4.
Signed-off-by: Hua Meng <161220092@smail.nju.edu.cn>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-09 19:47:28 +02:00
Piotr Caban 661791cb7e msvcp100: Add _Runtime_object class implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-08 14:50:10 -06:00
Francois Gouget 8ce7f782cc msvcp120/tests: A spelling fix in a comment.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-07 19:38:29 +01:00
Piotr Caban 2149f472ea msvcp120: Add _Concurrent_queue_base_v4 multi-threaded tests.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 18:29:07 +01:00
Piotr Caban 33ba5e296b msvcp120: Add _Concurrent_queue_base_v4 tests.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 18:29:06 +01:00
Piotr Caban 9799de8d2d msvcp100: Add Concurrency::details::_Concurrent_queue_base_v4 class stub.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-23 18:28:52 +01:00
Piotr Caban 87c3421ddb msvcp: Disable relay for _Thrd_current function.
Spotted by Stefan.

Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-07 19:15:09 +01:00
Stefan Dösinger 25e20ac8eb msvcp: Use int64 for byval _Thrd_t parameters.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-12-06 17:01:17 +01:00
Vijay Kiran Kamuju f94f169518 msvcp100: Add time_get::get function with format parameters.
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-08 20:20:59 +01:00
Vijay Kiran Kamuju f6f0be8f2d msvcp100: Add time_get::do_get and time_get::get functions.
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-24 19:09:54 +02:00
Daniel Lehman 237788a56e msvcp120: Implement concurrent_vector::_Internal_throw_exception.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-20 18:59:35 +02:00
Stefan Dösinger 9787af34b1 msvcp120/tests: Test _Xtime_diff_to_millis2 overflow behavior.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-17 18:03:23 +02:00
Daniel Lehman 467d38787b msvcp120/tests: Add tests for concurrent_vector::_Segment_index_of.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-11 13:58:11 +02:00
Daniel Lehman 4655942816 msvcp120: Implement concurrent_vector::_Segment_index_of.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-11 13:58:00 +02:00
Stefan Dösinger 96fcf4cc03 msvcp: Implement the WCHAR version of _Link.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-10 20:04:14 +02:00
Stefan Dösinger 12dadd04cb msvcp: Implement the WCHAR version of _Symlink.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-10 20:04:14 +02:00
Stefan Dösinger eea0f37a1a msvcp: Implement the WCHAR version of _Unlink.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-10 20:04:13 +02:00
Jacek Caban fa65ab3caa msvcp: Added std::_Raise_handler implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-03 18:10:25 +02:00
Stefan Dösinger 8f0ff15ec7 msvcp140/tests: Port test_dir_operation to msvcp140.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-17 22:12:09 +02:00
Alistair Leslie-Hughes 4eb71bc33a msvcp120/tests: Use standard wine_dbgstr_longlong.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-04 19:47:08 +02:00