Merge lp:~mhr3/unity-scopes-api/merge-trunk into lp:unity-scopes-api/devel
- merge-trunk
- Merge into devel
Status: | Merged |
---|---|
Approved by: | Michal Hruby |
Approved revision: | no longer in the source branch. |
Merged at revision: | 314 |
Proposed branch: | lp:~mhr3/unity-scopes-api/merge-trunk |
Merge into: | lp:unity-scopes-api/devel |
Diff against target: |
284 lines (+78/-25) 7 files modified
CMakeLists.txt (+1/-1) debian/changelog (+13/-2) debian/control (+1/-1) debian/libunity-scopes1.symbols (+15/-15) src/scopes/internal/ScopeConfig.cpp (+4/-4) test/gtest/scopes/internal/ScopeConfig/ScopeConfig_test.cpp (+40/-1) test/gtest/scopes/internal/ScopeConfig/configtest1.ini.in (+4/-1) |
To merge this branch: | bzr merge lp:~mhr3/unity-scopes-api/merge-trunk |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Unity Team | Pending | ||
Review via email:
|
Commit message
Merge trunk.
Description of the change
Merge trunk.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Michal Hruby (mhr3) wrote : | # |
The CI/automerging bot needs to be transitioned to utopic.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:312
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
- 312. By Pete Woods
-
Fix raciness in RegistryObject test.
Approved by PS Jenkins bot, Michal Hruby.
- 313. By Pete Woods
-
Remove dead ini file option from example click scope.
Approved by Michal Hruby, PS Jenkins bot.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:312
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
Click here to trigger a rebuild:
http://
- 314. By Michal Hruby
-
Merge trunk.
Approved by PS Jenkins bot.
Preview Diff
1 | === modified file 'CMakeLists.txt' | |||
2 | --- CMakeLists.txt 2014-04-28 05:57:11 +0000 | |||
3 | +++ CMakeLists.txt 2014-04-29 10:31:01 +0000 | |||
4 | @@ -55,7 +55,7 @@ | |||
5 | 55 | 55 | ||
6 | 56 | include(FindPkgConfig) | 56 | include(FindPkgConfig) |
7 | 57 | find_package(Boost COMPONENTS system filesystem regex serialization REQUIRED) | 57 | find_package(Boost COMPONENTS system filesystem regex serialization REQUIRED) |
9 | 58 | pkg_check_modules(UNITY_API libunity-api>=0.1.1 REQUIRED) | 58 | pkg_check_modules(UNITY_API libunity-api>=0.1.3 REQUIRED) |
10 | 59 | pkg_check_modules(PROCESS_CPP process-cpp>=1.0.0 REQUIRED) | 59 | pkg_check_modules(PROCESS_CPP process-cpp>=1.0.0 REQUIRED) |
11 | 60 | pkg_check_modules(LTTNG_UST lttng-ust REQUIRED) | 60 | pkg_check_modules(LTTNG_UST lttng-ust REQUIRED) |
12 | 61 | pkg_check_modules(LIBURCU_BP liburcu-bp REQUIRED) | 61 | pkg_check_modules(LIBURCU_BP liburcu-bp REQUIRED) |
13 | 62 | 62 | ||
14 | === modified file 'debian/changelog' | |||
15 | --- debian/changelog 2014-04-23 13:11:53 +0000 | |||
16 | +++ debian/changelog 2014-04-29 10:31:01 +0000 | |||
17 | @@ -1,9 +1,20 @@ | |||
19 | 1 | unity-scopes-api (0.4.3-0ubuntu1) UNRELEASED; urgency=low | 1 | unity-scopes-api (0.4.3+14.10.20140428-0ubuntu1) utopic; urgency=low |
20 | 2 | 2 | ||
21 | 3 | [ Pawel Stolowski ] | ||
22 | 3 | * Implemented to_uri() and from_uri() conversions for CannedQuery. | 4 | * Implemented to_uri() and from_uri() conversions for CannedQuery. |
23 | 4 | * Ship scopes-client in libunity-scopes-cli package. | 5 | * Ship scopes-client in libunity-scopes-cli package. |
24 | 5 | 6 | ||
26 | 6 | -- Pawel Stolowski <pawel.stolowski@ubuntu.com> Wed, 23 Apr 2014 14:32:03 +0200 | 7 | [ Ubuntu daily release ] |
27 | 8 | * debian/*symbols: auto-update new symbols to released version | ||
28 | 9 | |||
29 | 10 | -- Ubuntu daily release <ps-jenkins@lists.canonical.com> Mon, 28 Apr 2014 17:24:08 +0000 | ||
30 | 11 | |||
31 | 12 | unity-scopes-api (0.4.2+14.04.20140408-0ubuntu1) trusty; urgency=low | ||
32 | 13 | |||
33 | 14 | [ Michal Hruby ] | ||
34 | 15 | * Merge r298 from devel branch. | ||
35 | 16 | |||
36 | 17 | -- Ubuntu daily release <ps-jenkins@lists.canonical.com> Tue, 08 Apr 2014 13:41:30 +0000 | ||
37 | 7 | 18 | ||
38 | 8 | unity-scopes-api (0.4.2+14.04.20140404.2-0ubuntu1) trusty; urgency=low | 19 | unity-scopes-api (0.4.2+14.04.20140404.2-0ubuntu1) trusty; urgency=low |
39 | 9 | 20 | ||
40 | 10 | 21 | ||
41 | === modified file 'debian/control' | |||
42 | --- debian/control 2014-04-23 15:43:01 +0000 | |||
43 | +++ debian/control 2014-04-29 10:31:01 +0000 | |||
44 | @@ -12,7 +12,7 @@ | |||
45 | 12 | python3, | 12 | python3, |
46 | 13 | capnproto, | 13 | capnproto, |
47 | 14 | libprocess-cpp-dev (>= 1.0.0), | 14 | libprocess-cpp-dev (>= 1.0.0), |
49 | 15 | libunity-api-dev (>= 7.80.5~), | 15 | libunity-api-dev (>= 7.80.7~), |
50 | 16 | libboost-filesystem-dev, | 16 | libboost-filesystem-dev, |
51 | 17 | libboost-regex-dev, | 17 | libboost-regex-dev, |
52 | 18 | libboost-serialization-dev, | 18 | libboost-serialization-dev, |
53 | 19 | 19 | ||
54 | === modified file 'debian/libunity-scopes1.symbols' | |||
55 | --- debian/libunity-scopes1.symbols 2014-04-23 21:53:31 +0000 | |||
56 | +++ debian/libunity-scopes1.symbols 2014-04-29 10:31:01 +0000 | |||
57 | @@ -32,7 +32,7 @@ | |||
58 | 32 | (c++)"unity::scopes::CannedQuery::set_filter_state(unity::scopes::FilterState const&)@Base" 0.4.0+14.04.20140312.1 | 32 | (c++)"unity::scopes::CannedQuery::set_filter_state(unity::scopes::FilterState const&)@Base" 0.4.0+14.04.20140312.1 |
59 | 33 | (c++)"unity::scopes::CannedQuery::set_query_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1 | 33 | (c++)"unity::scopes::CannedQuery::set_query_string(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1 |
60 | 34 | (c++)"unity::scopes::CannedQuery::set_department_id(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1 | 34 | (c++)"unity::scopes::CannedQuery::set_department_id(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1 |
62 | 35 | (c++)"unity::scopes::CannedQuery::from_uri(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0replaceme | 35 | (c++)"unity::scopes::CannedQuery::from_uri(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.3+14.10.20140428 |
63 | 36 | (c++)"unity::scopes::CannedQuery::CannedQuery(unity::scopes::CannedQuery&&)@Base" 0.4.0+14.04.20140312.1 | 36 | (c++)"unity::scopes::CannedQuery::CannedQuery(unity::scopes::CannedQuery&&)@Base" 0.4.0+14.04.20140312.1 |
64 | 37 | (c++)"unity::scopes::CannedQuery::CannedQuery(unity::scopes::internal::CannedQueryImpl*)@Base" 0.4.0+14.04.20140312.1 | 37 | (c++)"unity::scopes::CannedQuery::CannedQuery(unity::scopes::internal::CannedQueryImpl*)@Base" 0.4.0+14.04.20140312.1 |
65 | 38 | (c++)"unity::scopes::CannedQuery::CannedQuery(unity::scopes::CannedQuery const&)@Base" 0.4.0+14.04.20140312.1 | 38 | (c++)"unity::scopes::CannedQuery::CannedQuery(unity::scopes::CannedQuery const&)@Base" 0.4.0+14.04.20140312.1 |
66 | @@ -285,7 +285,7 @@ | |||
67 | 285 | (c++)"unity::scopes::Runtime::run_scope(unity::scopes::ScopeBase*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.2+14.04.20140404.2 | 285 | (c++)"unity::scopes::Runtime::run_scope(unity::scopes::ScopeBase*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.2+14.04.20140404.2 |
68 | 286 | (c++)"unity::scopes::Runtime::Runtime(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1 | 286 | (c++)"unity::scopes::Runtime::Runtime(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1 |
69 | 287 | (c++)"unity::scopes::Runtime::~Runtime()@Base" 0.4.0+14.04.20140312.1 | 287 | (c++)"unity::scopes::Runtime::~Runtime()@Base" 0.4.0+14.04.20140312.1 |
71 | 288 | (c++)"unity::scopes::Variant::deserialize_json(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0replaceme | 288 | (c++)"unity::scopes::Variant::deserialize_json(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.3+14.10.20140428 |
72 | 289 | (c++)"unity::scopes::Variant::null()@Base" 0.4.0+14.04.20140312.1 | 289 | (c++)"unity::scopes::Variant::null()@Base" 0.4.0+14.04.20140312.1 |
73 | 290 | (c++)"unity::scopes::Variant::swap(unity::scopes::Variant&)@Base" 0.4.0+14.04.20140312.1 | 290 | (c++)"unity::scopes::Variant::swap(unity::scopes::Variant&)@Base" 0.4.0+14.04.20140312.1 |
74 | 291 | (c++)"unity::scopes::Variant::Variant(unity::scopes::Variant&&)@Base" 0.4.0+14.04.20140312.1 | 291 | (c++)"unity::scopes::Variant::Variant(unity::scopes::Variant&&)@Base" 0.4.0+14.04.20140312.1 |
75 | @@ -408,7 +408,7 @@ | |||
76 | 408 | (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::on_process_death(int)@Base" 0.4.2+14.04.20140404.2 | 408 | (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::on_process_death(int)@Base" 0.4.2+14.04.20140404.2 |
77 | 409 | (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::clear_handle_unlocked()@Base" 0.4.2+14.04.20140404.2 | 409 | (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::clear_handle_unlocked()@Base" 0.4.2+14.04.20140404.2 |
78 | 410 | (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::update_state_unlocked(unity::scopes::internal::RegistryObject::ScopeProcess::ProcessState)@Base" 0.4.2+14.04.20140404.2 | 410 | (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::update_state_unlocked(unity::scopes::internal::RegistryObject::ScopeProcess::ProcessState)@Base" 0.4.2+14.04.20140404.2 |
80 | 411 | (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::exec(core::posix::ChildProcess::DeathObserver&, std::shared_ptr<unity::scopes::internal::Executor>)@Base" 0replaceme | 411 | (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::exec(core::posix::ChildProcess::DeathObserver&, std::shared_ptr<unity::scopes::internal::Executor>)@Base" 0.4.3+14.10.20140428 |
81 | 412 | (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::kill(std::unique_lock<std::mutex>&)@Base" 0.4.2+14.04.20140404.2 | 412 | (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::kill(std::unique_lock<std::mutex>&)@Base" 0.4.2+14.04.20140404.2 |
82 | 413 | (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::kill()@Base" 0.4.2+14.04.20140404.2 | 413 | (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::kill()@Base" 0.4.2+14.04.20140404.2 |
83 | 414 | (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::ScopeProcess(unity::scopes::internal::RegistryObject::ScopeExecData)@Base" 0.4.2+14.04.20140404.2 | 414 | (c++)"unity::scopes::internal::RegistryObject::ScopeProcess::ScopeProcess(unity::scopes::internal::RegistryObject::ScopeExecData)@Base" 0.4.2+14.04.20140404.2 |
84 | @@ -425,7 +425,7 @@ | |||
85 | 425 | (c++)"unity::scopes::internal::RegistryObject::remove_local_scope(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1 | 425 | (c++)"unity::scopes::internal::RegistryObject::remove_local_scope(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1 |
86 | 426 | (c++)"unity::scopes::internal::RegistryObject::set_remote_registry(std::shared_ptr<unity::scopes::internal::MWRegistry> const&)@Base" 0.4.0+14.04.20140312.1 | 426 | (c++)"unity::scopes::internal::RegistryObject::set_remote_registry(std::shared_ptr<unity::scopes::internal::MWRegistry> const&)@Base" 0.4.0+14.04.20140312.1 |
87 | 427 | (c++)"unity::scopes::internal::RegistryObject::locate(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1 | 427 | (c++)"unity::scopes::internal::RegistryObject::locate(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1 |
89 | 428 | (c++)"unity::scopes::internal::RegistryObject::RegistryObject(core::posix::ChildProcess::DeathObserver&, std::shared_ptr<unity::scopes::internal::Executor> const&)@Base" 0replaceme | 428 | (c++)"unity::scopes::internal::RegistryObject::RegistryObject(core::posix::ChildProcess::DeathObserver&, std::shared_ptr<unity::scopes::internal::Executor> const&)@Base" 0.4.3+14.10.20140428 |
90 | 429 | (c++)"unity::scopes::internal::RegistryObject::~RegistryObject()@Base" 0.4.0+14.04.20140312.1 | 429 | (c++)"unity::scopes::internal::RegistryObject::~RegistryObject()@Base" 0.4.0+14.04.20140312.1 |
91 | 430 | (c++)"unity::scopes::internal::MiddlewareFactory::MiddlewareData::~MiddlewareData()@Base" 0.4.0+14.04.20140312.1 | 430 | (c++)"unity::scopes::internal::MiddlewareFactory::MiddlewareData::~MiddlewareData()@Base" 0.4.0+14.04.20140312.1 |
92 | 431 | (c++)"unity::scopes::internal::MiddlewareFactory::to_kind(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1 | 431 | (c++)"unity::scopes::internal::MiddlewareFactory::to_kind(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1 |
93 | @@ -455,11 +455,11 @@ | |||
94 | 455 | (c++)"unity::scopes::internal::StateReceiverObject::push_state(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unity::scopes::internal::StateReceiverObject::State const&)@Base" 0.4.2+14.04.20140404.2 | 455 | (c++)"unity::scopes::internal::StateReceiverObject::push_state(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unity::scopes::internal::StateReceiverObject::State const&)@Base" 0.4.2+14.04.20140404.2 |
95 | 456 | (c++)"unity::scopes::internal::StateReceiverObject::StateReceiverObject()@Base" 0.4.2+14.04.20140404.2 | 456 | (c++)"unity::scopes::internal::StateReceiverObject::StateReceiverObject()@Base" 0.4.2+14.04.20140404.2 |
96 | 457 | (c++)"unity::scopes::internal::StateReceiverObject::~StateReceiverObject()@Base" 0.4.2+14.04.20140404.2 | 457 | (c++)"unity::scopes::internal::StateReceiverObject::~StateReceiverObject()@Base" 0.4.2+14.04.20140404.2 |
100 | 458 | (c++)"unity::scopes::internal::Executor::exec(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&, core::posix::StandardStream const&)@Base" 0replaceme | 458 | (c++)"unity::scopes::internal::Executor::exec(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, std::map<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::less<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, std::basic_string<char, std::char_traits<char>, std::allocator<char> > > > > const&, core::posix::StandardStream const&)@Base" 0.4.3+14.10.20140428 |
101 | 459 | (c++)"unity::scopes::internal::Executor::Executor()@Base" 0replaceme | 459 | (c++)"unity::scopes::internal::Executor::Executor()@Base" 0.4.3+14.10.20140428 |
102 | 460 | (c++)"unity::scopes::internal::Executor::~Executor()@Base" 0replaceme | 460 | (c++)"unity::scopes::internal::Executor::~Executor()@Base" 0.4.3+14.10.20140428 |
103 | 461 | (c++)"unity::scopes::internal::ScopeImpl::perform_action(unity::scopes::Result const&, unity::scopes::ActionMetadata const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::shared_ptr<unity::scopes::ActivationListenerBase> const&)@Base" 0.4.0+14.04.20140312.1 | 461 | (c++)"unity::scopes::internal::ScopeImpl::perform_action(unity::scopes::Result const&, unity::scopes::ActionMetadata const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::shared_ptr<unity::scopes::ActivationListenerBase> const&)@Base" 0.4.0+14.04.20140312.1 |
105 | 462 | (c++)"unity::scopes::internal::ScopeImpl::fwd()@Base" 0replaceme | 462 | (c++)"unity::scopes::internal::ScopeImpl::fwd()@Base" 0.4.3+14.10.20140428 |
106 | 463 | (c++)"unity::scopes::internal::ScopeImpl::create(std::shared_ptr<unity::scopes::internal::MWScope> const&, unity::scopes::internal::RuntimeImpl*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1 | 463 | (c++)"unity::scopes::internal::ScopeImpl::create(std::shared_ptr<unity::scopes::internal::MWScope> const&, unity::scopes::internal::RuntimeImpl*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)@Base" 0.4.0+14.04.20140312.1 |
107 | 464 | (c++)"unity::scopes::internal::ScopeImpl::search(unity::scopes::CannedQuery const&, unity::scopes::SearchMetadata const&, std::shared_ptr<unity::scopes::SearchListenerBase> const&)@Base" 0.4.0+14.04.20140312.1 | 464 | (c++)"unity::scopes::internal::ScopeImpl::search(unity::scopes::CannedQuery const&, unity::scopes::SearchMetadata const&, std::shared_ptr<unity::scopes::SearchListenerBase> const&)@Base" 0.4.0+14.04.20140312.1 |
108 | 465 | (c++)"unity::scopes::internal::ScopeImpl::search(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unity::scopes::FilterState const&, unity::scopes::SearchMetadata const&, std::shared_ptr<unity::scopes::SearchListenerBase> const&)@Base" 0.4.0+14.04.20140312.1 | 465 | (c++)"unity::scopes::internal::ScopeImpl::search(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unity::scopes::FilterState const&, unity::scopes::SearchMetadata const&, std::shared_ptr<unity::scopes::SearchListenerBase> const&)@Base" 0.4.0+14.04.20140312.1 |
109 | @@ -499,7 +499,7 @@ | |||
110 | 499 | (c++)"unity::scopes::CannedQuery::filter_state() const@Base" 0.4.0+14.04.20140312.1 | 499 | (c++)"unity::scopes::CannedQuery::filter_state() const@Base" 0.4.0+14.04.20140312.1 |
111 | 500 | (c++)"unity::scopes::CannedQuery::query_string() const@Base" 0.4.0+14.04.20140312.1 | 500 | (c++)"unity::scopes::CannedQuery::query_string() const@Base" 0.4.0+14.04.20140312.1 |
112 | 501 | (c++)"unity::scopes::CannedQuery::department_id() const@Base" 0.4.0+14.04.20140312.1 | 501 | (c++)"unity::scopes::CannedQuery::department_id() const@Base" 0.4.0+14.04.20140312.1 |
114 | 502 | (c++)"unity::scopes::CannedQuery::to_uri() const@Base" 0replaceme | 502 | (c++)"unity::scopes::CannedQuery::to_uri() const@Base" 0.4.3+14.10.20140428 |
115 | 503 | (c++)"unity::scopes::CannedQuery::scope_id() const@Base" 0.4.0+14.04.20140312.1 | 503 | (c++)"unity::scopes::CannedQuery::scope_id() const@Base" 0.4.0+14.04.20140312.1 |
116 | 504 | (c++)"unity::scopes::CannedQuery::serialize() const@Base" 0.4.0+14.04.20140312.1 | 504 | (c++)"unity::scopes::CannedQuery::serialize() const@Base" 0.4.0+14.04.20140312.1 |
117 | 505 | (c++)"unity::scopes::FilterState::has_filter(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const@Base" 0.4.0+14.04.20140312.1 | 505 | (c++)"unity::scopes::FilterState::has_filter(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const@Base" 0.4.0+14.04.20140312.1 |
118 | @@ -580,7 +580,7 @@ | |||
119 | 580 | (c++)"unity::scopes::Runtime::registry() const@Base" 0.4.0+14.04.20140312.1 | 580 | (c++)"unity::scopes::Runtime::registry() const@Base" 0.4.0+14.04.20140312.1 |
120 | 581 | (c++)"unity::scopes::Variant::get_double() const@Base" 0.4.0+14.04.20140312.1 | 581 | (c++)"unity::scopes::Variant::get_double() const@Base" 0.4.0+14.04.20140312.1 |
121 | 582 | (c++)"unity::scopes::Variant::get_string() const@Base" 0.4.0+14.04.20140312.1 | 582 | (c++)"unity::scopes::Variant::get_string() const@Base" 0.4.0+14.04.20140312.1 |
123 | 583 | (c++)"unity::scopes::Variant::serialize_json() const@Base" 0replaceme | 583 | (c++)"unity::scopes::Variant::serialize_json() const@Base" 0.4.3+14.10.20140428 |
124 | 584 | (c++)"unity::scopes::Variant::which() const@Base" 0.4.0+14.04.20140312.1 | 584 | (c++)"unity::scopes::Variant::which() const@Base" 0.4.0+14.04.20140312.1 |
125 | 585 | (c++)"unity::scopes::Variant::get_int() const@Base" 0.4.0+14.04.20140312.1 | 585 | (c++)"unity::scopes::Variant::get_int() const@Base" 0.4.0+14.04.20140312.1 |
126 | 586 | (c++)"unity::scopes::Variant::is_null() const@Base" 0.4.0+14.04.20140312.1 | 586 | (c++)"unity::scopes::Variant::is_null() const@Base" 0.4.0+14.04.20140312.1 |
127 | @@ -603,11 +603,11 @@ | |||
128 | 603 | (c++)"unity::scopes::Category::icon() const@Base" 0.4.0+14.04.20140312.1 | 603 | (c++)"unity::scopes::Category::icon() const@Base" 0.4.0+14.04.20140312.1 |
129 | 604 | (c++)"unity::scopes::Category::title() const@Base" 0.4.0+14.04.20140312.1 | 604 | (c++)"unity::scopes::Category::title() const@Base" 0.4.0+14.04.20140312.1 |
130 | 605 | (c++)"unity::scopes::Category::serialize() const@Base" 0.4.0+14.04.20140312.1 | 605 | (c++)"unity::scopes::Category::serialize() const@Base" 0.4.0+14.04.20140312.1 |
132 | 606 | (c++)"unity::scopes::internal::RuntimeImpl::async_pool() const@Base" 0replaceme | 606 | (c++)"unity::scopes::internal::RuntimeImpl::async_pool() const@Base" 0.4.3+14.10.20140428 |
133 | 607 | (c++)"unity::scopes::internal::RuntimeImpl::configfile() const@Base" 0.4.2+14.04.20140404.2 | 607 | (c++)"unity::scopes::internal::RuntimeImpl::configfile() const@Base" 0.4.2+14.04.20140404.2 |
135 | 608 | (c++)"unity::scopes::internal::RuntimeImpl::future_queue() const@Base" 0replaceme | 608 | (c++)"unity::scopes::internal::RuntimeImpl::future_queue() const@Base" 0.4.3+14.10.20140428 |
136 | 609 | (c++)"unity::scopes::internal::RuntimeImpl::reply_reaper() const@Base" 0.4.0+14.04.20140312.1 | 609 | (c++)"unity::scopes::internal::RuntimeImpl::reply_reaper() const@Base" 0.4.0+14.04.20140312.1 |
138 | 610 | (c++)"unity::scopes::internal::RuntimeImpl::waiter_thread(std::shared_ptr<unity::scopes::internal::ThreadSafeQueue<std::future<void> > > const&) const@Base" 0replaceme | 610 | (c++)"unity::scopes::internal::RuntimeImpl::waiter_thread(std::shared_ptr<unity::scopes::internal::ThreadSafeQueue<std::future<void> > > const&) const@Base" 0.4.3+14.10.20140428 |
139 | 611 | (c++)"unity::scopes::internal::RuntimeImpl::proxy_to_string(std::shared_ptr<unity::scopes::Object> const&) const@Base" 0.4.0+14.04.20140312.1 | 611 | (c++)"unity::scopes::internal::RuntimeImpl::proxy_to_string(std::shared_ptr<unity::scopes::Object> const&) const@Base" 0.4.0+14.04.20140312.1 |
140 | 612 | (c++)"unity::scopes::internal::RuntimeImpl::string_to_proxy(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const@Base" 0.4.0+14.04.20140312.1 | 612 | (c++)"unity::scopes::internal::RuntimeImpl::string_to_proxy(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const@Base" 0.4.0+14.04.20140312.1 |
141 | 613 | (c++)"unity::scopes::internal::RuntimeImpl::registry_endpoint() const@Base" 0.4.0+14.04.20140312.1 | 613 | (c++)"unity::scopes::internal::RuntimeImpl::registry_endpoint() const@Base" 0.4.0+14.04.20140312.1 |
142 | @@ -644,7 +644,7 @@ | |||
143 | 644 | (c++)"unity::scopes::internal::RegistryConfig::endpointdir() const@Base" 0.4.0+14.04.20140312.1 | 644 | (c++)"unity::scopes::internal::RegistryConfig::endpointdir() const@Base" 0.4.0+14.04.20140312.1 |
144 | 645 | (c++)"unity::scopes::internal::RegistryConfig::mw_configfile() const@Base" 0.4.0+14.04.20140312.1 | 645 | (c++)"unity::scopes::internal::RegistryConfig::mw_configfile() const@Base" 0.4.0+14.04.20140312.1 |
145 | 646 | (c++)"unity::scopes::internal::RegistryConfig::oem_installdir() const@Base" 0.4.0+14.04.20140312.1 | 646 | (c++)"unity::scopes::internal::RegistryConfig::oem_installdir() const@Base" 0.4.0+14.04.20140312.1 |
147 | 647 | (c++)"unity::scopes::internal::RegistryConfig::click_installdir() const@Base" 0replaceme | 647 | (c++)"unity::scopes::internal::RegistryConfig::click_installdir() const@Base" 0.4.3+14.10.20140428 |
148 | 648 | (c++)"unity::scopes::internal::RegistryConfig::scope_installdir() const@Base" 0.4.0+14.04.20140312.1 | 648 | (c++)"unity::scopes::internal::RegistryConfig::scope_installdir() const@Base" 0.4.0+14.04.20140312.1 |
149 | 649 | (c++)"unity::scopes::internal::RegistryConfig::scoperunner_path() const@Base" 0.4.0+14.04.20140312.1 | 649 | (c++)"unity::scopes::internal::RegistryConfig::scoperunner_path() const@Base" 0.4.0+14.04.20140312.1 |
150 | 650 | (c++)"unity::scopes::internal::RegistryConfig::ss_registry_endpoint() const@Base" 0.4.0+14.04.20140312.1 | 650 | (c++)"unity::scopes::internal::RegistryConfig::ss_registry_endpoint() const@Base" 0.4.0+14.04.20140312.1 |
151 | @@ -675,7 +675,7 @@ | |||
152 | 675 | (c++)"unity::scopes::internal::ScopeMetadataImpl::invisible() const@Base" 0.4.0+14.04.20140312.1 | 675 | (c++)"unity::scopes::internal::ScopeMetadataImpl::invisible() const@Base" 0.4.0+14.04.20140312.1 |
153 | 676 | (c++)"unity::scopes::internal::ScopeMetadataImpl::serialize() const@Base" 0.4.0+14.04.20140312.1 | 676 | (c++)"unity::scopes::internal::ScopeMetadataImpl::serialize() const@Base" 0.4.0+14.04.20140312.1 |
154 | 677 | (c++)"unity::scopes::internal::StateReceiverObject::state_received() const@Base" 0.4.2+14.04.20140404.2 | 677 | (c++)"unity::scopes::internal::StateReceiverObject::state_received() const@Base" 0.4.2+14.04.20140404.2 |
156 | 678 | (c++)"unity::scopes::QueryBase::valid() const@Base" 0replaceme | 678 | (c++)"unity::scopes::QueryBase::valid() const@Base" 0.4.3+14.10.20140428 |
157 | 679 | (c++)"unity::scopes::ScopeBase::scope_directory() const@Base" 0.4.2+14.04.20140404.2 | 679 | (c++)"unity::scopes::ScopeBase::scope_directory() const@Base" 0.4.2+14.04.20140404.2 |
158 | 680 | (c++)"typeinfo for unity::scopes::Annotation@Base" 0.4.0+14.04.20140312.1 | 680 | (c++)"typeinfo for unity::scopes::Annotation@Base" 0.4.0+14.04.20140312.1 |
159 | 681 | (c++)"typeinfo for unity::scopes::FilterBase@Base" 0.4.0+14.04.20140312.1 | 681 | (c++)"typeinfo for unity::scopes::FilterBase@Base" 0.4.0+14.04.20140312.1 |
160 | 682 | 682 | ||
161 | === modified file 'src/scopes/internal/ScopeConfig.cpp' | |||
162 | --- src/scopes/internal/ScopeConfig.cpp 2014-04-08 08:26:44 +0000 | |||
163 | +++ src/scopes/internal/ScopeConfig.cpp 2014-04-29 10:31:01 +0000 | |||
164 | @@ -38,7 +38,7 @@ | |||
165 | 38 | namespace | 38 | namespace |
166 | 39 | { | 39 | { |
167 | 40 | const string overrideable_str = "Override"; | 40 | const string overrideable_str = "Override"; |
169 | 41 | const string scope_id_str = "DisplayName"; | 41 | const string scope_name_str = "DisplayName"; |
170 | 42 | const string description_str = "Description"; | 42 | const string description_str = "Description"; |
171 | 43 | const string author_str = "Author"; | 43 | const string author_str = "Author"; |
172 | 44 | const string art_str = "Art"; | 44 | const string art_str = "Art"; |
173 | @@ -61,8 +61,8 @@ | |||
174 | 61 | overrideable_ = false; | 61 | overrideable_ = false; |
175 | 62 | } | 62 | } |
176 | 63 | 63 | ||
179 | 64 | display_name_ = parser()->get_string(SCOPE_CONFIG_GROUP, scope_id_str); | 64 | display_name_ = parser()->get_locale_string(SCOPE_CONFIG_GROUP, scope_name_str); |
180 | 65 | description_ = parser()->get_string(SCOPE_CONFIG_GROUP, description_str); | 65 | description_ = parser()->get_locale_string(SCOPE_CONFIG_GROUP, description_str); |
181 | 66 | author_ = parser()->get_string(SCOPE_CONFIG_GROUP, author_str); | 66 | author_ = parser()->get_string(SCOPE_CONFIG_GROUP, author_str); |
182 | 67 | 67 | ||
183 | 68 | // For optional values, we store them in a unique_ptr so we can distinguish the "not set at all" case | 68 | // For optional values, we store them in a unique_ptr so we can distinguish the "not set at all" case |
184 | @@ -86,7 +86,7 @@ | |||
185 | 86 | } | 86 | } |
186 | 87 | try | 87 | try |
187 | 88 | { | 88 | { |
189 | 89 | string hint = parser()->get_string(SCOPE_CONFIG_GROUP, search_hint_str); | 89 | string hint = parser()->get_locale_string(SCOPE_CONFIG_GROUP, search_hint_str); |
190 | 90 | search_hint_.reset(new string(hint)); | 90 | search_hint_.reset(new string(hint)); |
191 | 91 | } | 91 | } |
192 | 92 | catch (LogicException const&) | 92 | catch (LogicException const&) |
193 | 93 | 93 | ||
194 | === modified file 'test/gtest/scopes/internal/ScopeConfig/ScopeConfig_test.cpp' | |||
195 | --- test/gtest/scopes/internal/ScopeConfig/ScopeConfig_test.cpp 2014-03-18 10:25:32 +0000 | |||
196 | +++ test/gtest/scopes/internal/ScopeConfig/ScopeConfig_test.cpp 2014-04-29 10:31:01 +0000 | |||
197 | @@ -30,10 +30,11 @@ | |||
198 | 30 | ScopeConfig cfg("configtest1.ini"); | 30 | ScopeConfig cfg("configtest1.ini"); |
199 | 31 | 31 | ||
200 | 32 | EXPECT_EQ("Scope name", cfg.display_name()); | 32 | EXPECT_EQ("Scope name", cfg.display_name()); |
201 | 33 | EXPECT_EQ("Scope description", cfg.description()); | ||
202 | 33 | EXPECT_EQ("scope art", cfg.art()); | 34 | EXPECT_EQ("scope art", cfg.art()); |
203 | 34 | EXPECT_EQ("Canonical", cfg.author()); | 35 | EXPECT_EQ("Canonical", cfg.author()); |
204 | 35 | EXPECT_EQ("an icon", cfg.icon()); | 36 | EXPECT_EQ("an icon", cfg.icon()); |
206 | 36 | EXPECT_EQ("a search hint string", cfg.search_hint()); | 37 | EXPECT_EQ("search string", cfg.search_hint()); |
207 | 37 | EXPECT_EQ("a key", cfg.hot_key()); | 38 | EXPECT_EQ("a key", cfg.hot_key()); |
208 | 38 | 39 | ||
209 | 39 | auto attrs = cfg.appearance_attributes(); | 40 | auto attrs = cfg.appearance_attributes(); |
210 | @@ -47,6 +48,7 @@ | |||
211 | 47 | ScopeConfig cfg("configtest2.ini"); | 48 | ScopeConfig cfg("configtest2.ini"); |
212 | 48 | 49 | ||
213 | 49 | EXPECT_EQ("Scope name", cfg.display_name()); | 50 | EXPECT_EQ("Scope name", cfg.display_name()); |
214 | 51 | EXPECT_EQ("Scope description", cfg.description()); | ||
215 | 50 | EXPECT_EQ("scope art", cfg.art()); | 52 | EXPECT_EQ("scope art", cfg.art()); |
216 | 51 | EXPECT_EQ("Canonical", cfg.author()); | 53 | EXPECT_EQ("Canonical", cfg.author()); |
217 | 52 | EXPECT_EQ("an icon", cfg.icon()); | 54 | EXPECT_EQ("an icon", cfg.icon()); |
218 | @@ -59,6 +61,7 @@ | |||
219 | 59 | ScopeConfig cfg("configtest3.ini"); | 61 | ScopeConfig cfg("configtest3.ini"); |
220 | 60 | 62 | ||
221 | 61 | EXPECT_EQ("Scope name", cfg.display_name()); | 63 | EXPECT_EQ("Scope name", cfg.display_name()); |
222 | 64 | EXPECT_EQ("Scope description", cfg.description()); | ||
223 | 62 | EXPECT_EQ("scope art", cfg.art()); | 65 | EXPECT_EQ("scope art", cfg.art()); |
224 | 63 | EXPECT_EQ("Canonical", cfg.author()); | 66 | EXPECT_EQ("Canonical", cfg.author()); |
225 | 64 | EXPECT_EQ("an icon", cfg.icon()); | 67 | EXPECT_EQ("an icon", cfg.icon()); |
226 | @@ -69,3 +72,39 @@ | |||
227 | 69 | EXPECT_EQ(0, cfg.appearance_attributes().size()); | 72 | EXPECT_EQ(0, cfg.appearance_attributes().size()); |
228 | 70 | } | 73 | } |
229 | 71 | } | 74 | } |
230 | 75 | |||
231 | 76 | class ScopeConfigWithIntl: public ::testing::Test | ||
232 | 77 | { | ||
233 | 78 | public: | ||
234 | 79 | ScopeConfigWithIntl() | ||
235 | 80 | { | ||
236 | 81 | setenv("LANGUAGE", "test", 1); | ||
237 | 82 | } | ||
238 | 83 | |||
239 | 84 | ~ScopeConfigWithIntl() | ||
240 | 85 | { | ||
241 | 86 | unsetenv("LANGUAGE"); | ||
242 | 87 | } | ||
243 | 88 | }; | ||
244 | 89 | |||
245 | 90 | TEST_F(ScopeConfigWithIntl, localization) | ||
246 | 91 | { | ||
247 | 92 | { | ||
248 | 93 | ScopeConfig cfg("configtest1.ini"); | ||
249 | 94 | |||
250 | 95 | EXPECT_EQ("copesay amenay", cfg.display_name()); | ||
251 | 96 | EXPECT_EQ("copesay criptiondesay", cfg.description()); | ||
252 | 97 | EXPECT_EQ("scope art", cfg.art()); | ||
253 | 98 | EXPECT_EQ("Canonical", cfg.author()); | ||
254 | 99 | EXPECT_EQ("an icon", cfg.icon()); | ||
255 | 100 | EXPECT_EQ("earchsay ringstay", cfg.search_hint()); | ||
256 | 101 | EXPECT_EQ("a key", cfg.hot_key()); | ||
257 | 102 | |||
258 | 103 | auto attrs = cfg.appearance_attributes(); | ||
259 | 104 | EXPECT_EQ(2, attrs.size()); | ||
260 | 105 | EXPECT_EQ("foo", attrs["arbitrary_key"].get_string()); | ||
261 | 106 | EXPECT_EQ("bar", attrs["another_one"].get_string()); | ||
262 | 107 | |||
263 | 108 | EXPECT_THROW(cfg.scope_runner(), unity::scopes::NotFoundException); | ||
264 | 109 | } | ||
265 | 110 | } | ||
266 | 72 | 111 | ||
267 | === modified file 'test/gtest/scopes/internal/ScopeConfig/configtest1.ini.in' | |||
268 | --- test/gtest/scopes/internal/ScopeConfig/configtest1.ini.in 2014-03-13 12:33:32 +0000 | |||
269 | +++ test/gtest/scopes/internal/ScopeConfig/configtest1.ini.in 2014-04-29 10:31:01 +0000 | |||
270 | @@ -1,10 +1,13 @@ | |||
271 | 1 | [ScopeConfig] | 1 | [ScopeConfig] |
272 | 2 | DisplayName = Scope name | 2 | DisplayName = Scope name |
273 | 3 | DisplayName[test] = copesay amenay | ||
274 | 3 | Description = Scope description | 4 | Description = Scope description |
275 | 5 | Description[test] = copesay criptiondesay | ||
276 | 4 | Art = scope art | 6 | Art = scope art |
277 | 5 | Author = Canonical | 7 | Author = Canonical |
278 | 6 | Icon = an icon | 8 | Icon = an icon |
280 | 7 | SearchHint = a search hint string | 9 | SearchHint = search string |
281 | 10 | SearchHint[test] = earchsay ringstay | ||
282 | 8 | HotKey = a key | 11 | HotKey = a key |
283 | 9 | 12 | ||
284 | 10 | [Appearance] | 13 | [Appearance] |
FAILED: Autolanding. jenkins. qa.ubuntu. com/job/ unity-scopes- api-devel- autolanding/ 174/ jenkins. qa.ubuntu. com/job/ unity-scopes- api-devel- trusty- amd64-autolandi ng/174/ console jenkins. qa.ubuntu. com/job/ unity-scopes- api-devel- trusty- armhf-autolandi ng/174/ console jenkins. qa.ubuntu. com/job/ unity-scopes- api-devel- trusty- i386-autolandin g/174/console
More details in the following jenkins job:
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://