- 27 Jan, 2010 3 commits
-
-
Brett Chabot authored
-
Brett Chabot authored
Bug 2334738 Change-Id: I34da4368a2ef67bdf90bb5a7015ebfac79101b8a
-
Brett Chabot authored
Bug 2361382 Change-Id: I8c3cf84640f09cc6ee6aa76bedacd72e984f8db6
-
- 24 Jan, 2010 1 commit
-
-
Brett Chabot authored
-
- 23 Jan, 2010 1 commit
-
-
Brett Chabot authored
Renamed content package and target to original values. Mock sync test mocks to the stub package. Bug 2386277 Change-Id: I7e98054174f174c6b9f2c7ced47ea06386db8171
-
- 21 Jan, 2010 3 commits
-
-
Brett Chabot authored
Bug 2362120 Change-Id: Ic3b447f5dc6a433b5b122642902eeda239c146dc
-
Brett Chabot authored
-
Brett Chabot authored
Change-Id: I4f81653001281e902263f049b47839673d1734cd
-
- 15 Jan, 2010 2 commits
-
-
Evan Millar authored
-
Fabrice Di Meglio authored
- fix imports - took care of Ken feedbak - fixed variables naming - fixed comments and copyright year and trailing whitespace - fixed some other redundant whitespaces - took care of Fred feedback - code formatting - changed MockSyncAdapter so that it does not use SyncAdapter class anymore - suppress non needed assert on extra Bundle when init in startSync Change-Id: I49de8e101d86e5a3ed59eb3b34a5f6aa4bd580b0
-
- 13 Jan, 2010 2 commits
-
-
Ken Shirriff authored
This reverts commit 9a553cc7.
-
Fabrice Di Meglio authored
- fix imports - took care of Ken feedbak - fixed variables naming - fixed comments and copyright year and trailing whitespace - fixed some other redundant whitespaces - took care of Fred feedback - code formatting Change-Id: Ib5ca091cc37e13be4ff0c56d88059297f640ea8b
-
- 12 Jan, 2010 3 commits
-
-
Dmitri Plotnikov authored
-
Dmitri Plotnikov authored
This CL introduces a mini-ORM framework that makes it incredibly easy and fun to write these tests. Inspired by work done by tomo in GlobalSearchSupportTest. Change-Id: Id8461e3b644d58d6d7d45a60b283c74ac621818a
-
Fabrice Di Meglio authored
-
- 11 Jan, 2010 1 commit
-
-
Fabrice Di Meglio authored
- rework the tests strategy with Fred feedback. Now we test passing parameters and giving back results. - some code refactoring for improving reusability - add tests for addAccountExplicitly() and removeAccount() - add test for getAccounts() and getAccountsByType() - add test for getAuthenticatorTypes() - take care of Fred second review (except the one with the callback parameter): - final for all constants - use of mX for member definition - improve "if" spacing - eliminate reference of the MockAuthenticator into the MockAuthenticatorService - add test for addAccount() with a callback - add test for removeAccount() with a callback - fix non cleaned state for testGetAccountsAndGetAccountsByType() - improve readability - add test for setPassword() and getPassword() and clearPassword() - add test for getUserData() and setUserData() - add test for getAccountsByTypeAndFeatures() - suppress non needed interface for constants and migrate them to the test itself - fix typo - rework test for getAccountsByTypeAndFeatures() - fix typo - add test for setAuthToken() and peekAuthToken() and invalidateAuthToken() - add test for blockingGetAuthToken() - improve addAccount() test with checking Options - add more tests for both getAuthToken() signatures - add test for confirmCredentials() - add test for updateCredential() - add test for editProperties() - add test for addOnAccountsUpdatedListener() - add test for removeOnAccountsUpdatedListener() - code refactoring for suppressing redundencies - fix missing parenthesis - take care of Brett second review: - use of @Override when needed - do not catch exception so that the JUnit runner can deal with them (except for callback as we cannot change the API - add Javadoc for public methods - HAVE NOT changed package name to "com.android.cts.accounts" as Brett and I could not find why the tests where blocking - suppress non needed dumpsys-packages.txt - add super.setUp() and super.tearDown() calls - suppressing trailing whitespaces - take care of Fred second review: - renamed LATCH_TIMEOUT to LATCH_TIMEOUT_MS - renamed validateAccount() to validateAccountAndAuthTokenType() - do not rethrow exceptions when not needed (because taken care by the test framework) - confirmed that some retrieved accounts are correct - no need to confirm that the callback is called because of the latch itself - suppress trailing whitespaces again - fix bug #2342468 (android.accounts.cts.AccountManagerTest#testAddAndRemoveAccount fails if another account is present) - refactor tests to take care about handlers - add test for UpdateCredentials() with callback and handler - take care of Fred third review - method renaming - code formatting - use of array instead of list - the comment was correct. - add one missing assert - suppressed duplicate comment - fix label and change account authenticator icon for using the Android standard one Change-Id: I84661fdc108943693947f807dd3f97837cac2a0f
-
- 09 Jan, 2010 3 commits
-
-
Brett Chabot authored
-
Brett Chabot authored
Test was dependent on a specific key layout map, and was of limited value. Bug 1950790 Change-Id: I31b1208494772c68c53a78ebe7ec9675c1829182
-
Brett Chabot authored
Use the same timezone when comparing Time and Calendar instances. Bug 2139172 Change-Id: I415dbeff4821c4ebcf6600338355cba45e187d3e
-
- 22 Dec, 2009 1 commit
-
-
Brett Chabot authored
Omit broken tests, and fix race condition in TelephonyManagerTes#@testListen. Bugs 2342468, 2189784, 2323047, 2342606 Change-Id: I8193b3130248ade8a2ede5f997d9522a1b2a5529
-
- 19 Dec, 2009 3 commits
-
-
Android (Google) Code Review authored
* changes: Register a callback for video size change in testPlayVideo.
-
Android (Google) Code Review authored
* changes: Remove duplicate and brittle ResourcesTests.
-
Gloria Wang authored
-
- 18 Dec, 2009 3 commits
-
-
Android (Google) Code Review authored
* changes: CTS test cleanup: mark known failures.
-
Brett Chabot authored
Bugs 218978 2136225 2136234 2258907 2323405 2323433 2323459 2250024 Change-Id: I9da3b25b4ccdd3df4c6b00456d0e42133e35ccaf
-
Brett Chabot authored
Bug 2299472 Change-Id: Ie9ece9e2259c23d0f085fd13bf48995c0fc373f4
-
- 17 Dec, 2009 5 commits
-
-
Android (Google) Code Review authored
* changes: Fix flaky CTS test ListActivityTest#testListActivity.
-
Brett Chabot authored
Bug 2135117 Change-Id: I45a73c9686039bea7218d6b6e61fedb094f37225
-
Brett Chabot authored
Make test independent of the number of existing files present in private dir. Remove unnecessary and destructive 'delete all files' logic. Bug 2323047 Change-Id: I194e3179c5d44ced5a02a193d233a3e3c293fc85
-
Brett Chabot authored
Bug 2334738 Change-Id: I2e929f5a7594bfb6fea796717138f48a75ee3347
-
Android (Google) Code Review authored
* changes: Adjust CTS WebSettingsTests for new no-op behaviour.
-
- 16 Dec, 2009 4 commits
-
-
Android (Google) Code Review authored
* changes: Fix CTS signature tests.
-
Brett Chabot authored
Add logic to handle fields with generic types and relax abstract checking for enums. Also add missing sig unit test class AbstractClass, and cleanup whitespace. Bug 2235744 Change-Id: I1ad6f87613d2cc16ac3380a871c95cf1cd4090d2
-
Android (Google) Code Review authored
* changes: Add camera tests for setPreviewDisplay (do not merge).
-
Wu-cheng Li authored
Our camera app calls startPreview before setPreviewDisplay. We need to make sure camera drivers all support this. Cherry-pick from fef2b490.
-
- 14 Dec, 2009 1 commit
-
-
Dan Bornstein authored
that I'm going to write this year). Change-Id: Ib32a2c603c277215051380f6e38b37ce10a6128f
-
- 12 Dec, 2009 4 commits
-
-
Android (Google) Code Review authored
* changes: Fix android.text.method.cts.CharacterPickerDialogTest:testOnClick.
-
Android (Google) Code Review authored
* changes: Increment API level check in CTS.
-
Android (Google) Code Review authored
* changes: Fix ListViewTest#testAccessItemChecked
-
Android (Google) Code Review authored
* changes: Remove erroneous exception check from LinearLayoutTest#testGetBaseline.
-