summaryrefslogtreecommitdiffstats
path: root/test/remote_logging_test_port.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/remote_logging_test_port.cpp')
-rw-r--r--test/remote_logging_test_port.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/remote_logging_test_port.cpp b/test/remote_logging_test_port.cpp
new file mode 100644
index 0000000..a9d3bc3
--- /dev/null
+++ b/test/remote_logging_test_port.cpp
@@ -0,0 +1,18 @@
+#include "remote_logging_tests.hpp"
+
+namespace phosphor
+{
+namespace logging
+{
+namespace test
+{
+
+TEST_F(TestRemoteLogging, testGoodPort)
+{
+ config->port(100);
+ EXPECT_EQ(config->port(), 100);
+}
+
+}// namespace test
+}// namespace logging
+}// namespace phosphor
OpenPOWER on IntegriCloud