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-454: Add ignore calls to bundle_test cpputest.
Date Mon, 12 Nov 2018 11:51:21 GMT
Repository: celix
Updated Branches:
  refs/heads/feature/CELIX-454-pubsub-disc 11472da89 -> 5410a088b


CELIX-454: Add ignore calls to bundle_test cpputest.


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

Branch: refs/heads/feature/CELIX-454-pubsub-disc
Commit: 5410a088b8e582119b587baf3ac29ce394ee86ca
Parents: 11472da
Author: Pepijn Noltes <pepijnnoltes@gmail.com>
Authored: Mon Nov 12 12:50:53 2018 +0100
Committer: Pepijn Noltes <pepijnnoltes@gmail.com>
Committed: Mon Nov 12 12:50:53 2018 +0100

----------------------------------------------------------------------
 libs/framework/private/test/bundle_test.cpp | 9 ---------
 1 file changed, 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/celix/blob/5410a088/libs/framework/private/test/bundle_test.cpp
----------------------------------------------------------------------
diff --git a/libs/framework/private/test/bundle_test.cpp b/libs/framework/private/test/bundle_test.cpp
index 04ec37c..e520933 100644
--- a/libs/framework/private/test/bundle_test.cpp
+++ b/libs/framework/private/test/bundle_test.cpp
@@ -880,10 +880,6 @@ TEST(bundle, refresh) {
 			.withParameter("module", module_new)
 			.andReturnValue(version);
 
-	mock().expectNCalls(1, "module_getSymbolicName")
-			.withParameter("module", module_new)
-			.withOutputParameterReturning("symbolicName", &symbolicName, sizeof(char*));
-
 	mock().expectOneCall("framework_getBundles")
 			.withParameter("framework", framework)
 			.andReturnValue(bundles);
@@ -892,11 +888,6 @@ TEST(bundle, refresh) {
 			.withParameter("archive", archive2)
 			.withOutputParameterReturning("id", &id2, sizeof(id2));
 
-	//returning same symbolic name for module_new as for module4
-	mock().expectNCalls(1, "module_getSymbolicName")
-			.withParameter("module", module4)
-			.withOutputParameterReturning("symbolicName", &symbolicName, sizeof(char*));
-
 	//returning different version for module_new as for module4
 	mock().expectOneCall("module_getVersion")
 			.withParameter("module", module4)


Mime
View raw message