diff options
author | Adnan Begovic <adnan@cyngn.com> | 2015-04-29 17:33:24 -0700 |
---|---|---|
committer | Adnan Begovic <adnan@cyngn.com> | 2015-04-29 17:38:59 -0700 |
commit | 104a15a6b0ee9134bb6992693d37a58ba17f2d39 (patch) | |
tree | 2d4edee7c31c4d03f837a38542652875d70d00d5 /tests/res | |
parent | 346b7587b3ded25f2f7f13a9ed044e21509ec6ec (diff) | |
download | vendor_cmsdk-104a15a6b0ee9134bb6992693d37a58ba17f2d39.zip vendor_cmsdk-104a15a6b0ee9134bb6992693d37a58ba17f2d39.tar.gz vendor_cmsdk-104a15a6b0ee9134bb6992693d37a58ba17f2d39.tar.bz2 |
CMSDK: Introduce preliminary automatable tests.
Change-Id: I27e21f64dee4aa93e5453ce49ec9fcac8f984d11
Diffstat (limited to 'tests/res')
-rw-r--r-- | tests/res/drawable-hdpi/ic_launcher.png | bin | 0 -> 9397 bytes | |||
-rw-r--r-- | tests/res/drawable-ldpi/ic_launcher.png | bin | 0 -> 2729 bytes | |||
-rw-r--r-- | tests/res/drawable-mdpi/ic_launcher.png | bin | 0 -> 5237 bytes | |||
-rw-r--r-- | tests/res/drawable-xhdpi/ic_launcher.png | bin | 0 -> 14383 bytes | |||
-rw-r--r-- | tests/res/layout/main.xml | 34 | ||||
-rw-r--r-- | tests/res/values/strings.xml | 4 |
6 files changed, 38 insertions, 0 deletions
diff --git a/tests/res/drawable-hdpi/ic_launcher.png b/tests/res/drawable-hdpi/ic_launcher.png Binary files differnew file mode 100644 index 0000000..96a442e --- /dev/null +++ b/tests/res/drawable-hdpi/ic_launcher.png diff --git a/tests/res/drawable-ldpi/ic_launcher.png b/tests/res/drawable-ldpi/ic_launcher.png Binary files differnew file mode 100644 index 0000000..9923872 --- /dev/null +++ b/tests/res/drawable-ldpi/ic_launcher.png diff --git a/tests/res/drawable-mdpi/ic_launcher.png b/tests/res/drawable-mdpi/ic_launcher.png Binary files differnew file mode 100644 index 0000000..359047d --- /dev/null +++ b/tests/res/drawable-mdpi/ic_launcher.png diff --git a/tests/res/drawable-xhdpi/ic_launcher.png b/tests/res/drawable-xhdpi/ic_launcher.png Binary files differnew file mode 100644 index 0000000..71c6d76 --- /dev/null +++ b/tests/res/drawable-xhdpi/ic_launcher.png diff --git a/tests/res/layout/main.xml b/tests/res/layout/main.xml new file mode 100644 index 0000000..fbc4640 --- /dev/null +++ b/tests/res/layout/main.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + android:orientation="vertical" + android:layout_width="fill_parent" + android:layout_height="fill_parent" + android:gravity="center_horizontal" + > + <Button android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="TEST PUBLISH TILE" + android:onClick="testPublishTile"/> + <Button android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="TEST PUBLISH SETTINGS TILE" + android:onClick="testPublishTileWithSettings"/> + <Button android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="TEST UPDATE TILE" + android:onClick="testUpdateTile"/> + <Button android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="TEST REMOVE TILE" + android:onClick="testRemoveTile"/> + + <Button android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="TEST PUBLISH MULTIPLE" + android:onClick="testMultipleTilePublish"/> + <Button android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="TEST REMOVE MULTIPLE" + android:onClick="testMultipleTileRemove"/> +</LinearLayout> + diff --git a/tests/res/values/strings.xml b/tests/res/values/strings.xml new file mode 100644 index 0000000..d8ff6de --- /dev/null +++ b/tests/res/values/strings.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <string name="app_name">CM Platform Tests</string> +</resources> |