refactor: rename test macro to prevent collisions (#91)

* refactor: rename test macro to prevent collisions

* style: align cmake epilog

* refactor: rename define in makefiles
This commit is contained in:
Carlos Gomes Martinho
2020-05-28 15:55:05 +02:00
committed by GitHub
parent cbfa74e48d
commit 981d4036c8
220 changed files with 308 additions and 308 deletions
+2 -2
View File
@@ -198,7 +198,7 @@ bool Analog_Value_Write_Property(BACNET_WRITE_PROPERTY_DATA *wp_data,
return status;
}
#ifdef TEST
#ifdef BAC_TEST
#include <assert.h>
#include <string.h>
#include "ctest.h"
@@ -246,4 +246,4 @@ int main(void)
return 0;
}
#endif /* TEST_ANALOG_VALUE */
#endif /* TEST */
#endif /* BAC_TEST */
+1 -1
View File
@@ -64,7 +64,7 @@ extern "C" {
void Analog_Value_Init(void);
#ifdef TEST
#ifdef BAC_TEST
#include "ctest.h"
void testAnalog_Value(Test * pTest);
#endif
+2 -2
View File
@@ -245,7 +245,7 @@ bool Binary_Value_Write_Property(BACNET_WRITE_PROPERTY_DATA *wp_data,
return status;
}
#ifdef TEST
#ifdef BAC_TEST
#include <assert.h>
#include <string.h>
#include "ctest.h"
@@ -293,4 +293,4 @@ int main(void)
return 0;
}
#endif /* TEST_BINARY_VALUE */
#endif /* TEST */
#endif /* BAC_TEST */
+1 -1
View File
@@ -61,7 +61,7 @@ extern "C" {
BACNET_ERROR_CLASS * error_class,
BACNET_ERROR_CODE * error_code);
#ifdef TEST
#ifdef BAC_TEST
#include "ctest.h"
void testBinary_Value(Test * pTest);
#endif