Teonet library
0.4.7
|
#include <stdio.h>
#include <stdlib.h>
#include <CUnit/Basic.h>
#include "ev_mgr.h"
#include "crypt.h"
Functions | |
void | test_1_1 () |
Test Initialize/Destroy Crypt module. More... | |
void | test_1_2 () |
Test Encrypt / Decrypt. More... | |
int | add_suite_1_tests (void) |
Add Crypt suite tests. More... | |
Variables | |
CU_pSuite | pSuite |
int | num_crypt_module |
Crypt module test suite
cUnit test suite code:
Created on Aug 7, 2015, 9:31:12 PM
int add_suite_1_tests | ( | void | ) |
void test_1_1 | ( | ) |
Test Initialize/Destroy Crypt module.
References ksnCryptDestroy(), ksnCryptInit(), and num_crypt_module.
Referenced by add_suite_1_tests().
void test_1_2 | ( | ) |
Test Encrypt / Decrypt.
References KSN_BUFFER_SIZE, ksnCryptDestroy(), ksnCryptInit(), ksnEncryptPackage(), and num_crypt_module.
Referenced by add_suite_1_tests().
int num_crypt_module |
Referenced by ksnCryptDestroy(), ksnCryptInit(), test_1_1(), and test_1_2().
CU_pSuite pSuite |
Referenced by add_suite_1_tests().