[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:
Katayama Hirofumi MZ
2019-04-20 08:35:39 +09:00
committed by GitHub
parent 501116b68f
commit c714b7fd67
17 changed files with 53 additions and 45 deletions

View File

@@ -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