~unity-api-team/unity-scopes-api/child-scopes-option

« back to all changes in this revision

Viewing changes to test/gtest/unity/api/scopes/internal/zmq_middleware/ServantBase/ServantBase_test.cpp

  • Committer: Michi Henning
  • Date: 2013-11-19 02:51:46 UTC
  • mto: This revision was merged to the branch mainline in revision 62.
  • Revision ID: michi.henning@canonical.com-20131119025146-kglcalpphl4ozzk7
Fixed scoperegistry to use new scoperunner and to figure out which scopes to run from config files.
Still to do:
- deal with overrides and OEM scopes, particularly the grouping aspect.
- SignalThread needs to invoke a callback for clean shut-down on receipt of SIGINT.

Show diffs side-by-side

added added

removed removed

Lines of Context:
93
93
 
94
94
TEST(ServantBase, success)
95
95
{
96
 
    ZmqMiddleware mw("testscope", TEST_BUILD_ROOT "/gtest/unity/api/scopes/internal/zmq_middleware/Zmq.config",
 
96
    ZmqMiddleware mw("testscope", TEST_BUILD_ROOT "/gtest/unity/api/scopes/internal/zmq_middleware/ServantBase/Zmq.ini",
97
97
                     (RuntimeImpl*)0x1);
98
98
    ObjectAdapter a(mw, "testscope", "ipc://testscope", RequestType::Twoway, 1);
99
99
    Current current;
110
110
 
111
111
TEST(ServantBase, exceptions)
112
112
{
113
 
    ZmqMiddleware mw("testscope", TEST_BUILD_ROOT "/gtest/unity/api/scopes/internal/zmq_middleware/Zmq.config",
 
113
    ZmqMiddleware mw("testscope", TEST_BUILD_ROOT "/gtest/unity/api/scopes/internal/zmq_middleware/ServantBase/Zmq.ini",
114
114
                     (RuntimeImpl*)0x1);
115
115
    ObjectAdapter a(mw, "testscope", "ipc://testscope", RequestType::Twoway, 1);
116
116
    Current current;