- fixed bad SVN issues, should all work again now
[strongswan.git] / Source / charon / testcases / generator_test.c
index 380ae55..764ef4c 100644 (file)
  
 #include <string.h>
 
-#include "../globals.h"
-#include "../allocator.h"
-#include "../logger_manager.h"
 #include "generator_test.h"
-#include "../tester.h"
-#include "../logger.h"
-#include "../encodings.h"
+
+#include "../globals.h"
 #include "../generator.h"
-#include "../encodings/ike_header.h"
+#include "../utils/allocator.h"
+#include "../utils/logger_manager.h"
+#include "../utils/logger.h"
+#include "../payloads/encodings.h"
+#include "../payloads/ike_header.h"
 
 extern payload_info_t *payload_infos[];
 
@@ -67,7 +67,7 @@ void test_generator_with_header_payload(tester_t *tester)
        status_t status;
        logger_t *logger;
        
-       global_logger_manager->get_logger(global_logger_manager,TESTER,&logger,"header payload");
+       logger = global_logger_manager->create_logger(global_logger_manager,TESTER,"header payload");
        
        header_data.initiator_spi = 1;
        header_data.responder_spi = 2;