Public bug reported:

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.

** Affects: unity-scopes-api (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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:
  New

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to