""
[strongswan.git] / Source / charon / tester.c
index 65e5c4c..a0fbc2d 100644 (file)
@@ -35,9 +35,13 @@ typedef struct {
 } private_tester_t;
  
  
 } private_tester_t;
  
  
-static status_t test_all(tester_t *this
+static status_t test_all(tester_t *tester
 {
 {
-       
+       private_tester_t *this =(private_tester_t*) tester;
+
+       fprintf(this->output,"Start testing\n");
+               
+       fprintf(this->output,"End testing\n");
        return SUCCESS;
 }
  
        return SUCCESS;
 }
  
@@ -57,5 +61,5 @@ tester_t *tester_create(FILE *output)
        
        this->output = output;
        
        
        this->output = output;
        
-       return SUCCESS;
+       return &(this->tester);
 }
 }