History log of /packages/apps/Browser/tests/src/com/android/browser/tests/BP2ProviderTests.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2bc42420fdf7e42cbdcca0a07e73fbefe7edb5bf 09-Aug-2011 John Reck <jreck@google.com> Fix BP2ProviderTests

Bug: 5142434
For testIsValidParentWithAccount, the test would remove the account*
from a bookmark it was inserting with a valid parent. The provider
would correctly identify that a parent was set, but no account info and
thus used the account info of the parent. This is not what the test was
expecting, however, leading to this error. Fix the tests to explicitly
check for child account* not matching parent account* (in which case the
parent is discarded, and the bookmark is inserted at the root folder of
the child's account*), and for testing the lack of a specified account*.

Change-Id: I15b318ee1e846b18ffa187720814c3761d19933a
/packages/apps/Browser/tests/src/com/android/browser/tests/BP2ProviderTests.java
57e39f9e46091750c8a07895531446a7f0efdb21 04-Mar-2011 John Reck <jreck@google.com> Fix isValidParent check

Bug: 3506038
Lookup the parent itself, not the children of the parent in
isValidParent check. Also, adds testing to watch for regressions

Change-Id: I59f00094f862f2e9cd4b4f9fd92d370b87e612e5
/packages/apps/Browser/tests/src/com/android/browser/tests/BP2ProviderTests.java
7dd30cb0bd011e5fbd817fa64863b4c266dd76b7 17-Feb-2011 John Reck <jreck@google.com> Fix shouldUpdateImage check

Bug: 3466212
Also added a test case to check for regressions

Change-Id: I9a8979a0ced165f1c94945c62687b0bf3b7076fe
/packages/apps/Browser/tests/src/com/android/browser/tests/BP2ProviderTests.java