Rémi Bernon
b9b834b6ba
msctf/tests: Add multi-threaded apartment test for ITfSource_AdviseSink.
...
We expect it to fail because the ITfUIElementSink interface is flagged
as "local" and cannot be marshalled, and because ITfThreadMgr is flagged
with "threading(apartment)" and cannot be instanciated in the MTA.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-08-21 14:32:39 +02:00
Andrew Eikum
d541087079
msctf: Accept ITfInputProcessorProfileActivationSink in ThreadMgr AdviseSink.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-31 09:42:55 +02:00
Andrew Eikum
9122bf768f
msctf: Accept ITfUIElementSink in ThreadMgr AdviseSink.
...
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-07-31 09:41:50 +02:00
Zebediah Figura
b4843f29cb
msctf/tests: Skip tests if limited.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-28 14:15:09 +02:00
Zebediah Figura
e050c24998
msctf/tests: Set requestedExecutionLevel to asInvoker to prevent virtualization.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-28 14:15:04 +02:00
Michael Stefaniuc
5da1f82620
msctf/tests: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-04 14:23:31 +02:00
Jacek Caban
c082108e24
msctf: Added semi-stub support for ITfKeyTraceEventSink event sink.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-14 15:27:57 +01:00
Andrey Gusev
0b7882b00b
msctf/tests: Fix a typo in sink_check_ok().
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-08 13:58:25 +01:00
Nikolay Sivov
8d03bef891
msctf/tests: Fix test object leak (Valgrind).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-13 19:39:38 +01:00
Huw Davies
aac4cc8fbb
msctf/tests: Return if the constructor fails. This avoids several clang warnings.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-17 12:50:42 +01:00
Huw Davies
5fb2267a78
msctf/tests: Fix tests on Windows 8 and 10.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-17 12:50:40 +01:00
Huw Davies
543496a4fc
msctf/tests: Fix usage of test_ShouldDeactivate which is a BOOL.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-17 12:50:38 +01:00
Nikolay Sivov
bbae410a2b
msctf/tests: Return interface pointers instead of pointers to impl structure.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-01 20:47:48 +09:00
Michael Stefaniuc
fd0101ab61
msctf: Don't crash on NULL input in EnumLanguageProfiles().
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 11:02:32 +09:00
Jacek Caban
0bf6df6866
msctf: Fixed ref counts in tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-28 22:54:11 +09:00
Jacek Caban
bc645ca71a
msctf: Added Push/Pop context tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-28 22:54:09 +09:00
Jacek Caban
4585687e7d
msctf: Added ITfTransitoryExtensionSink tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-05 20:40:11 +09:00
Francois Gouget
958d143526
msctf/tests: Spelling fixes for inputprocessor ok() messages.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:04:34 +09:00
Nikolay Sivov
6834367a16
msctf/tests: Fix a crash on unsupported interface.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 22:23:40 +09:00
Nikolay Sivov
85210d46c4
msctf: Added stub ITextStoreACPServices support for context ITextStoreACPSink.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 22:23:28 +09:00
Frédéric Delanoy
430556ae06
msctf/tests: Use todo_wine_if() in tests.
...
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-20 12:08:06 +09:00
Matteo Bruni
a977484765
msctf: Add a partial implementation of ITfThreadMgrEx_ActivateEx().
...
Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-30 23:16:49 +09:00
Alistair Leslie-Hughes
89fd36e1df
msctf/tests: Fix memory leaks (valgrind).
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-30 19:11:51 +09:00
Michael Stefaniuc
5c9d24702f
msctf/tests: Remove an unsused assignment (PVS-Studio).
2015-03-06 20:32:01 +09:00
Nikolay Sivov
d3980cdcf2
msctf/tests: Fix crash when ITfInputProcessorProfileMgr is not supported.
2014-06-16 09:31:14 +02:00
Jacek Caban
645cdf9dc3
msctf: Added IEnumTfInputProcessorProfiles interface stub implementation.
2014-05-15 19:04:57 +02:00
Jacek Caban
b84e112dd6
msctf: Added ITfInputProcessorProfileMgr interface stub implementation.
2014-04-29 18:22:36 +02:00
Alexandre Julliard
99ef0d6ff0
makefiles: Get rid of the MAKE_TEST_RULES variable.
2014-01-02 12:13:16 +01:00
André Hentschel
15543701a7
msctf/tests: Mark GUID_NULL as result broken for Win8.
2013-11-07 13:13:49 +01:00
André Hentschel
e22908a867
msctf/tests: Always set focus again explicitly for Win7+.
2013-11-07 13:13:24 +01:00
Michael Stefaniuc
a50d081cd8
msctf/tests: Compile with -D__WINESRC__.
2013-10-17 10:43:37 +02:00
Michael Stefaniuc
0e681027a2
tests: Compile the tests by default with -D__WINESRC__.
2013-10-02 11:04:02 +02:00
Marcus Meissner
2288851c90
msctf: Also free the sink in the non-source branch (Coverity).
2012-09-03 17:43:47 +02:00
Nikolay Sivov
955e27d0e3
msctf: Call interface methods properly.
2012-08-20 10:59:20 +02:00
Francois Gouget
8f8760a1a5
msctf/tests: Give time for the messages to arrive.
2011-09-12 11:00:28 +02:00
Frédéric Delanoy
760faf01a9
tests: Assorted spelling fixes.
2011-08-04 18:27:37 +02:00
Austin English
24eaf19300
msctf/tests: Make sure return values are used (LLVM/Clang).
2011-07-26 10:23:00 +02:00
Nicolas Le Cam
f54042df66
msctf/tests: Fix uninitialized variable warning.
2011-04-26 10:49:47 +02:00
Greg Geldorp
e8ac427143
msctf/tests: Fix failures on Win7 and East-Asian machines.
2011-01-17 12:52:07 +01:00
Greg Geldorp
8532d06602
msctf/tests: Wait a bit for registrations to become active on Win7.
2011-01-03 12:14:26 +01:00
Michael Stefaniuc
d5c285ddb0
msctf/tests: Standardize the COM usage in inputprocessor.c.
2010-12-14 12:11:15 +01:00
Alexandre Julliard
81b8ee863e
makefiles: Add a standard header for all makefiles to replace the common variable initializations.
2010-09-19 12:36:48 +02:00
Alexandre Julliard
b86d515ed6
dlls: Remove explicit imports of kernel32 and ntdll.
2010-07-21 17:38:36 +02:00
Alexandre Julliard
bef5645eb1
makefiles: Remove the no longer needed explicit separators for dependencies.
2010-03-16 13:28:19 +01:00
Alexandre Julliard
6164ce2d82
makefiles: Use the standard C_SRCS variable as the list of test files.
...
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Huw Davies
625ec9f05f
msctf/tests: Don't convert past the end of a nul terminated string.
...
Found by Valgrind.
2009-11-13 13:36:12 +01:00
Aric Stewart
25bfe9df49
msctf/tests: Handle an occasional unexpected SetFocus from wine.
2009-11-10 13:14:23 +01:00
Alexandre Julliard
fa6ffb4d5d
Fix empty function prototypes.
2009-10-07 12:24:53 +02:00
Aric Stewart
ecd17659df
msctf/tests: Add wine_todo processing to sink_check_ok.
2009-09-11 13:08:40 +02:00
Francois Gouget
08c6eca9b5
msctf/tests: Make _sink_check_ok() static.
2009-09-11 12:10:20 +02:00