Teonet library
0.4.7
|
#include <stdio.h>
#include <stdlib.h>
#include <CUnit/Basic.h>
#include "ev_mgr.h"
#include "modules/cque.h"
Macros | |
#define | kc_emul() |
Emulate ksnetEvMgrClass. More... | |
Functions | |
int | teoSScrNumberOfSubscribers (teoSScrClass *sscr) |
Calculate number of subscriptions. More... | |
void | test_6_1 () |
Initialize/Destroy module class. More... | |
void | test_6_2 () |
Test Subscribe/UnSubscribe. More... | |
int | add_suite_6_tests (void) |
Add Subscribe module tests. More... | |
Variables | |
CU_pSuite | pSuite |
#define kc_emul | ( | ) |
Emulate ksnetEvMgrClass.
Referenced by test_6_1(), and test_6_2().
int add_suite_6_tests | ( | void | ) |
Add Subscribe module tests.
References pSuite, test_6_1(), and test_6_2().
Referenced by main().
int teoSScrNumberOfSubscribers | ( | teoSScrClass * | sscr | ) |
Calculate number of subscriptions.
sscr |
References teoSScrClass::map.
Referenced by teoSScrSubscription(), teoSScrUnSubscription(), and test_6_2().
void test_6_1 | ( | ) |
Initialize/Destroy module class.
References kc_emul, ke, teoSScrClass::map, teoSScrDestroy(), and teoSScrInit().
Referenced by add_suite_6_tests().
void test_6_2 | ( | ) |
Test Subscribe/UnSubscribe.
References kc_emul, ke, teoSScrDestroy(), teoSScrInit(), teoSScrNumberOfSubscribers(), teoSScrSubscription(), teoSScrUnSubscription(), and teoSScrUnSubscriptionAll().
Referenced by add_suite_6_tests().
CU_pSuite pSuite |
Referenced by add_suite_6_tests().