Juan Lang : wintrust: Move provider function tests to their own function.

Alexandre Julliard julliard at winehq.org
Wed Jul 16 13:32:38 CDT 2008


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

Author: Juan Lang <juan.lang at gmail.com>
Date:   Tue Jul 15 11:46:34 2008 -0700

wintrust: Move provider function tests to their own function.

---

 dlls/wintrust/tests/softpub.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/dlls/wintrust/tests/softpub.c b/dlls/wintrust/tests/softpub.c
index 45ff421..29390a4 100644
--- a/dlls/wintrust/tests/softpub.c
+++ b/dlls/wintrust/tests/softpub.c
@@ -398,7 +398,7 @@ static void testCertTrust(SAFE_PROVIDER_FUNCTIONS *funcs, GUID *actionID)
     }
 }
 
-START_TEST(softpub)
+static void test_provider_funcs(void)
 {
     static GUID generic_verify_v2 = WINTRUST_ACTION_GENERIC_VERIFY_V2;
     SAFE_PROVIDER_FUNCTIONS funcs = { sizeof(SAFE_PROVIDER_FUNCTIONS), 0 };
@@ -416,3 +416,8 @@ START_TEST(softpub)
         testCertTrust(&funcs, &generic_verify_v2);
     }
 }
+
+START_TEST(softpub)
+{
+    test_provider_funcs();
+}




More information about the wine-cvs mailing list