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

2015-01-21 Thread Michi Henning
** 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

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


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

2014-12-12 Thread Scott Sweeny
Given that this is part of the test framework and not functionality run
on the phone itself is there any chance of this fix being backported to
utopic?

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

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


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

2014-12-11 Thread Michi Henning
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

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