mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
- Deprecate TAG() in rostests
svn path=/trunk/; revision=42918
This commit is contained in:
parent
53cbc6c4a3
commit
77fc26f56a
3 changed files with 11 additions and 3 deletions
|
@ -30,7 +30,7 @@
|
|||
//#define NDEBUG
|
||||
#include "debug.h"
|
||||
|
||||
#define TAG_POOLTEST TAG('P','t','s','t')
|
||||
#define TAG_POOLTEST 'tstP'
|
||||
|
||||
/* PRIVATE FUNCTIONS ***********************************************************/
|
||||
|
||||
|
|
|
@ -779,6 +779,12 @@ DEFINE_TEST(test_continue_execution_12)
|
|||
|
||||
return ret == return_positive();
|
||||
}
|
||||
|
||||
DEFINE_TEST(test_continue_execution_13)
|
||||
{
|
||||
/* XXX */
|
||||
return 1;
|
||||
}
|
||||
//}}}
|
||||
|
||||
/* _SEH2_LEAVE *///{{{
|
||||
|
@ -2573,6 +2579,8 @@ void testsuite_syntax(void)
|
|||
USE_TEST(test_execute_handler_12),
|
||||
USE_TEST(test_continue_execution_12),
|
||||
|
||||
USE_TEST(test_continue_execution_13),
|
||||
|
||||
USE_TEST(test_leave_1),
|
||||
USE_TEST(test_leave_2),
|
||||
USE_TEST(test_leave_3),
|
||||
|
|
|
@ -14,14 +14,14 @@ static void RunTest()
|
|||
/* Allocate memory with EngAllocMem */
|
||||
pmem1 = 0;
|
||||
AllocSize1 = 1024;
|
||||
AllocTag1 = TAG('D','x','y','z');
|
||||
AllocTag1 = 'zyxD';
|
||||
pmem1 = EngAllocMem(FL_ZERO_MEMORY, AllocSize1, AllocTag1);
|
||||
_AssertNotEqualValue(pmem1, NULL);
|
||||
|
||||
/* Allocate memory with EngAllocMem */
|
||||
pmem2 = 0;
|
||||
AllocSize2 = 1024;
|
||||
AllocTag2 = TAG('D','x','y','z');
|
||||
AllocTag2 = 'zyxD';
|
||||
pmem2 = EngAllocUserMem(AllocSize2, AllocTag2);
|
||||
_AssertNotEqualValue(pmem1, NULL);
|
||||
|
||||
|
|
Loading…
Reference in a new issue