/**
 * Add route with all options
 */
LONGBOW_TEST_CASE(Global, cpiForwarding_AddRoute_1)
{
    // The JSON representation depends on the system sockaddr_in format, which
    // varies platform to platform.
#if defined(__APPLE__)
    char truth_format[] = "{\"CPI_REQUEST\":{\"SEQUENCE\":%" PRIu64 ",\"REGISTER\":{\"PREFIX\":\"lci:/howdie/stranger\",\"INTERFACE\":55,\"FLAGS\":0,\"NEXTHOP\":{\"ADDRESSTYPE\":\"INET\",\"DATA\":\"AAIAAAQDAgEAAAAAAAAAAA==\"},\"PROTOCOL\":\"STATIC\",\"ROUTETYPE\":\"LONGEST\",\"COST\":200,\"LIFETIME\":[3600,0]}}}";
#elif defined(__linux__)
    char truth_format[] = "{\"CPI_REQUEST\":{\"SEQUENCE\":%" PRIu64 ",\"REGISTER\":{\"PREFIX\":\"lci:/howdie/stranger\",\"INTERFACE\":55,\"FLAGS\":0,\"NEXTHOP\":{\"ADDRESSTYPE\":\"INET\",\"DATA\":\"AgAAAAQDAgEAAAAAAAAAAA==\"},\"PROTOCOL\":\"STATIC\",\"ROUTETYPE\":\"LONGEST\",\"COST\":200,\"LIFETIME\":[3600,0]}}}";
#else
    // Case 1033
    testUnimplemented("Platform not supported");
    return;
#endif

    char truth[1024];

    CCNxName *prefix = ccnxName_CreateFromURI("lci:/howdie/stranger");
    unsigned ifidx = 55;
    CPIAddress *nexthop = cpiAddress_CreateFromInet(&(struct sockaddr_in) { .sin_addr.s_addr = 0x01020304 });
Esempio n. 2
0
LONGBOW_TEST_CASE(Global, parcNotifier_Acquire)
{
    testUnimplemented("");
}
Esempio n. 3
0
LONGBOW_TEST_CASE(Object,  parcStopwatch_Compare)
{
    testUnimplemented("");

}
LONGBOW_TEST_CASE(Local, metisControl_ListRoutes_Execute)
{
    testUnimplemented("");
}
LONGBOW_TEST_CASE(Global, ccnxMetaMessage_Release)
{
    testUnimplemented("");
}
LONGBOW_TEST_CASE(Global, ccnxMetaMessage_IsControl)
{
    testUnimplemented("");
}
Esempio n. 7
0
LONGBOW_TEST_CASE(Object,  parcFutureTask_Compare)
{
    testUnimplemented("");

}
Esempio n. 8
0
LONGBOW_TEST_CASE(Object,  parcThreadPool_Compare)
{
    testUnimplemented("");

}
Esempio n. 9
0
LONGBOW_TEST_CASE(Global,  parcProperties_Compare)
{
    testUnimplemented("");

}
Esempio n. 10
0
LONGBOW_TEST_CASE(Global, metisMessage_HasGetCertificate)
{
    testUnimplemented("Need test data with an encoded certificate.");
}
Esempio n. 11
0
LONGBOW_TEST_CASE(Global, metisMessage_IsPublicKeyVerified_True)
{
    testUnimplemented("Verification of KeyIds in ContentObjects is not yet implemented.");
}
Esempio n. 12
0
LONGBOW_TEST_CASE(Global, metisFibEntry_SetStrategy)
{
    testUnimplemented("This test is unimplemented");
}
LONGBOW_TEST_CASE(Object, athenaLRUContentStore_Compare)
{
    testUnimplemented("");
}
LONGBOW_TEST_CASE(Local, _athenaLRUContentStore_RemoveMatch)
{
    testUnimplemented("_athenaLRUContentStore_RemoveMatch not yet implemented");
}
Esempio n. 15
0
LONGBOW_TEST_CASE(Global, parcNotifier_Create_Release)
{
    testUnimplemented("");
}
Esempio n. 16
0
LONGBOW_TEST_CASE(Global, parcNotifier_StartEvents)
{
    testUnimplemented("unimplemented");
}
Esempio n. 17
0
LONGBOW_TEST_CASE(Global, parcProperties_HashCode)
{
    testUnimplemented("");

}
Esempio n. 18
0
LONGBOW_TEST_CASE(openssl_commandline, parcPkcs12KeyStore_VerifySignature_Cert)
{
    testUnimplemented("Not Implemented");
}
LONGBOW_TEST_CASE(Global, ccnxMetaMessage_Display)
{
    testUnimplemented("");
}