b1bd12381b7b0b57eff6d9bb1a5ae23309ab2b5c |
|
22-Jun-2017 |
Jerome Gaillard <jgaillard@google.com> |
Add support for changing shape of adaptive icons The shape of adaptive icons can now be changed by passing a string describing the path of the shape through a flag inside LayoutlibCallback. Bug: 38161918 Test: testAdaptiveIcon expanded Change-Id: I25c6af6c7a3d4264d3c72e780d26b79cfe8db35c
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/LayoutLibTestCallback.java
|
d4c426d085994b714f394b982451cc7fa27ff1b7 |
|
10-Apr-2017 |
Diego Perez <diegoperez@google.com> |
Inline some of the files into the tests Modify LayoutPullParser construction to make clear what the different constructors do and create a new one to build a parser just from a String. By using this constructor, the CL inlines some of the smaller files into the test for easier reading and maintenance. Test: Modifies existing tests Change-Id: Ieb20dcad4f62dc09252d01841bff37cf2c3c4a10
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/LayoutLibTestCallback.java
|
8c9f093a47bb9fe3b483ff47f55d957c51c7a1d9 |
|
15-Feb-2017 |
Jerome Gaillard <jgaillard@google.com> |
Fix LayoutlibTestCallback.getResourceId Return null instead of triggering a NPE when there are no resource of the asked type. Test: RenderTests.testFonts Change-Id: Ib45ebdf2178e62cbd987082512fcbb009de3f1b2
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/LayoutLibTestCallback.java
|
c702b276058dc81072b9db892d7ac9dd35da1935 |
|
15-Nov-2016 |
Diego Perez <diegoperez@google.com> |
More layoutlib testing infra fixes - Remove ModuleClassLoader as it can be replaced with a URLClassLoader for now. - Move CustomCalendar and CustomDate to a separate package that can be used both by the Bridge tests and the actual test app. - Move empty.xml out of the test app so it compiles. - Update test app to use the latest build tools and SDK (some attributes being used by the app weren't supported in API 21). - Update gitignore to remove the new out directory. Test: Update to existing tests Change-Id: Ieb7324d5ae559f9c581771c57f2127cd83909015
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/LayoutLibTestCallback.java
|
d6b76a32f54da1ba6031f891ff58ccce5d221a41 |
|
24-Mar-2016 |
Deepanshu Gupta <deepanshu@google.com> |
Add tests for getResource*Name() Change-Id: I02170b2b68c76f817aa0771a5333abf2aee456c0
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/LayoutLibTestCallback.java
|
442aee6bc1abfb143dcfa1ba60d696e576d066c4 |
|
22-May-2015 |
Deepanshu Gupta <deepanshu@google.com> |
LayoutLib: Change nullity annotations. Switch from using tools nullity annotations (com.android.annotations) to android framework annotations (android.annotation). A new sdk-common prebuilt is required for LayoutLib tests. The new sdk-common requires an updated tools-common. The updated tools-common doesn't have nullity annotations. So, instead of adding the annotation dependency, just reuse the platform ones. This also paves the way to include other platform annotations like IdRes etc. Change-Id: I87b8f767d3681d914abe7d1329e26a87f49f50a7
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/LayoutLibTestCallback.java
|
4455837e72aa018178c5f8dbc080f7077ad1193f |
|
15-May-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Fix build: udpate parser factory method Change-Id: I78ad55bc924427b44451ec32fbd1032d6cd77544
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/LayoutLibTestCallback.java
|
4bf28b6af45f76a33b466ad8157aa1844716cbcb |
|
09-May-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Remove kxml dependency. Create XmlPullParser using callback provided by the client. This enables clients to choose which XmlPullParser implementation they want. Change-Id: I9ad97a4777820cdbe5c8fc3716f74ddec9065c70
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/LayoutLibTestCallback.java
|
ba6a2dc17b4d86982f7e5dfd4e5b3b51f67e116b |
|
17-Apr-2015 |
Deepanshu Gupta <deepanshu@google.com> |
More layoutlib tests. - Add another layout including more widgets and thus testing layoutlib better. - Update targetSdk Version to 22. - Handling of dynamic ids (@+id/) in LayoutLibTestCallback is buggy. Since this is not a problem in Studio, and this is not testing the callback, work around the issue by declaring the ids in values/ids.xml. Change-Id: I457c105e8556c4df13cd86da2250fe5fd37843a8
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/LayoutLibTestCallback.java
|
b111e84752652ec862efa7e0fcaa224430feb97f |
|
15-Apr-2015 |
Deepanshu Gupta <deepanshu@google.com> |
Update to using LayoutlibCallback. Change-Id: Ia89d418b0d40ca8efef8968a4a2a635616b945ac
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/LayoutLibTestCallback.java
|
98796b464984574c1abe362478c9f47bda62fe7e |
|
31-Jul-2014 |
Deepanshu Gupta <deepanshu@google.com> |
Add testing framework to LayoutLib. This change adds an end to end test which loads the framework resources and a test app and ensures that no exceptions or warnings are thrown. The change also adds project configuration for intelliJ. Change-Id: I7b67c0f1a2af2dac95df7f3231cab537b9826d7d
/frameworks/layoutlib/bridge/tests/src/com/android/layoutlib/bridge/intensive/setup/LayoutLibTestCallback.java
|