From bf2ab0b80c43fae0f26db9417b0247618319931a Mon Sep 17 00:00:00 2001 From: Fabrice Di Meglio Date: Mon, 6 Feb 2012 17:05:49 -0800 Subject: [PATCH] Update BiDiTest app for adding GridLayout unit tests - added basic GridLayout unit tests for LTR / RTL / Locale cases Change-Id: Ied9814b2f56acb5d3666e78ad600f487ce4dc911 --- .../res/layout/grid_layout_locale.xml | 74 +++++++++++++++++++ .../BiDiTests/res/layout/grid_layout_ltr.xml | 74 +++++++++++++++++++ .../BiDiTests/res/layout/grid_layout_rtl.xml | 74 +++++++++++++++++++ .../com/android/bidi/BiDiTestActivity.java | 4 + .../bidi/BiDiTestGridLayoutLocale.java | 32 ++++++++ .../android/bidi/BiDiTestGridLayoutLtr.java | 32 ++++++++ .../android/bidi/BiDiTestGridLayoutRtl.java | 32 ++++++++ 7 files changed, 322 insertions(+) create mode 100644 tests/BiDiTests/res/layout/grid_layout_locale.xml create mode 100644 tests/BiDiTests/res/layout/grid_layout_ltr.xml create mode 100644 tests/BiDiTests/res/layout/grid_layout_rtl.xml create mode 100644 tests/BiDiTests/src/com/android/bidi/BiDiTestGridLayoutLocale.java create mode 100644 tests/BiDiTests/src/com/android/bidi/BiDiTestGridLayoutLtr.java create mode 100644 tests/BiDiTests/src/com/android/bidi/BiDiTestGridLayoutRtl.java diff --git a/tests/BiDiTests/res/layout/grid_layout_locale.xml b/tests/BiDiTests/res/layout/grid_layout_locale.xml new file mode 100644 index 0000000000000..4198898f7771e --- /dev/null +++ b/tests/BiDiTests/res/layout/grid_layout_locale.xml @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + + + + + +