Refactored RP, WP, RPM to reduce coupling with objects for Linux and Win32 ports.

This commit is contained in:
skarg
2010-02-10 16:27:31 +00:00
parent a7de276acc
commit f0863c0238
69 changed files with 2734 additions and 1710 deletions
+5 -2
View File
@@ -1269,8 +1269,11 @@ void testBACnetApplicationData_Safe(
break;
case BACNET_APPLICATION_TAG_OCTET_STRING:
octetstring_init(&input_value[i].type.Octet_String,
"This is a o-string", strlen("This is a o-string"));
{
uint8_t test_octet[5] = {"Karg"};
octetstring_init(&input_value[i].type.Octet_String,
test_octet, sizeof(test_octet));
}
break;
case BACNET_APPLICATION_TAG_CHARACTER_STRING:
+3 -3
View File
@@ -1956,7 +1956,7 @@ void testBACDCodeReal(
return;
}
static void testBACDCodeDouble(
void testBACDCodeDouble(
Test * pTest)
{
uint8_t double_array[8] = { 0 };
@@ -2743,7 +2743,7 @@ void testDoubleContextDecodes(
ct_test(pTest, outLen2 == -1);
}
static void testObjectIDContextDecodes(
void testObjectIDContextDecodes(
Test * pTest)
{
uint8_t apdu[MAX_APDU];
@@ -2784,7 +2784,7 @@ static void testObjectIDContextDecodes(
ct_test(pTest, outLen2 == -1);
}
static void testCharacterStringContextDecodes(
void testCharacterStringContextDecodes(
Test * pTest)
{
uint8_t apdu[MAX_APDU];