← Back to team overview

touch-packages team mailing list archive

[Bug 1401717] Re: Scope test fixture throws exception when scope uses cache_directory()

 

A fix for this is in trunk already, dated 29 Nov. It probably hasn't
made it into your image yet.

** Changed in: unity-scopes-api (Ubuntu)
       Status: New => Fix Committed

-- 
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 Committed

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