celix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pnol...@apache.org
Subject celix git commit: CELIX-237: Updated log levels for dfi lib
Date Tue, 13 Oct 2015 17:34:56 GMT
Repository: celix
Updated Branches:
  refs/heads/develop 22797e100 -> 0da1becf6


CELIX-237: Updated log levels for dfi lib


Project: http://git-wip-us.apache.org/repos/asf/celix/repo
Commit: http://git-wip-us.apache.org/repos/asf/celix/commit/0da1becf
Tree: http://git-wip-us.apache.org/repos/asf/celix/tree/0da1becf
Diff: http://git-wip-us.apache.org/repos/asf/celix/diff/0da1becf

Branch: refs/heads/develop
Commit: 0da1becf6ffdddffd76a3ba36d2e85edb2227637
Parents: 22797e1
Author: Pepijn Noltes <pepijnnoltes@gmail.com>
Authored: Tue Oct 13 19:34:16 2015 +0200
Committer: Pepijn Noltes <pepijnnoltes@gmail.com>
Committed: Tue Oct 13 19:34:16 2015 +0200

----------------------------------------------------------------------
 .../dynamic_function_interface_tst/dyn_closure_tests.cpp     | 8 ++++----
 .../dynamic_function_interface_tst/dyn_function_tests.cpp    | 7 ++++---
 .../dynamic_function_interface_tst/dyn_type_tests.cpp        | 2 +-
 .../dynamic_function_interface_tst/json_rpc_tests.cpp        | 2 +-
 4 files changed, 10 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/0da1becf/remote_services/remote_service_admin_dfi/dynamic_function_interface_tst/dyn_closure_tests.cpp
----------------------------------------------------------------------
diff --git a/remote_services/remote_service_admin_dfi/dynamic_function_interface_tst/dyn_closure_tests.cpp
b/remote_services/remote_service_admin_dfi/dynamic_function_interface_tst/dyn_closure_tests.cpp
index b2b11d7..6a79678 100644
--- a/remote_services/remote_service_admin_dfi/dynamic_function_interface_tst/dyn_closure_tests.cpp
+++ b/remote_services/remote_service_admin_dfi/dynamic_function_interface_tst/dyn_closure_tests.cpp
@@ -132,10 +132,10 @@ static void tests() {
 
 TEST_GROUP(DynClosureTests) {
     void setup() {
-        dynFunction_logSetup(stdLog, NULL, 3);
-        dynType_logSetup(stdLog, NULL, 3);
-        //TODO dynType_logSetup(stdLog, NULL, 4);
-        dynCommon_logSetup(stdLog, NULL, 3);
+        int lvl = 1;
+        dynFunction_logSetup(stdLog, NULL, lvl);
+        dynType_logSetup(stdLog, NULL, lvl);
+        dynCommon_logSetup(stdLog, NULL, lvl);
         g_count = 0;
     }
 };

http://git-wip-us.apache.org/repos/asf/celix/blob/0da1becf/remote_services/remote_service_admin_dfi/dynamic_function_interface_tst/dyn_function_tests.cpp
----------------------------------------------------------------------
diff --git a/remote_services/remote_service_admin_dfi/dynamic_function_interface_tst/dyn_function_tests.cpp
b/remote_services/remote_service_admin_dfi/dynamic_function_interface_tst/dyn_function_tests.cpp
index 14f2f54..d1bc82e 100644
--- a/remote_services/remote_service_admin_dfi/dynamic_function_interface_tst/dyn_function_tests.cpp
+++ b/remote_services/remote_service_admin_dfi/dynamic_function_interface_tst/dyn_function_tests.cpp
@@ -209,9 +209,10 @@ extern "C" {
 
 TEST_GROUP(DynFunctionTests) {
     void setup() {
-        dynFunction_logSetup(stdLog, NULL, 3);
-        dynType_logSetup(stdLog, NULL, 3);
-        dynCommon_logSetup(stdLog, NULL, 3);
+        int lvl = 1;
+        dynFunction_logSetup(stdLog, NULL, lvl);
+        dynType_logSetup(stdLog, NULL, lvl);
+        dynCommon_logSetup(stdLog, NULL, lvl);
     }
 };
 

http://git-wip-us.apache.org/repos/asf/celix/blob/0da1becf/remote_services/remote_service_admin_dfi/dynamic_function_interface_tst/dyn_type_tests.cpp
----------------------------------------------------------------------
diff --git a/remote_services/remote_service_admin_dfi/dynamic_function_interface_tst/dyn_type_tests.cpp
b/remote_services/remote_service_admin_dfi/dynamic_function_interface_tst/dyn_type_tests.cpp
index e2fe950..9cf81c5 100644
--- a/remote_services/remote_service_admin_dfi/dynamic_function_interface_tst/dyn_type_tests.cpp
+++ b/remote_services/remote_service_admin_dfi/dynamic_function_interface_tst/dyn_type_tests.cpp
@@ -52,7 +52,7 @@ extern "C" {
 
 TEST_GROUP(DynTypeTests) {
 	void setup() {
-	    dynType_logSetup(stdLog, NULL, 4);
+	    dynType_logSetup(stdLog, NULL, 1);
 	}
 };
 

http://git-wip-us.apache.org/repos/asf/celix/blob/0da1becf/remote_services/remote_service_admin_dfi/dynamic_function_interface_tst/json_rpc_tests.cpp
----------------------------------------------------------------------
diff --git a/remote_services/remote_service_admin_dfi/dynamic_function_interface_tst/json_rpc_tests.cpp
b/remote_services/remote_service_admin_dfi/dynamic_function_interface_tst/json_rpc_tests.cpp
index c7a3350..f49f9a5 100644
--- a/remote_services/remote_service_admin_dfi/dynamic_function_interface_tst/json_rpc_tests.cpp
+++ b/remote_services/remote_service_admin_dfi/dynamic_function_interface_tst/json_rpc_tests.cpp
@@ -290,7 +290,7 @@ static void stdLog(void *handle, int level, const char *file, int line,
const ch
 
 TEST_GROUP(JsonRpcTests) {
     void setup() {
-        int lvl = 4;
+        int lvl = 1;
         dynCommon_logSetup(stdLog, NULL, lvl);
         dynType_logSetup(stdLog, NULL,lvl);
         dynFunction_logSetup(stdLog, NULL,lvl);


Mime
View raw message