diff options
author | Benny Prijono <bennylp@teluu.com> | 2005-11-07 15:47:28 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2005-11-07 15:47:28 +0000 |
commit | e25a988d098a075f5519090c24237c3b97bc1323 (patch) | |
tree | e6f4110d717550912cc25bb4e016bd60177d0016 /pjlib/src/pjlib-test/test.c | |
parent | 4539be1bf3b88417e3b52fdbeb17d6a74266cb4a (diff) |
Added file I/O and file access API
git-svn-id: http://svn.pjsip.org/repos/pjproject/main@18 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib/src/pjlib-test/test.c')
-rw-r--r-- | pjlib/src/pjlib-test/test.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pjlib/src/pjlib-test/test.c b/pjlib/src/pjlib-test/test.c index 8ccdc568..b65fa9e7 100644 --- a/pjlib/src/pjlib-test/test.c +++ b/pjlib/src/pjlib-test/test.c @@ -30,6 +30,10 @@ int test_inner(void) int rc = 0; mem = &caching_pool.factory; +
+ pj_log_set_level(3);
+ pj_log_set_decor(PJ_LOG_HAS_NEWLINE | PJ_LOG_HAS_TIME |
+ PJ_LOG_HAS_MICRO_SEC);
rc = pj_init(); if (rc != 0) { @@ -37,8 +41,6 @@ int test_inner(void) return rc; } - pj_log_set_level(3); - pj_log_set_decor(PJ_LOG_HAS_NEWLINE); pj_dump_config(); pj_caching_pool_init( &caching_pool, &pj_pool_factory_default_policy, 0 ); @@ -125,6 +127,10 @@ int test_inner(void) #if INCLUDE_IOQUEUE_PERF_TEST
DO_TEST( ioqueue_perf_test() );
#endif
+
+#if INCLUDE_FILE_TEST
+ DO_TEST( file_test() );
+#endif
#if INCLUDE_XML_TEST DO_TEST( xml_test() ); |