Age | Commit message (Collapse) | Author |
|
Test: Build
Bug: 323363698
Change-Id: I6ae79b352868d6abad12cb25649f2ffe45749e06
|
|
Change-Id: If1ded0da6c081dd2c72e2ec28169255b23388103
|
|
|
|
This is part of the effort to drop support for KitKat (API 19) in Robolectric.
The specific error is:
minSdkVersion=21 only app: attributes should be used [FontValidation]
android:fontProviderAuthority="com.example.fontprovider.authority"
PiperOrigin-RevId: 620176399
|
|
These properties have moved to the corresponding `build.gradle` files
|
|
NewApi is a lint check that you don't call framework methods that were
introduced in versions later than your min_sdk_version. We want to
make this an error, so we're baselineing all existing issues.
This cl was generated automatically, by taking all the NewApi issues
from the reference baselines, and all the non-NewApi issues from the
existing checked in baselines.
Bug: 268261262
Test: Presubmits
Change-Id: Ic76c96b97b629bc2d3af6aba6be6bf90335a7006
Merged-In: Ic76c96b97b629bc2d3af6aba6be6bf90335a7006
|
|
Test: (Both tested in `main`)
atest -c SystemUIGoogleRoboRNGTests
atest -c CtesqueRoboTests
Change-Id: I823a9cbac4fdcb9ccba8f07bf452e1e4375ff96c
|
|
Now that Robolectric supports SDK 34, increment existing integration tests
to target and compile against it.
Also update targetSdkVersion in manifests from 16 to 19.
This also required a couple additional changes:
- use native graphics mode for androidx_test. With targetSdk 34, legacy
graphics mode resulted in 0 width views
- Specify an intent filter for androidx_test Activity. Otherwise IntentsTest
will fail with 'No activities found', because the AppsFilter will block
access to other apps.
PiperOrigin-RevId: 574287184
|
|
The intent is to stay consistent with the android ecosystem, as androidx has/will soon increment their
overall minSdkVersion to 19.
PiperOrigin-RevId: 568281650
|
|
Using ReflectionHelpers for api that's different amoung branches.
Test: mma && atest
Bug: 293573045
Change-Id: I196890d37db450db2627ad9ed21ae9cf6863b039
|
|
It is prepared for AGP 8.x.
Signed-off-by: utzcoz <utzcoz@outlook.com>
|
|
Signed-off-by: utzcoz <utzcoz@outlook.com>
|
|
1. minSdkVersion -> minSdk
2. targetSdkVersion -> targetSdk
Signed-off-by: utzcoz <utzcoz@outlook.com>
|
|
|
|
* removed targetSdk from androidx
* removed targetSdk from androidx_test
* removed targetSdk from ctesque
* removed targetSdk from memoryleaks
* removed targetSdk from testapp
|
|
vt323_bold.ttf is copied from vt323_regular.ttf, and it is fine
to use real reguar ttf as bold ttf for tests.
Signed-off-by: utzcoz <utzcoz@outlook.com>
|
|
PiperOrigin-RevId: 380223479
|
|
Signed-off-by: utzcoz <utzcoz@outlook.com>
|
|
It will help to reset the string byte buffer state.
Signed-off-by: utzcoz <utzcoz@outlook.com>
|
|
Signed-off-by: utzcoz <utzcoz@outlook.com>
|
|
Signed-off-by: utzcoz <utzcoz@outlook.com>
|
|
Signed-off-by: utzcoz <utzcoz@outlook.com>
|
|
In current AGP, Gradle import fails if minSdkVersion is specified.
|
|
And make it an error to run on Q with an unsupported java version,
instead of just silently skipping tests.
PiperOrigin-RevId: 274723300
|
|
Support Android Q/API 29 final. (PR#5289)
And make it an error to run on Q with an unsupported java version,
instead of just silently skipping tests.
PiperOrigin-RevId: 274229710
|
|
And make it an error to run on Q with an unsupported java version,
instead of just silently skipping tests.
|
|
R.java was updated via ./scripts/build-resources.sh
PiperOrigin-RevId: 250361353
|
|
PiperOrigin-RevId: 249543904
|
|
|
|
PiperOrigin-RevId: 227759682
|
|
Note that the generated .ap_'s package name will be "org.robolectric.testapp" for bazel instrumentation tests, "org.robolectric.ctesque" for bazel Robolectric tests, and "org.robolectric.ctesque.test" for gradle Robolectric tests. :-(
PiperOrigin-RevId: 226110366
|
|
Remove minSdkVersion from "com.android.library" projects as AGP complains when syncing. Apparently it expects these to be defined in the build.gradle files.
PiperOrigin-RevId: 223263192
|
|
PiperOrigin-RevId: 222353868
|
|
through getActivityInfo()/getServiceInfo()/....
PiperOrigin-RevId: 220299781
|
|
Enable commented out getQuantityString() and fix expectations.
Add getQuantityText() test - disabled for legacy mode, verifies https://github.com/robolectric/robolectric/issues/2288 on binary resource mode.
Create dedicated build target for ResourcesTest in legacy mode (Gradle still runs tests in both modes so this prevents breakages submitted internally
PiperOrigin-RevId: 219998098
|
|
Fixes https://github.com/robolectric/robolectric/issues/3590
Note: Doesn't parse the font but none of the other font functionality does either.
PiperOrigin-RevId: 219698405
|
|
|
|
|
|
PiperOrigin-RevId: 196895175
|
|
PiperOrigin-RevId: 196153449
|
|
|
|
reference that has multiple line.
PiperOrigin-RevId: 187886090
|
|
|
|
resources.
Add tests to show this matches real Android behaviour
PiperOrigin-RevId: 187231535
|
|
resources mode.
Delete some tests that don't verify guaranteed platform behavior.
|
|
PiperOrigin-RevId: 186520543
|
|
Robolectric behaviour against platform behaviour.
Create initial application under test forked from the set of test resources in
the robolectric module. Forking for now so as not to disturb the merging of the
arsc branch. In the near future we will move all Shadow*Test tests to the
testapp module.
Create ResourcesTest based on a stripped down version of
ShadowResourcesTest. Same with AssetManagerTest. These tests will not use any
public Robolectric APIs, rather use the ATSL APIs to allow us to run these
tests both on local host and a device.
PiperOrigin-RevId: 186352510
|
|
PiperOrigin-RevId: 186015890
|
|
|
|
This allows us to deploy the module onto a device without errors due to missing components.
|