strongswan/Source/charon/testcases/generator_test.h
Jan Hutter 2a489f333d - nonce payload tested
- generator for nonce data written
2005-11-15 16:13:40 +00:00

95 lines
2.3 KiB
C

/**
* @file generator.h
*
* @brief Tests to test the Generator class generator_t
*
*/
/*
* Copyright (C) 2005 Jan Hutter, Martin Willi
* Hochschule fuer Technik Rapperswil
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* for more details.
*/
#ifndef GENERATOR_TEST_H_
#define GENERATOR_TEST_H_
#include "../utils/tester.h"
/**
* @brief Test function used to test the generator with header payload
*
*
* @param tester associated tester object
*/
void test_generator_with_header_payload(tester_t *tester);
/**
* @brief Test function used to test the generator with transform attribute payload
*
*
* @param tester associated tester object
*/
void test_generator_with_transform_attribute(tester_t *tester);
/**
* @brief Test function used to test the generator with transform substructure payload
*
*
* @param tester associated tester object
*/
void test_generator_with_transform_substructure(tester_t *tester);
/**
* @brief Test function used to test the generator with proposal substructure payload
*
*
* @param tester associated tester object
*/
void test_generator_with_proposal_substructure(tester_t *tester);
/**
* @brief Test function used to test the generator with SA payload
*
*
* @param tester associated tester object
*/
void test_generator_with_sa_payload(tester_t *tester);
/**
* @brief Test function used to test the generator with KE payload
*
*
* @param tester associated tester object
*/
void test_generator_with_ke_payload(tester_t *tester);
/**
* @brief Test function used to test the generator with Notify payload
*
*
* @param tester associated tester object
*/
void test_generator_with_notify_payload(tester_t *tester);
/**
* @brief Test function used to test the generator with Nonce payload
*
*
* @param tester associated tester object
*/
void test_generator_with_nonce_payload(tester_t *tester);
#endif /*GENERATOR_TEST_H_*/