This bug was fixed in the package unity-scopes-api -
1.0.4+16.04.20160402.4-0ubuntu1
---------------
unity-scopes-api (1.0.4+16.04.20160402.4-0ubuntu1) xenial; urgency=medium
[ Marcus Tomlinson ]
* Simplify debian/control munging. Look for clang-format as opposed to
clang-format-3.x. Added missing initializations to TypedScopeFixture
(Bug #1542906). Allow clients to specify authentication parameters
(Bug #1554040). (LP: #1554040, #1542906)
[ Michi Henning ]
* Fixed incorrect generation of Replaces: and Conflicts: entries in
debian/control for xenial. Fixed incorrect library soname for vivid.
-- Marcus Tomlinson <[email protected]> Sat, 02 Apr 2016
03:24:17 +0000
** Changed in: unity-scopes-api (Ubuntu)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity-scopes-api in
Ubuntu.
https://bugs.launchpad.net/bugs/1542906
Title:
unity::scopes::testing::TypedScopeFixture<> usage always fails
Status in Canonical System Image:
Fix Committed
Status in unity-scopes-api package in Ubuntu:
Fix Released
Bug description:
Following the official documentation at the Ubuntu developer gateway
https://developer.ubuntu.com/api/scopes/cpp/sdk-15.04.1 I tried to
create a scope fixture to use in my test cases using the
unity::scopes::testing::TypedScopeFixture<> template to wrap my Scope
class.
The unit tests always fail at runtime with an error similar to the following.
[ RUN ] ScopeFixture.surfacing_query
/usr/include/unity-scopes-1.0/unity/scopes/testing/TypedScopeFixture.h:90:
Failure
Expected: scope->start(ScopeTraits<Scope>::name()) doesn't throw an
exception.
Turns out the problem is that the TypedScopeFixture template class
does not call the required initialization functions in its
constructor. It's not possible to work around this by driving from
TypedScopeFixture because the required initialization functions (for
example, TypedScopeFixtureHelper::set_scope_directory()) are private
static member functions in another class. The only workaround is to
include a modified copy of TypedScopeFixture.h in my own project.
To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1542906/+subscriptions
--
Mailing list: https://launchpad.net/~touch-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~touch-packages
More help : https://help.launchpad.net/ListHelp