2abe25525831a97015a0b5a283c93f5f414643b5 |
|
19-Mar-2016 |
Keun Soo Yim <yim@google.com> |
Selected CTS testcases to use as AVD-based presubmit test. The list is at go/cts-presubmit-candidates Bug: 27721843 Change-Id: Id3c7125fbeef02c2907ff6727f9817792143e48c
|
570708fad715795b8a3fa8be28f0a4e3d7e1c8f0 |
|
05-Feb-2016 |
Simranjit Singh Kohli <simranjit@google.com> |
Improving CTS coverage for accounts Adding new tests for improving coverage. Bug: 2078058 Change-Id: Ibefada1fa178cfbe72d602e8f89e8b1936d5ec23
|
41db3385f518722e12a9b95a470f629b5715a902 |
|
14-Jan-2016 |
Sandra Kwan <sandrakwan@google.com> |
Revert "AccountManager: CTS tests for startAddAccount API." This reverts commit 7a014d1c467413d780bc678bb5ac7822932ab27f. Change-Id: I9b2e61acbcc58ad673de03dfd2850a9d09146a31
|
afed489c8b5d045e533efee015a9030b49a30c75 |
|
14-Jan-2016 |
Sandra Kwan <sandrakwan@google.com> |
Revert "AccountManager: CTS tests for startUpdateCredentials API." This reverts commit 6f8eea9229412914ecd90f8840da2d8eb06634cc. Change-Id: Ibb7deaaaf4a2173406a87b54cfb881ac7c8fbe1c
|
745b4d9fbe962ba5a7d3b4e289773ab133723498 |
|
14-Jan-2016 |
Sandra Kwan <sandrakwan@google.com> |
Revert "AccountManager: CTS tests for finishSession API." This reverts commit e6572c08c3bf2061cd81a333bb78f189e2db4a6b. Change-Id: Ic99339fcbc03ca7dd6069646f00ef70f759b2028
|
e6572c08c3bf2061cd81a333bb78f189e2db4a6b |
|
10-Nov-2015 |
Sandra Kwan <sandrakwan@google.com> |
AccountManager: CTS tests for finishSession API. Change-Id: I7df61187e16b8a856baf77bfc0a9fa5b916024da
|
6f8eea9229412914ecd90f8840da2d8eb06634cc |
|
13-Nov-2015 |
Sandra Kwan <sandrakwan@google.com> |
AccountManager: CTS tests for startUpdateCredentials API. Change-Id: I846e44a5a7a45506bec0ce161e0ab441b6831c2c
|
7a014d1c467413d780bc678bb5ac7822932ab27f |
|
04-Nov-2015 |
Sandra Kwan <sandrakwan@google.com> |
AccountManager: CTS tests for startAddAccount API. Change-Id: Id85e67040e5943c8336db72b42b04f1194f90efa
|
f3b6b6771bfd40c4e27f5a48d1296da3b03008b6 |
|
24-Jun-2015 |
Simranjit Singh Kohli <simranjit@google.com> |
[CTS update lastAuthenticatedTime] Update behavior of lastAuthenticatedTime. Bug: 21959561 Change-Id: I3c078e7310b359645a2b23d2327646a7d7a993db
|
9db219d0cd071d9955fba1f195c2fae9ed561b56 |
|
25-May-2015 |
Carlos Valdivia <carlosvaldivia@google.com> |
SystemHealth: Tests defining token caching behavior. This will define the behavior for both customToken=false and custom=true authenticators. An upside of this change is that a lot of assumed token behavior vis a vis android:customToken=true authenticators that was never tested now is tested. Bug: 21530782 Change-Id: I4a1aa52a9ecf5cd129c557e8e26839be11019d84
|
439f8d13dc92c25d5fc209492c4a1736da2d6662 |
|
22-Apr-2015 |
Simranjit Singh Kohli <simranjit@google.com> |
[CTS tests for lastAuthenticatedTime and accountAuthenticated change]: Introducing CTS tests for testing the working of confirmCredentials, updateCredentials and accountAuthenticated. This is to check the correct working of the extra field of lastAuthenticatedTime in accountsDb. Change-Id: Ic87cfc88cfdd9d52ade76e0e50c72a613d5e7695
|
99ced0100e201df0b2a763bb6b1cbdeac2514106 |
|
11-Nov-2014 |
Simranjit Singh Kohli <simranjit@google.com> |
[RemoveAccount API CTS test] : Updating CTS test for the remove account API. Bug: 18292092 Change-Id: I618a3c33518c8921f6dba2c15db699b04548f946
|
9e2e5e999773d295ecaa18acc282c591fcb0a759 |
|
20-Sep-2014 |
Nicholas Sauer <nicksauer@google.com> |
Fix broken tests in android.accounts.cts.AccountManagerTest. Broken on account of the changed behavior of AndroidJUnitRunner.java no longer calling Looper.prepare. See ag/547306 bug:17558966 Change-Id: I9a35e4ac01b5dca342743b5df292b4d2cc263d44
|
cc38aba4b5bc613b8edbc4a6775dc5616225943b |
|
18-Jul-2014 |
Carlos Valdivia <carlosvaldivia@google.com> |
Test renaming accounts. Bug: 16390602 Change-Id: Ia23f53e7846a07afb6262019054cb9d5cf8b37da
|
a8d334ed2441094d306e341ccc5096dd7323235f |
|
09-Sep-2011 |
Costin Manolache <costin@google.com> |
Adjust options check based on the current API changes b/5278759 API changes to pass package, options Change-Id: Ib2794aefc14f13b9ca8648ebaef301f8b2839ef7
|
889c11b66c5130b30d354f1200aa9aee811a3d3f |
|
21-Apr-2011 |
Fred Quintana <fredq@google.com> |
Enhance the options check so that if we expect to see a null options bundle we accept a non-null but empty bundle as well. Bug: 4182396 Change-Id: Ic10dc9aa33df01565fcacb8b3aef2852e2b3535b
|
a760f21f3a8ce066b444f79d730a11ee86bdc1e9 |
|
21-Apr-2011 |
Fred Quintana <fredq@google.com> |
Enhance the options check so that if we expect to see a null options bundle we accept a non-null but empty bundle as well. Bug: 4182396 Change-Id: Ic10dc9aa33df01565fcacb8b3aef2852e2b3535b
|
2f4bfbf51aa6044196f5a2e9767589aeb8324c51 |
|
14-Feb-2011 |
Fred Quintana <fredq@google.com> |
Enhance the options check so that if we expect to see a null options bundle we accept a non-null but empty bundle as well. Bug: 3412989 Change-Id: I8967b1cd23510cd1b78ac55aef8780f579ed98d3
|
40548eaeb8751a6e7c3faaf4dfbc0e276f9c6075 |
|
14-Feb-2011 |
Fred Quintana <fredq@google.com> |
Enhance the options check so that if we expect to see a null options bundle we accept a non-null but empty bundle as well. Bug: 3412989 Change-Id: Idd0c6ad17960a24dbb69aa0eae35791ffb66f539
|
8c8725239c51599933805af0227c0cdf52b28ccc |
|
11-Feb-2011 |
Brian Muramatsu <btmura@google.com> |
Revert "Fix AccountManagerTest#testGetAuthTokenByFeatures" This reverts commit 7a4daf2e9dfdc4d2061166a747aafc1f16ae67c8.
|
7a4daf2e9dfdc4d2061166a747aafc1f16ae67c8 |
|
08-Feb-2011 |
Brian Muramatsu <btmura@google.com> |
Fix AccountManagerTest#testGetAuthTokenByFeatures Bug 3412989 Change I5f2624 "Fix previous quick fix, LoginOptions is final." and Change Ifb6a8b "Fix NPE, caller may not pass loginOptions" changed whether or not the bundle passed was passed back to getAuthToken. The test has four main tests: The first test tries calls getAuthTokenByFeature using a null activity. The AccountManager doesn't have any accounts (although theres a call to addAccountExplicitly at the beginning of the test), so it calls addAccount instead of getAuthToken (no idea why). As a result, there is no auth token returned, so the test passes. The second test was failing because it expected the auth token options returned to be null. The AccountManager has an account this time around, so it calls getAuthToken instead. AccountManager#getAuthToken passed null for the options to AccountManagerServices#getAuthToken which has the new NPE check cited above so that causes an options bundle to be passed to the MockAuthenticator which records having received a bundle! This causes the failure. Thus, the test now checks that the options bundle returned is non-null. The final test returns a null options. This is because now the AccountManager has put the account in its cache. As a result, it returns without calling the MockAuthenticator and returns a custom bundle using data from the cache. As a result, the test passes, because the MockAuthenticator wasn't called. Change-Id: I2d71fe30f6e1cabcf673bfb362dc9dc61a9cc1f9
|
ec838d206cd8f5b72bffb99098a2e733fcf1d3f9 |
|
07-Dec-2010 |
Brad Fitzpatrick <bradfitz@android.com> |
AccountManagerTest: test caching Change-Id: I5ee371fa1961571c0123c7b12109a22a14cbed27
|
767651cc8c189730a7e7cc953d620cb9ef63f7e1 |
|
14-Oct-2010 |
Brian Muramatsu <btmura@google.com> |
Fix AccountManagerTest#testHasFeatureWithCallback Bug 3097462 Mark testHasFeatureWithCallback as private, since its not a test. CTS was picking it up as a test and trying to run it but failing because that method takes a parameter. Change-Id: Ie90ae033748ef90ff293bd73f962d3087a2975c6
|
ac3a8afcf4292dd827c846c50f3bce0d2ee51a1c |
|
14-Oct-2010 |
Brian Muramatsu <btmura@google.com> |
Fix AccountManagerTest#testHasFeatureWithCallback Bug 3097462 Mark testHasFeatureWithCallback as private, since its not a test. CTS was picking it up as a test and trying to run it but failing because that method takes a parameter. Change-Id: Ie90ae033748ef90ff293bd73f962d3087a2975c6
|
42a7d8079bd8bcbbe32a7a0c5326b1591cbbf594 |
|
15-Mar-2010 |
Fabrice Di Meglio <fdimeglio@google.com> |
Add unit tests for AccountManager.hasFeatures() Change-Id: I0cdf9759526ed78f5e67b6981ad88c219271f2dd
|
4199748c926b40c0a43cef0670030e71d7be6ab1 |
|
08-Mar-2010 |
Fred Quintana <fredq@google.com> |
- fix a test that is now broken after a change to filter the authtoken from the result of any call but getAuthToken - made the tests distinguish between the different types of options - test the authtoken result in a couple places where it wasn't tested before
|
3da7534f2880068b90b88585c45be62751dbfd6b |
|
13-Jan-2010 |
The Android Open Source Project <initial-contribution@android.com> |
android-2.1_r1 snapshot
|
aecd08721007e2cb5c8ebff166d701799fba22b7 |
|
08-Dec-2009 |
Fabrice Di Meglio <fdimeglio@google.com> |
Second step to CTS account manager - 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
|
ec611467d3133d3c38af549a3cafa70567d5ec83 |
|
23-Dec-2009 |
Brett Chabot <brettchabot@android.com> |
More CTS test cleanup. Omit broken tests, and fix race condition in TelephonyManagerTes#@testListen. Bugs 2342468, 2189784, 2323047, 2342606 Change-Id: I8193b3130248ade8a2ede5f997d9522a1b2a5529
|
0218658e93460c7b95c9b244ad4a1f3e5dcdeb61 |
|
03-Dec-2009 |
Fabrice Di Meglio <fdimeglio@google.com> |
First step to CTS account manager 1) Took care of Brett review items and added a change for filtering features into hasFeatures() 2) Tool care of second Brett review: - suppresing trailing whitespaces - test is now self-instrumented 3) Took care of 100 chars max + suppressing Google reference into the icons
|