touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #49252
[Bug 1401717] Re: Scope test fixture throws exception when scope uses cache_directory()
** 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/1401717
Title:
Scope test fixture throws exception when scope uses cache_directory()
Status in unity-scopes-api package in Ubuntu:
Fix Released
Bug description:
When using TypedScopeFixture to test a scope that makes use of
cache_directory any tests will always fail with the following message
(regardless of where the cache_directory call is in the scope code):
C++ exception with description "unity::LogicException:
ScopeBase::cache_directory() cannot be called from constructor" thrown
in the test body.
A similar problem with scope_directory() was solved by adding a
set_scope_directory() method to the fixture.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity-scopes-api/+bug/1401717/+subscriptions
References