/** * 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 });
LONGBOW_TEST_CASE(Global, parcNotifier_Acquire) { testUnimplemented(""); }
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(""); }
LONGBOW_TEST_CASE(Object, parcFutureTask_Compare) { testUnimplemented(""); }
LONGBOW_TEST_CASE(Object, parcThreadPool_Compare) { testUnimplemented(""); }
LONGBOW_TEST_CASE(Global, parcProperties_Compare) { testUnimplemented(""); }
LONGBOW_TEST_CASE(Global, metisMessage_HasGetCertificate) { testUnimplemented("Need test data with an encoded certificate."); }
LONGBOW_TEST_CASE(Global, metisMessage_IsPublicKeyVerified_True) { testUnimplemented("Verification of KeyIds in ContentObjects is not yet implemented."); }
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"); }
LONGBOW_TEST_CASE(Global, parcNotifier_Create_Release) { testUnimplemented(""); }
LONGBOW_TEST_CASE(Global, parcNotifier_StartEvents) { testUnimplemented("unimplemented"); }
LONGBOW_TEST_CASE(Global, parcProperties_HashCode) { testUnimplemented(""); }
LONGBOW_TEST_CASE(openssl_commandline, parcPkcs12KeyStore_VerifySignature_Cert) { testUnimplemented("Not Implemented"); }
LONGBOW_TEST_CASE(Global, ccnxMetaMessage_Display) { testUnimplemented(""); }