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
|