• Home
  • History
  • Annotate
  • only in /packages/apps/Browser/tests/src/com/android/browser/tests/
History log of /packages/apps/Browser/tests/src/com/android/browser/tests/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
e7ac37e77ad8605b5e730fe48f088bb77df4b57a 26-May-2012 Dianne Hackborn <hackbod@google.com> Update to follow internal impl.

Change-Id: I40cae53d7ae724c44c40fb7f21649e807416ae54
tils/MockContentResolver2.java
5bc61e23008567a9d934848359439d8936aa3482 10-May-2012 Dianne Hackborn <hackbod@google.com> Update to follow internal API changes.

Change-Id: I5447e251a4b1b75561ae9a9a2174330505a6912b
tils/MockContentResolver2.java
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
P2ProviderTests.java
db78cd054b0344e67a18dc9e1d1a154d3814dc77 09-Aug-2011 John Reck <jreck@google.com> Tests fixup

Bug: 5113381
Fix case of using the wrong context (BP1 would use the app context
explicitly, bypassing the mock context)
Clean up test databases after runs

Change-Id: Ibac09d08d4ab7235d5763c209d84be2562e6fae3
tils/BP2TestCaseHelper.java
tils/ProviderTestCase3.java
a25ba4eab91ffdaac6814b575ec56bdf36aeb3da 29-Jul-2011 John Reck <jreck@google.com> Fix BP1to2UpgradeTests

Bug: 5092056
Turns out the test was wrong, not the provider. Oops

Change-Id: I46439a342c810035c8dba0423c75a5daa882759c
P1to2UpgradeTests.java
ad662f04ed7fbd9ce464fed54fd7764290e800e8 28-Jul-2011 John Reck <jreck@google.com> Tests for BP1->BP2 upgrade

Bug: 5087957

Change-Id: Idf70c488baa515222ce8ed905aa5c80a529fd15f
P1to2UpgradeTests.java
tils/ProviderTestCase3.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
P2ProviderTests.java
tils/BP2TestCaseHelper.java
tils/ProviderTestCase3.java
7de6ed00f051c97d44ae579c003d1fed68352bec 17-Feb-2011 John Reck <jreck@google.com> Merge "Fix shouldUpdateImage check"
57928453a0996396a7a899cd4637d3e8865b1f97 17-Feb-2011 John Reck <jreck@google.com> Fix updatescreenshot behavior

Bug: 3466250
URL query parameters are imporant, don't strip them

Change-Id: I9c43598f56150470658485364aadfd0425bfa8cd
ookmarksTests.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
P2ProviderTests.java
3047781decc7691fe58980aa101c409b794bc68a 09-Feb-2011 Guang Zhu <guangzhu@google.com> mark tests as SmallTest

looks like these tests has no external dependency and runs
reasonably fast. marking them as "SmallTest" will make them
automatically picked up by continuous tests on dev branch &
monitor failures.

Change-Id: I4addee3ed369f00cb52e828f146a6958b9cb3a09
P2UriObserverTests.java
e6adaf57a9a4f05e88505e4a86c565b5f18a1d3b 02-Feb-2011 John Reck <jreck@google.com> BP2 ContentResolver.notifyChange tests

Bug: 3431373

Change-Id: I0ce30213150c6dd51b128723f044bd32eb2b46a3
P2UriObserverTests.java
tils/BP2TestCaseHelper.java
tils/MockContentResolver2.java
tils/MockObserverNode.java
tils/ProviderTestCase3.java