Jacek Caban : vbscript: Added simple call test.

Alexandre Julliard julliard at winehq.org
Thu Sep 8 14:52:12 CDT 2011


Module: wine
Branch: master
Commit: 6e749ba5dc02052eea066bd90fe9aa3293a65171
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6e749ba5dc02052eea066bd90fe9aa3293a65171

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Thu Sep  8 14:54:51 2011 +0200

vbscript: Added simple call test.

---

 dlls/vbscript/tests/run.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/dlls/vbscript/tests/run.c b/dlls/vbscript/tests/run.c
index d61b81f..4f70224 100644
--- a/dlls/vbscript/tests/run.c
+++ b/dlls/vbscript/tests/run.c
@@ -463,6 +463,12 @@ static void run_tests(void)
 
     parse_script_a("");
     parse_script_a("' empty ;");
+
+    SET_EXPECT(global_success_d);
+    SET_EXPECT(global_success_i);
+    parse_script_a("reportSuccess");
+    CHECK_CALLED(global_success_d);
+    CHECK_CALLED(global_success_i);
 }
 
 static BOOL check_vbscript(void)




More information about the wine-cvs mailing list