Age | Commit message (Collapse) | Author |
|
New version changed to commit:
626241e5080aae44ce3df7a8328e7b6d4dd42d7f
Bug: 24142860
Change-Id: Ib6db58d9c388261006eb68dd59fc6a59abfa3b05
|
|
Change-Id: I8247febbb396dd1f75cb375937a270abf3bc61fb
|
|
New version changed to commit:
582911a8ccb0b80c91640397fdc928522aac65d7
Requested by Phonesky team for
a87359c3e0f7e6be11083b04db6e77897a41fb5d
Verified Wallet Library tests passed. tradical@ will verify
that Phonesky tests pass.
Change-Id: Idee8b9b01e11b8fcec4682ee9e7a96bbc1b95c91
|
|
New version changed to commit:
919936c366f3877885ff2b4074373977abe741ef
There were some RAM usage improvements that increase the
speed of large test suites.
(~25 seconds faster for IM tests)
Moved to more real code for Intents.
Fixed some inconsistencies in Looper.
Change-Id: I827c7c46c3e766f72d9a1da2ed4035de5a6efeb9
|
|
* commit '169ccb86f9d88b5629701c5488df8b7d6d3081b4':
Add MODULE_LICENSE and NOTICE
|
|
* commit '6d201a1b669a2859a96c53cc6ef687166a3232a5':
Add MODULE_LICENSE and NOTICE
|
|
Change-Id: Ida41435224596b5ecc64e7ffefab77cf6c2fd324
|
|
* commit '99fafb79bf98b7aa1946bbda1f0a225cefa2d35d':
Add Robov3 to external/robolectric
|
|
- Use prebuilts for Robov3 (unlike Robov2 in external) to allow
quicker updates of prebuilts since forking of code will be
discouraged and much harder to do. It also improves build
speed and allows us to not replicate their complicated
maven build in gradle.
- Details of jars can be found in README.txts and details on how
to generate new jars can be found in update_robolectric.sh
- Goal is to have all of Android repo switch to Robov3 and
delete Robov2 from external.
- Main benefits over v2 is support for KitKat and Lollipop
API calls.
Change-Id: I60d7b913aaf620f99af4a103d4f93ec705e60fdc
(cherry picked from commit e5966b3cee9413fed1a294adb2128b795f09efc9)
|
|
- Use prebuilts for Robov3 (unlike Robov2 in external) to allow
quicker updates of prebuilts since forking of code will be
discouraged and much harder to do. It also improves build
speed and allows us to not replicate their complicated
maven build in gradle.
- Details of jars can be found in README.txts and details on how
to generate new jars can be found in update_robolectric.sh
- Goal is to have all of Android repo switch to Robov3 and
delete Robov2 from external.
- Main benefits over v2 is support for KitKat and Lollipop
API calls.
Change-Id: I60d7b913aaf620f99af4a103d4f93ec705e60fdc
|
|
* commit '843b280670d6531a6d6c92f7b3b8fce7cc9f0290':
Handle @null values in string-arrays
|
|
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)
|
|
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
|
|
Change-Id: Ieafc71876b20f0930d5e39166de5c18334df512f
|
|
Change-Id: Iac7995520e4480123c4db88423468fbd48295acf
|
|
Change-Id: I6b8228263496bc5f8b4ab28dcb285f7b401f4fd5
|
|
Change-Id: I5c820036fc5795e8b2668e191e866fc99eca6938
|
|
Change-Id: Ib255a4087122906ac2272d802fa5fd9402ae8a90
|
|
This allows for removing the junit, objenesis, and hamcrest jars
from being included since they can be built from source.
Change-Id: I6beaeeab90184819b080aa6f1178ffc778c153c0
|
|
|
|
|
|
|
|
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
|
|
Change-Id: Ie2b6b3d735d42b6f28dbe9c93a23560454055cc7
|
|
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
|
|
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
|
|
|
|
Change-Id: I86ed0d1ce022ae5b25fd20d8e0a901d810fb4b12
|
|
Meant to help tide Wallet over until v2 is completely checked in.
Change-Id: I74b4aef44749e022aa819fb1999dd39e8ea9eef6
|
|
Used as an intermediate step to reduce the pain when switching
to Robolectric v2.
Change-Id: I7f98734896e030ed7b343f3bd0f05d263aa5b8a4
|
|
Change-Id: I78f3224dd7aaea72096fe1760a2d1308271961d2
|
|
|
|
|
|
Change-Id: I910d1df9b3010161244abaafdf851cebabd666d0
|
|
Change-Id: I04fff6a91176b3ab203ab8976a4c0b71a1ea0c08
|
|
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
|
|
Also add support for android:focusable and android:clickable from xml
layouts
Change-Id: Id94a20ca553b850c38bf7571909caf78975f9f12
|
|
Change-Id: Ib9d96c8d3191a48fbb64506bb79ed2860490f80d
|
|
|
|
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
|
|
Change-Id: I4b18642a2c398aa686c979fd5267216e659daa7a
|
|
Look at resource folders in the SDK starting at 18 and continue
backwards for 5 sdk versions.
Bug: 9573511
Change-Id: If6318dfea851322b5f7798e9df7e96c001f3a1f5
|
|
This reverts commit 03e9d1058a5f759d0e356563d7e8499ff71b5165.
Change-Id: Ib79f9954bea69eaba1b7a9b9c2b908b1622bc348
|
|
Look at resource folders in the SDK starting at 18 and continue
backwards for 5 sdk versions.
Bug: 9573511
Change-Id: Ib1f92a247e572be41c4a74ba0556988ae306a0ea
|
|
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
|
|
Change-Id: I97a19bbe0ec4e021a22760cfade9c81e1346184c
|
|
Change-Id: I1ad19db93694a02eabf249777fbc895d0f2f76a1
|
|
Change-Id: Ib6d42d0ef31a50e33a61b7669ef710e239647cfc
|
|
Based on AOSP.
Change-Id: I9e69df075456390676ec05174324553fb0b9bae9
|
|
Change-Id: Ibd4d318c52856392ee037271b1898f08739818b9
|