2004-10-18 Casper S. Hornstrup <chorns@users.sourceforge.net>
[reactos.git] / reactos / lib / gdiplus / tests / tests / test-1.c
index ec3e11e..8ddacb8 100644 (file)
@@ -3,37 +3,9 @@
 
 #include "regtests.h"
 
-BOOL
-ReturnTrue()
+static void
+RunTest()
 {
-  return TRUE;
-}
-
-static BOOL MyRtlFreeHeapCalled = FALSE;
-
-VOID STDCALL
-MyRtlFreeHeap(ULONG a1, ULONG a2, ULONG a3)
-{
-  MyRtlFreeHeapCalled = TRUE;
-}
-
-extern VOID STDCALL
-RtlFreeHeap(ULONG a1, ULONG a2, ULONG a3);
-
-HOOK Hooks[] =
-{
-  {"RtlFreeHeap", MyRtlFreeHeap}
-};
-
-static int
-RunTest(char *Buffer)
-{
-  _SetHooks(Hooks);
-  RtlFreeHeap(0,0,0);
-  FAIL_IF_FALSE(MyRtlFreeHeapCalled, "RtlFreeHeap() must be called.");
-
-  FAIL_IF_FALSE(ReturnTrue(), "ReturnTrue() must always return TRUE.");
-  return TS_OK;
 }
 
 DISPATCHER(Test_1Test, "Test 1")