mirror of
https://github.com/reactos/reactos.git
synced 2026-05-30 23:33:24 +08:00
[ATL][ATLTEST] Adapt to RATL and improvements (#1501)
- Modify atldef.h for non-ReactOS environments. - Update ATL testcase project files (from v120_xp to v140_xp). - #define HAVE_APITEST and use it. - s/NULL/0/
This commit is contained in:
committed by
GitHub
parent
501116b68f
commit
c714b7fd67
@@ -5,7 +5,7 @@
|
||||
* PROGRAMMER: Katayama Hirofumi MZ (katayama.hirofumi.mz@gmail.com)
|
||||
*/
|
||||
|
||||
#ifdef __REACTOS__
|
||||
#ifdef HAVE_APITEST
|
||||
#include <apitest.h>
|
||||
#else
|
||||
#include <stdlib.h>
|
||||
@@ -179,7 +179,7 @@ START_TEST(CSimpleArray)
|
||||
ok(!!array1.RemoveAt(0), "Expected RemoveAt(0) to succeed\n");
|
||||
ok(array1.GetSize() == 0, "Expected array1.GetSize() is 0, was: %d\n", array1.GetSize());
|
||||
|
||||
#ifndef __REACTOS__
|
||||
#ifndef HAVE_APITEST
|
||||
printf("CSimpleArray: %i tests executed (0 marked as todo, %i failures), 0 skipped.\n", g_tests_executed, g_tests_failed);
|
||||
return g_tests_failed;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user