Michael Stefaniuc
4ca80c2f9e
vbscript/tests: Use wide-char string literals.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-10-06 21:47:55 +02:00
Gabriel Ivăncescu
b9ff472e70
vbscript: Clear SCRIPTITEM_CODEONLY flag on script re-initialization.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-31 22:52:09 +02:00
Gabriel Ivăncescu
b2bd01dfbc
vbscript/tests: Add more persistent named items tests.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-31 22:52:06 +02:00
Gabriel Ivăncescu
9ee723062a
vbscript: Look for the identifier in the named item's disp only if it doesn't have the CODEONLY flag.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-31 22:52:04 +02:00
Gabriel Ivăncescu
0d397dcc61
vbscript: Lookup the identifier in the named item's disp after its script dispatch.
...
If the bytecode has a named item context, its disp is looked for the
identifier before any globals, but after its script dispatch.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-27 21:16:13 +01:00
Gabriel Ivăncescu
4badb89c5f
vbscript/tests: Add tests for persistent named items.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-20 12:09:33 +01:00
Gabriel Ivăncescu
3750c5b066
vbscript: Don't create script dispatches for items with the SCRIPTITEM_GLOBALMEMBERS flag.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-28 19:38:37 +01:00
Gabriel Ivăncescu
0202284966
vbscript: Return the item's disp when it does not have the SCRIPTITEM_CODEONLY flag, rather than the script dispatch.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-25 23:43:17 +01:00
Gabriel Ivăncescu
0809a2859f
vbscript: Return the dispatch object directly in retval, rather than its value.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-18 20:29:02 +01:00
Gabriel Ivăncescu
553cb05b41
vbscript/tests: Add tests for named item script dispatches.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-18 20:28:59 +01:00
Gabriel Ivăncescu
d604fdbdd1
vbscript: Implement the SCRIPTITEM_CODEONLY flag.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-13 20:30:35 +01:00
Jacek Caban
1c6649d443
vbscript: Add SetScriptState(SCRIPTSTATE_CLOSED) implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-03 20:48:04 +01:00
Gabriel Ivăncescu
a79bde8591
vbscript/tests: Add more tests for the script TypeInfo.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-11 21:51:28 +01:00
Gabriel Ivăncescu
d393681e41
vbscript/tests: Add tests for the script TypeInfo's TypeComp binds.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-09 23:47:46 +01:00
Gabriel Ivăncescu
8707572669
vbscript: Implement ScriptTypeComp_Bind.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-09 23:47:46 +01:00
Gabriel Ivăncescu
46ccea7649
vbscript/tests: Add initial tests for the script TypeInfo.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-06 22:30:23 +01:00
Gabriel Ivăncescu
e109351261
vbscript/tests: Add tests for pending and executed code persistence.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-11 22:58:00 +01:00
Gabriel Ivăncescu
2d45f49fe8
vbscript/tests: Use integers instead of booleans for counting call expectations.
...
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-11 22:58:00 +01:00
Jacek Caban
9e2700b2fc
vbscript: Support changing script state to SCRIPTSTATE_INITIALIZED.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-05 16:17:22 +01:00
Jacek Caban
706898dcbb
vbscript: Don't allow changing script state when script site is not set.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-05 16:17:18 +01:00
Dmitry Timoshkov
1333ea8482
vbscript/tests: Add some tests for IRegExp2::Replace().
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-23 18:53:06 +02:00
Jacek Caban
f449c361ce
vbscript/tests: Add more named items tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-10-18 18:05:32 +02:00
Piotr Caban
79632a2212
vbscript: Added IMatch interface to Match2 object.
2013-03-25 14:09:55 +01:00
Piotr Caban
fbf01da470
vbscript: Added IMatchCollection interface to MatchCollection2 object.
2013-03-25 14:09:50 +01:00
Piotr Caban
add71cb91d
vbscript: Added IMatchCollection2::__NewEnum test.
2013-02-19 19:50:53 +01:00
Piotr Caban
6b8a34a396
vbscript: Added tests for invalid parameters in regular expression functions.
2013-02-19 19:50:52 +01:00
Piotr Caban
b0ef29595a
vbscript: Added IRegExp2_QueryInterface tests.
2013-02-15 16:26:21 +01:00
Jacek Caban
91b41eb494
vbscript: Added ScriptDisp_Invoke implementation.
2012-09-18 14:48:57 +02:00
Jacek Caban
ba611c0d3a
vbscript: Added ScriptDisp::GetIDsOfNames implementation.
2012-09-18 14:48:47 +02:00
Jacek Caban
32d1bb2bbf
vbscript: Skip tests on too old vbscript.
2012-09-12 12:45:54 +02:00
Jacek Caban
c2dbc6bfaa
vbscript: Added ScriptDisp tests.
2012-09-07 16:44:42 +02:00
Jacek Caban
552db7aade
vbscript: Added IActiveScriptParseProcedure2 stub implementation.
2012-08-13 11:53:19 +02:00
Jacek Caban
aa68bf130e
vbscript/tests: Use proper helpers for iface calls.
2012-07-31 17:59:11 +02:00
Jacek Caban
613c276ca3
vbscript: Get rid of unused SET_CALLED macro.
2012-01-27 18:05:52 +01:00
Jacek Caban
84d5a39659
vbscript: Added more script state tests.
2011-10-14 20:26:43 +02:00
Jacek Caban
78957118fb
vbscript: Added function parser implementation.
2011-09-14 17:00:08 +02:00
Jacek Caban
aff6961bac
vbscript: Added more uninitialization tests and fixes.
2011-09-05 17:14:02 +02:00
Jacek Caban
71cbb6e17c
vbscript: Added GetScriptDispatch implementation.
2011-09-05 17:13:53 +02:00
Jacek Caban
3d3504a6d7
vbscript: Added SetScriptState implementation.
2011-09-05 17:13:27 +02:00
Jacek Caban
286c9cee4a
vbscript: Added IObjectSafety tests.
2011-09-02 14:43:22 +02:00
Jacek Caban
97556eb061
vbscipt: Added IActiveScript::GetScriptState implementation.
2011-08-31 19:43:06 +02:00
Jacek Caban
389eb971c6
vbscript: Added more IActiveScript tests.
2011-08-31 19:43:06 +02:00
Jacek Caban
68c6f58e6e
vbscript: Added creation tests.
2011-07-19 14:06:35 +02:00