Added back the forgotten BAIL test
authorPavol Marko <pavolmarko@gmail.com>
Mon Oct 08 15:23:08 2007 +0000 (2007-10-08)
changeset 388498e769e86a4
parent 387 093c72464b35
child 389 97ae13a6edf9
Added back the forgotten BAIL test
sourcehook/test/main.cpp
sourcehook/test/test1.cpp
     1.1 --- a/sourcehook/test/main.cpp	Mon Oct 08 14:20:51 2007 +0000
     1.2 +++ b/sourcehook/test/main.cpp	Mon Oct 08 15:23:08 2007 +0000
     1.3 @@ -73,7 +73,7 @@
     1.4  DO_TEST(VafmtAndOverload);
     1.5  DO_TEST(ThisPtrOffs);
     1.6  DO_TEST(PlugSys);
     1.7 -//DO_TEST(Bail);
     1.8 +DO_TEST(Bail);
     1.9  DO_TEST(Reentr);
    1.10  DO_TEST(Manual);
    1.11  DO_TEST(Recall);
     2.1 --- a/sourcehook/test/test1.cpp	Mon Oct 08 14:20:51 2007 +0000
     2.2 +++ b/sourcehook/test/test1.cpp	Mon Oct 08 15:23:08 2007 +0000
     2.3 @@ -439,7 +439,6 @@
     2.4  		new State_F1_Called,
     2.5  		NULL), "Part 1");
     2.6  
     2.7 -	CHECK_COND(SH_GET_ORIG_VFNPTR_ENTRY(pTest, &Test::F1) == pOrigVfnPtrF1, "Part S1");
     2.8  
     2.9  	// 2) Request a call class again
    2.10  	SourceHook::CallClass<Test> *cc2 = SH_GET_CALLCLASS(pTest);
    2.11 @@ -479,7 +478,6 @@
    2.12  		new State_F1_PreHandler_Called(&f1_handlers),
    2.13  		NULL), "Part 3");
    2.14  
    2.15 -	CHECK_COND(SH_GET_ORIG_VFNPTR_ENTRY(pTest, &Test::F1) == pOrigVfnPtrF1, "Part S3");
    2.16  
    2.17  	// 4) Rerequest the callclass
    2.18  	SH_RELEASE_CALLCLASS(cc);