summaryrefslogtreecommitdiff
path: root/src/components/dbus
diff options
context:
space:
mode:
authorKozoriz <kozorizandriy@gmail.com>2016-04-25 16:39:26 +0300
committerKozoriz <kozorizandriy@gmail.com>2016-04-25 16:39:26 +0300
commit990bee92cc9d67f9845629bf86e0a700ccc700ce (patch)
tree2feedfc333dfd6af412db96e189c941b367e08c7 /src/components/dbus
parent388ef32944603a105ed34db4aa089acf5a7a87fd (diff)
downloadsdl_core-990bee92cc9d67f9845629bf86e0a700ccc700ce.tar.gz
Code style format with clang-format
Diffstat (limited to 'src/components/dbus')
-rw-r--r--src/components/dbus/test/test_dbus_message_controller.cc15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/components/dbus/test/test_dbus_message_controller.cc b/src/components/dbus/test/test_dbus_message_controller.cc
index a81817e80b..5c5d4e69d5 100644
--- a/src/components/dbus/test/test_dbus_message_controller.cc
+++ b/src/components/dbus/test/test_dbus_message_controller.cc
@@ -66,13 +66,9 @@ class DBusMessageControllerTest : public ::testing::Test {
MockDBusMessageController* controller_;
MockSubscriber* subscriber_;
- static void SetUpTestCase() {
+ static void SetUpTestCase() {}
- }
-
- static void TearDownTestCase() {
-
- }
+ static void TearDownTestCase() {}
virtual void SetUp() {
const std::string kService = "sdl.core.test_api";
@@ -94,7 +90,8 @@ class DBusMessageControllerTest : public ::testing::Test {
timespec elapsed;
clock_gettime(CLOCK_REALTIME, &elapsed);
elapsed.tv_sec += seconds;
- return pthread_cond_timedwait(&test_cond, &test_mutex, &elapsed) != ETIMEDOUT;
+ return pthread_cond_timedwait(&test_cond, &test_mutex, &elapsed) !=
+ ETIMEDOUT;
}
};
@@ -110,12 +107,10 @@ TEST_F(DBusMessageControllerTest, Receive) {
TEST_F(DBusMessageControllerTest, DISABLED_Send) {
const std::string kText = "Test message for signal DBus";
-// EXPECT_CALL(*subscriber_, Receive(kText)).Times(1);
+ // EXPECT_CALL(*subscriber_, Receive(kText)).Times(1);
controller_->Send(kText);
}
} // namespace hmi_message_handler
} // namespace components
} // namespace test
-
-