unity::scopes::testing::TypedScopeFixture<> usage always fails
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Fix Released
|
Medium
|
Alejandro J. Cura | ||
unity-scopes-api (Ubuntu) |
Fix Released
|
Undecided
|
Michi Henning |
Bug Description
Following the official documentation at the Ubuntu developer gateway https:/
The unit tests always fail at runtime with an error similar to the following.
[ RUN ] ScopeFixture.
/usr/
Expected: scope->
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, TypedScopeFixtu
Related branches
- Marcus Tomlinson (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 12 lines (+2/-0)1 file modifiedinclude/unity/scopes/testing/TypedScopeFixture.h (+2/-0)
tags: | added: patch |
Changed in unity-scopes-api (Ubuntu): | |
assignee: | nobody → Michi Henning (michihenning) |
status: | New → Confirmed |
Changed in unity-scopes-api (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in unity-scopes-api (Ubuntu): | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | New → In Progress |
importance: | Undecided → Medium |
assignee: | nobody → Alejandro J. Cura (alecu) |
milestone: | none → 11 |
Changed in unity-scopes-api (Ubuntu): | |
status: | Fix Committed → Fix Released |
status: | Fix Released → Fix Committed |
status: | Fix Committed → Fix Released |
Changed in unity-scopes-api (Ubuntu): | |
status: | Fix Released → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | In Progress → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
Changed in canonical-devices-system-image: | |
status: | Fix Released → Fix Committed |
Changed in canonical-devices-system-image: | |
status: | Fix Committed → Fix Released |
This bug was fixed in the package unity-scopes-api - 1.0.4+16. 04.20160402. 4-0ubuntu1
--------------- 16.04.20160402. 4-0ubuntu1) xenial; urgency=medium
unity-scopes-api (1.0.4+
[ Marcus Tomlinson ] format- 3.x. Added missing initializations to TypedScopeFixture
* Simplify debian/control munging. Look for clang-format as opposed to
clang-
(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 address hidden> Sat, 02 Apr 2016 03:24:17 +0000