test/main.c

changeset 134
4d320dc3a7af
parent 131
fc3af16818a3
child 140
15f871f50bfd
--- a/test/main.c	Fri Aug 09 10:24:02 2013 +0200
+++ b/test/main.c	Fri Aug 09 11:32:10 2013 +0200
@@ -41,13 +41,13 @@
 #include "prop_tests.h"
 #include "buffer_tests.h"
 
-UCX_EXTERN UCX_TEST_IMPLEMENT(testTestSuitePositive) {
+UCX_EXTERN UCX_TEST(testTestSuitePositive) {
     UCX_TEST_BEGIN
     UCX_TEST_ASSERT(2*2 == 4, "the test framework fails");
     UCX_TEST_END
 }
 
-UCX_EXTERN UCX_TEST_IMPLEMENT(testTestSuiteNegative) {
+UCX_EXTERN UCX_TEST(testTestSuiteNegative) {
     UCX_TEST_BEGIN
     UCX_TEST_ASSERT(2*(-2) == 4, "the test framework works");
     UCX_TEST_END
@@ -73,7 +73,7 @@
     UCX_TEST_ASSERT(*i==4, "the test framework works");
 }
 
-UCX_EXTERN UCX_TEST_IMPLEMENT(testTestSuiteRoutinePositive) {
+UCX_EXTERN UCX_TEST(testTestSuiteRoutinePositive) {
     int i = 2;
     UCX_TEST_BEGIN
     UCX_TEST_CALL_SUBROUTINE(testTestSuiteRoutineSuccess, &i);
@@ -81,7 +81,7 @@
     UCX_TEST_END
 }
 
-UCX_EXTERN UCX_TEST_IMPLEMENT(testTestSuiteRoutineNegative) {
+UCX_EXTERN UCX_TEST(testTestSuiteRoutineNegative) {
     int i = 0;
     UCX_TEST_BEGIN
     UCX_TEST_CALL_SUBROUTINE(testTestSuiteRoutineFailure, &i);
@@ -89,7 +89,7 @@
     UCX_TEST_END
 }
 
-UCX_EXTERN UCX_TEST_IMPLEMENT(testTestSuiteRoutineMultiparam) {
+UCX_EXTERN UCX_TEST(testTestSuiteRoutineMultiparam) {
     UCX_TEST_BEGIN
     UCX_TEST_CALL_SUBROUTINE(testTestSuiteRoutine2Param, 42, 3.14f);
     UCX_TEST_END

mercurial