You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@celix.apache.org by pn...@apache.org on 2020/06/30 06:56:36 UTC
[celix] branch bugfix/zmq_wrong_sender_connections updated:
reformats test code after merge
This is an automated email from the ASF dual-hosted git repository.
pnoltes pushed a commit to branch bugfix/zmq_wrong_sender_connections
in repository https://gitbox.apache.org/repos/asf/celix.git
The following commit(s) were added to refs/heads/bugfix/zmq_wrong_sender_connections by this push:
new f88ebea reformats test code after merge
f88ebea is described below
commit f88ebeaff99f7b47718b18bfff48710d1343aef2
Author: Pepijn Noltes <pe...@gmail.com>
AuthorDate: Tue Jun 30 08:56:02 2020 +0200
reformats test code after merge
---
bundles/pubsub/test/test/test_runner.cc | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/bundles/pubsub/test/test/test_runner.cc b/bundles/pubsub/test/test/test_runner.cc
index 9f7a0b2..3ef3faa 100644
--- a/bundles/pubsub/test/test/test_runner.cc
+++ b/bundles/pubsub/test/test/test_runner.cc
@@ -31,7 +31,7 @@ int main(int argc, char **argv) {
}
TEST_GROUP(PUBSUB_INT_GROUP) {
- celix_framework_t *fw = NULL;
+ celix_framework_t * fw = NULL;
celix_bundle_context_t *ctx = NULL;
void setup() override {
celixLauncher_launch("config.properties", &fw);
@@ -48,7 +48,7 @@ TEST_GROUP(PUBSUB_INT_GROUP) {
};
TEST_GROUP(PUBSUB_INT_ENV_GROUP) {
- celix_framework_t *fw = NULL;
+ celix_framework_t * fw = NULL;
celix_bundle_context_t *ctx = NULL;
void setup() override {
setenv("PSA_TCP_STATIC_BIND_URL_FOR_ping", "tcp://localhost:9001", 1);
@@ -91,8 +91,8 @@ void receiveTest(celix_bundle_context_t *ctx) {
for (int i = 0; i < TRIES; ++i) {
count = 0;
celix_bundleContext_useService(ctx, CELIX_RECEIVE_COUNT_SERVICE_NAME, &count, [](void *handle, void *svc) {
- auto* count_ptr = static_cast<int*>(handle);
- auto* count = static_cast<celix_receive_count_service_t*>(svc);
+ auto *count_ptr = static_cast<int *>(handle);
+ auto *count = static_cast<celix_receive_count_service_t *>(svc);
*count_ptr = count->receiveCount(count->handle);
});
printf("Current msg count is %i, waiting for at least %i\n", count, MSG_COUNT);