Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-12 | am 843b2806: Handle @null values in string-arraysandroid-cts-6.0_r9android-cts-6.0_r8android-cts-6.0_r7android-cts-6.0_r6android-cts-6.0_r5android-cts-6.0_r4android-cts-6.0_r32android-cts-6.0_r31android-cts-6.0_r30android-cts-6.0_r3android-cts-6.0_r29android-cts-6.0_r28android-cts-6.0_r27android-cts-6.0_r26android-cts-6.0_r25android-cts-6.0_r24android-cts-6.0_r23android-cts-6.0_r22android-cts-6.0_r21android-cts-6.0_r20android-cts-6.0_r2android-cts-6.0_r19android-cts-6.0_r18android-cts-6.0_r17android-cts-6.0_r16android-cts-6.0_r15android-cts-6.0_r14android-cts-6.0_r13android-cts-6.0_r12android-cts-6.0_r1android-6.0.1_r9android-6.0.1_r81android-6.0.1_r80android-6.0.1_r8android-6.0.1_r79android-6.0.1_r78android-6.0.1_r77android-6.0.1_r74android-6.0.1_r73android-6.0.1_r72android-6.0.1_r70android-6.0.1_r7android-6.0.1_r69android-6.0.1_r66android-6.0.1_r65android-6.0.1_r63android-6.0.1_r61android-6.0.1_r60android-6.0.1_r59android-6.0.1_r58android-6.0.1_r57android-6.0.1_r56android-6.0.1_r55android-6.0.1_r52android-6.0.1_r51android-6.0.1_r50android-6.0.1_r5android-6.0.1_r49android-6.0.1_r48android-6.0.1_r47android-6.0.1_r46android-6.0.1_r43android-6.0.1_r42android-6.0.1_r41android-6.0.1_r40android-6.0.1_r4android-6.0.1_r33android-6.0.1_r32android-6.0.1_r31android-6.0.1_r30android-6.0.1_r3android-6.0.1_r28android-6.0.1_r27android-6.0.1_r26android-6.0.1_r20android-6.0.1_r18android-6.0.1_r17android-6.0.1_r16android-6.0.1_r13android-6.0.1_r12android-6.0.1_r11android-6.0.1_r10android-6.0.1_r1android-6.0.0_r7android-6.0.0_r6android-6.0.0_r5android-6.0.0_r41android-6.0.0_r4android-6.0.0_r3android-6.0.0_r26android-6.0.0_r25android-6.0.0_r24android-6.0.0_r23android-6.0.0_r2android-6.0.0_r13android-6.0.0_r12android-6.0.0_r11android-6.0.0_r1marshmallow-releasemarshmallow-mr3-releasemarshmallow-mr2-releasemarshmallow-mr1-releasemarshmallow-mr1-devmarshmallow-dr-releasemarshmallow-dr-dragon-releasemarshmallow-dr-devmarshmallow-devmarshmallow-cts-release | oleksii stepanian | |
* commit '843b280670d6531a6d6c92f7b3b8fce7cc9f0290': Handle @null values in string-arrays | |||
2014-11-12 | Handle @null values in string-arraysandroid-wear-5.1.1_r1android-wear-5.1.0_r1master-soong | oleksii stepanian | |
Scope: - when a string-array resource has a value @null, robolectric crashes on processing it. It redundantly removes "@" from resource id which leaves only "null" value for string resource loader and leads to NPE. problem xml content addressed by this cl: <string-array name="some_name"> <item>@null</item> </string-array> Change-Id: I744a7f0b9e0cb3c6fc255a16159cd63a43bf975e (cherry picked from commit ee8ff43810b93e386dd96f5d0dab7e8501c0b9f4) | |||
2014-08-21 | Handle @null values in string-arrays | oleksii stepanian | |
Scope: - when a string-array resource has a value @null, robolectric crashes on processing it. It redundantly removes "@" from resource id which leaves only "null" value for string resource loader and leads to NPE. problem xml content addressed by this cl: <string-array name="some_name"> <item>@null</item> </string-array> Change-Id: I744a7f0b9e0cb3c6fc255a16159cd63a43bf975e | |||
2014-05-26 | Update pom.xml to latest released android 18 version.android-wear-5.0.0_r1android-cts-5.1_r9android-cts-5.1_r8android-cts-5.1_r7android-cts-5.1_r6android-cts-5.1_r5android-cts-5.1_r4android-cts-5.1_r3android-cts-5.1_r28android-cts-5.1_r27android-cts-5.1_r26android-cts-5.1_r25android-cts-5.1_r24android-cts-5.1_r23android-cts-5.1_r22android-cts-5.1_r21android-cts-5.1_r20android-cts-5.1_r2android-cts-5.1_r19android-cts-5.1_r18android-cts-5.1_r17android-cts-5.1_r16android-cts-5.1_r15android-cts-5.1_r14android-cts-5.1_r13android-cts-5.1_r10android-cts-5.1_r1android-cts-5.0_r9android-cts-5.0_r8android-cts-5.0_r7android-cts-5.0_r6android-cts-5.0_r5android-cts-5.0_r4android-cts-5.0_r3android-5.1.1_r9android-5.1.1_r8android-5.1.1_r7android-5.1.1_r6android-5.1.1_r5android-5.1.1_r4android-5.1.1_r38android-5.1.1_r37android-5.1.1_r36android-5.1.1_r35android-5.1.1_r34android-5.1.1_r33android-5.1.1_r30android-5.1.1_r3android-5.1.1_r29android-5.1.1_r28android-5.1.1_r26android-5.1.1_r25android-5.1.1_r24android-5.1.1_r23android-5.1.1_r22android-5.1.1_r20android-5.1.1_r2android-5.1.1_r19android-5.1.1_r18android-5.1.1_r17android-5.1.1_r16android-5.1.1_r15android-5.1.1_r14android-5.1.1_r13android-5.1.1_r12android-5.1.1_r10android-5.1.1_r1android-5.1.0_r5android-5.1.0_r4android-5.1.0_r3android-5.1.0_r1android-5.0.2_r3android-5.0.2_r1android-5.0.1_r1android-5.0.0_r7android-5.0.0_r6android-5.0.0_r5.1android-5.0.0_r5android-5.0.0_r4android-5.0.0_r3android-5.0.0_r2android-5.0.0_r1lollipop-wear-releaselollipop-releaselollipop-mr1-wfc-releaselollipop-mr1-releaselollipop-mr1-fi-releaselollipop-mr1-devlollipop-mr1-cts-releaselollipop-devlollipop-cts-release | Jon Boekenoogen | |
Change-Id: Ieafc71876b20f0930d5e39166de5c18334df512f | |||
2014-05-05 | Add a clearLastLoadedUrl() method to ShadowWebView | Farand Koo | |
Change-Id: Iac7995520e4480123c4db88423468fbd48295acf | |||
2014-05-02 | Fix junit dep. | Jon Boekenoogen | |
Change-Id: I6b8228263496bc5f8b4ab28dcb285f7b401f4fd5 | |||
2014-03-29 | Build Robolectric with Gradle. | Jon Boekenoogen | |
Change-Id: I5c820036fc5795e8b2668e191e866fc99eca6938 | |||
2014-03-20 | Have getFragments() actually return all fragments | Farand Koo | |
Change-Id: Ib255a4087122906ac2272d802fa5fd9402ae8a90 | |||
2013-12-12 | Convert Robov1 to a host java library. | Jon Boekenoogen | |
This allows for removing the junit, objenesis, and hamcrest jars from being included since they can be built from source. Change-Id: I6beaeeab90184819b080aa6f1178ffc778c153c0 | |||
2013-11-26 | Merge "Switch ShadowBundle to use a TreeMap in robo-v1" | Zhihong Xu | |
2013-11-26 | Merge "Fix resource loading issue." | Jon Boekenoogen | |
2013-11-26 | Merge "Fix crash when reading a Parcelable from a Bundle." | Jon Boekenoogen | |
2013-11-26 | Switch ShadowBundle to use a TreeMap in robo-v1 | Zhihong Xu | |
Many Wallet tests assert equality of Parcelables by writing them to Parcels and comparing the Parcels. This assumes a one-to-one mapping between Parcelables and their Parcel representations. The assumption holds for most Parcelables we come across, but breaks down for Bundle. The Parcel representation of Bundle depends on the order of the items in the Bundle. Previously ShadowBundle was backed by an unordered HashMap. The order of items in the map can be affected by the order in which the items are inserted. This change fixes that by switching to an ordered TreeMap. Change-Id: I5b6c3a6c4d6120176864f091fd59b2c7e8d94a69 | |||
2013-11-25 | Add getChildFragmentManager to robov1. | Jon Boekenoogen | |
Change-Id: Ie2b6b3d735d42b6f28dbe9c93a23560454055cc7 | |||
2013-11-22 | Fix crash when reading a Parcelable from a Bundle. | Jon Boekenoogen | |
Do not need to look at ShadowParcelables for CREATOR objects since for each instead where a shadow has a CREATOR the CREATOR is set on the actual class to allow direct access in tests anyway. Tested against current Wallet/Plus tests successfully. Change-Id: I4dfce77dfbbc93874742f9c5cb268a2eb5a6ed7e | |||
2013-11-21 | Fix resource loading issue. | Jon Boekenoogen | |
Once robolectric tests are run with PanoSetupLib resources it crashes with a NumberFormatException. This is caused by the resource loader having the assumption that resources that are referenced must be of the same type. Such as: <dimen name="foo">10dp</dimen> <dimen name="bar">@dimen/foo</dimen> However, the following case crashes (and is valid): <integer name="foo">30dp</integer> <dimen name="bar">@integer/foo</dimen> This change explicitly allowed dimen resources to reference dimen resources and integer resources. Probably wouldn't need this change if we moved to v2 which uses AOSP code for resource loading, but haven't had time to work on the migration. Change-Id: I726f69bd5740f31b7d9f1ae863a8792d764f3ee3 | |||
2013-11-19 | Merge "Added RobolectricPackageManager.queryIntentServices" | Walter Jang | |
2013-11-15 | Added RobolectricPackageManager.queryIntentServices | Walter Jang | |
Change-Id: I86ed0d1ce022ae5b25fd20d8e0a901d810fb4b12 | |||
2013-11-11 | Add some missing methods to ShadowParcel. | Jon Boekenoogen | |
Meant to help tide Wallet over until v2 is completely checked in. Change-Id: I74b4aef44749e022aa819fb1999dd39e8ea9eef6 | |||
2013-10-22 | Add support for PackageManager.queryBroadcastReceivers | Jon Boekenoogen | |
Used as an intermediate step to reduce the pain when switching to Robolectric v2. Change-Id: I7f98734896e030ed7b343f3bd0f05d263aa5b8a4 | |||
2013-10-09 | Add support for Fragment.isVisible() and Fragment.isAdded() | Jon Boekenoogen | |
Change-Id: I78f3224dd7aaea72096fe1760a2d1308271961d2 | |||
2013-10-07 | Merge "Implement Robolectric ShadowTheme.resolveAttribute" | Zhihong Xu | |
2013-09-26 | Merge "Implement SSLCertificateSocketFactory#getHttpSocketFactory" | Jon Boekenoogen | |
2013-09-26 | Implement SSLCertificateSocketFactory#getHttpSocketFactory | Jon Boekenoogen | |
Change-Id: I910d1df9b3010161244abaafdf851cebabd666d0 | |||
2013-09-25 | Implement Robolectric ShadowTheme.resolveAttribute | Zhihong Xu | |
Change-Id: I04fff6a91176b3ab203ab8976a4c0b71a1ea0c08 | |||
2013-09-24 | Fix Robolectric ShadowSpannableStringBuilder | Zhihong Xu | |
ShadowSpannableStringBuilder.append() was dropping non-String arguments passed to it. This CL converts the argument to string before appending it. This workaround allows tests to at least verify the stringified version of the text. A real fix would be to properly implement ShadowSpannableStringBuilder to support all CharSequence types and to handle spans. Change-Id: I26db6998f2389abb738a3edcb3dc0398ca4d3425 | |||
2013-09-06 | Update robolectric to api 18 | Farand Koo | |
Also add support for android:focusable and android:clickable from xml layouts Change-Id: Id94a20ca553b850c38bf7571909caf78975f9f12 | |||
2013-08-26 | Add Patterns/Bundle static fields. | Jon Boekenoogen | |
Change-Id: Ib9d96c8d3191a48fbb64506bb79ed2860490f80d | |||
2013-08-06 | Merge "Fix Wallet robolectric tests, Part 1"android-sdk-4.4.2_r1.0.1android-sdk-4.4.2_r1android-l-preview_r2android-cts-4.4_r4android-cts-4.4_r1android-4.4w_r1android-4.4_r1.2.0.1android-4.4_r1.2android-4.4_r1.1.0.1android-4.4_r1.1android-4.4_r1.0.1android-4.4_r1android-4.4_r0.9android-4.4_r0.8android-4.4_r0.7android-4.4.4_r2.0.1android-4.4.4_r2android-4.4.4_r1.0.1android-4.4.4_r1android-4.4.3_r1.1.0.1android-4.4.3_r1.1android-4.4.3_r1.0.1android-4.4.3_r1android-4.4.2_r2.0.1android-4.4.2_r2android-4.4.2_r1.0.1android-4.4.2_r1android-4.4.1_r1.0.1android-4.4.1_r1l-previewkitkat-wearkitkat-releasekitkat-mr2.2-releasekitkat-mr2.1-releasekitkat-mr2-releasekitkat-mr1.1-releasekitkat-mr1-releasekitkat-devkitkat-cts-releasekitkat-cts-devidea133-weekly-releaseidea133 | Jeff Hamilton | |
2013-08-05 | Fix Wallet robolectric tests, Part 1 | Zhihong Xu | |
The build server java compiler builds robolectric tests in such a way that custom shadows are added to class loader after the test classes are loaded. This causes some custom shadows to be ignored when the real classes are referenced in a test class. This and the followup CL fixed that (hopefully) by moving the addition of custom shadows forward to the constructor of WalletRoboTestRunner. Bug:10071558 Change-Id: I76745fdfcc08bdc198de8d90cf15dbabbbada7e0 | |||
2013-07-31 | Add android.providers.Settings.Global support. | Jon Boekenoogen | |
Change-Id: I4b18642a2c398aa686c979fd5267216e659daa7a | |||
2013-06-26 | Fixed build: Fix resource loading in robolectric for API 18+. | Jon Boekenoogen | |
Look at resource folders in the SDK starting at 18 and continue backwards for 5 sdk versions. Bug: 9573511 Change-Id: If6318dfea851322b5f7798e9df7e96c001f3a1f5 | |||
2013-06-27 | Revert "Fix resource loading in robolectric for API 18+." | Jeff Hamilton | |
This reverts commit 03e9d1058a5f759d0e356563d7e8499ff71b5165. Change-Id: Ib79f9954bea69eaba1b7a9b9c2b908b1622bc348 | |||
2013-06-26 | Fix resource loading in robolectric for API 18+. | Jon Boekenoogen | |
Look at resource folders in the SDK starting at 18 and continue backwards for 5 sdk versions. Bug: 9573511 Change-Id: Ib1f92a247e572be41c4a74ba0556988ae306a0ea | |||
2013-06-20 | Test only: Fix ShadowSpannableString.getSpans | Zhihong Xu | |
In the original version of the method, when the returned array is empty, Java sees it as an array of Objects that it can't cast to T[] after the method returns, resulting in a ClassCastException. This CL fixed that by instantiating an array of the expected type first. Change-Id: Ic918b27566bfc7c8acab0460116e6bb0f6154a62 | |||
2013-05-09 | Add support for View.setFilterTouchesWhenObscured() | Farand Koo | |
Change-Id: I97a19bbe0ec4e021a22760cfade9c81e1346184c | |||
2013-04-30 | Let robolectric read manifest,res,assets from System properties | Zhihong Xu | |
Change-Id: I1ad19db93694a02eabf249777fbc895d0f2f76a1 | |||
2013-04-08 | Implement ShadowBinder#getCallingUid | Michael Galpin | |
Change-Id: Ib6d42d0ef31a50e33a61b7669ef710e239647cfc | |||
2013-03-19 | Implement ShadowSignature. | Jon Boekenoogen | |
Based on AOSP. Change-Id: I9e69df075456390676ec05174324553fb0b9bae9 | |||
2013-03-08 | Populate Account/Intent CREATORs | Jon Boekenoogen | |
Change-Id: Ibd4d318c52856392ee037271b1898f08739818b9 | |||
2013-03-01 | ShadowParcel/ShadowBundle improvements | Jon Boekenoogen | |
Necessary for SafeParcelables to be used in JVM tests! 1. Have shadow parcel properly adhere to dataPosition and setDataPosition. 2. Fix broken Robolectric tests to use correct dataPosition behavior 3. Update shadow bundle to support put/get char and put/get short Change-Id: I3a5744567d8e29c2e472aaca52e4369fe15cf00d | |||
2013-02-04 | Adds mm to dimen unitsandroid-4.3_r3.1android-4.3_r3android-4.3_r2.3android-4.3_r2.2android-4.3_r2.1android-4.3_r2android-4.3_r1.1android-4.3_r1android-4.3_r0.9.1android-4.3_r0.9android-4.3.1_r1tools_r22.2jb-mr2.0.0-releasejb-mr2.0-releasejb-mr2-releasejb-mr2-dev | John Stuppy | |
Change-Id: I8a95f2c2ed9fa2af2023866cb949a92d314f51a9 | |||
2013-02-01 | Fix Bundle#getBundle(String key, String defaultValue) for value = null. | Colin McDonough | |
Change-Id: If645b30e982c3dc96b50903baeedeab57779b3ce | |||
2013-01-29 | Add Bundle#getString(String key, String defaultValue) support | Colin McDonough | |
Change-Id: I5b577de3876e3017f85ffd5bb88786309cc82f5c | |||
2013-01-25 | Adds getSelectedView support to Robolectric | John Stuppy | |
Change-Id: Ib8e731155fe94eb07ce7137b3a71731f9f6ae886 | |||
2013-01-24 | Merge "Implementing Activity#getCurrentFocus and View#findFocus." | Jeff Hamilton | |
2013-01-23 | Implementing Activity#getCurrentFocus and View#findFocus. | Cristian Esquivias | |
A View will return itself if it's in focus and a ViewGroup will recursively look through its children for the first element that has focus. FragmentActivity will search through its fragments. Activity#getCurrentFocus calls findFocus on the contentView. Each view keeps track of its own focus. When a view requests focus no attempt is made of clearing focus from other views. Because of this, ShadowActivty#clearFocus was added to clear focus for all the View children. Change-Id: If156cd79ca74d2736ffc404beba34525fe3ac9f7 | |||
2013-01-14 | Adds support for versioning layouts | John Stuppy | |
This change allows for proper testing of versioned layouts (default vs. v11). Previously, only the default layout was loaded, regardless of SDK version. Change-Id: Ie3be691877a85f511f51067c5e76fc3efbaaa982 | |||
2013-01-14 | Adds peekAuthToken shadow AccountManager methods | John Stuppy | |
Change-Id: I692d9bb1974a45559b06b2142862a210166c30e1 | |||
2013-01-02 | Adds replaceText to ShadowAutoCompleteTextView | John Stuppy | |
Change-Id: I70a91206a0f67340db833d22c4d3527b0b4ca7ab |