Commit b70a49c1 authored by Thomas Markwalder's avatar Thomas Markwalder
Browse files

[2955] Added missing definition of static member in D2 unit test.

parent 419690bf
...@@ -51,7 +51,7 @@ public: ...@@ -51,7 +51,7 @@ public:
/// @brief Callback that will invoke shutdown method. /// @brief Callback that will invoke shutdown method.
static void genShutdownCallback() { static void genShutdownCallback() {
D2ProcessTest::process_->shutdown(); process_->shutdown();
} }
/// @brief Callback that throws an exception. /// @brief Callback that throws an exception.
...@@ -64,6 +64,9 @@ public: ...@@ -64,6 +64,9 @@ public:
IOServicePtr io_service_; IOServicePtr io_service_;
}; };
// Define the static process instance
DProcessPtr D2ProcessTest::process_;
/// @brief Verifies D2Process constructor behavior. /// @brief Verifies D2Process constructor behavior.
/// 1. Verifies that constructor fails with an invalid IOService /// 1. Verifies that constructor fails with an invalid IOService
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment