From c715528c9657e5848021a27a600a0e8e5100fb34 Mon Sep 17 00:00:00 2001 From: Fabrice Di Meglio Date: Thu, 2 Jun 2011 09:29:03 -0700 Subject: Add more unit tests cases for BiDi / RTL - update FrameLayout tests - add more RelativeLayout tests Change-Id: I2ae522c5e6ec216f7ade45935f8309b543f380b9 --- tests/BiDiTests/res/layout/frame_layout_ltr.xml | 36 ++-- tests/BiDiTests/res/layout/frame_layout_rtl.xml | 38 ++-- tests/BiDiTests/res/layout/relative_layout_ltr.xml | 205 +++++++-------------- .../BiDiTests/res/layout/relative_layout_ltr_2.xml | 155 ++++++++++++++++ tests/BiDiTests/res/layout/relative_layout_rtl.xml | 88 +++++++++ .../BiDiTests/res/layout/relative_layout_rtl_2.xml | 155 ++++++++++++++++ 6 files changed, 504 insertions(+), 173 deletions(-) create mode 100644 tests/BiDiTests/res/layout/relative_layout_ltr_2.xml create mode 100644 tests/BiDiTests/res/layout/relative_layout_rtl.xml create mode 100644 tests/BiDiTests/res/layout/relative_layout_rtl_2.xml (limited to 'tests/BiDiTests/res/layout') diff --git a/tests/BiDiTests/res/layout/frame_layout_ltr.xml b/tests/BiDiTests/res/layout/frame_layout_ltr.xml index 53ae7c3..bd324e3 100644 --- a/tests/BiDiTests/res/layout/frame_layout_ltr.xml +++ b/tests/BiDiTests/res/layout/frame_layout_ltr.xml @@ -21,68 +21,68 @@ android:horizontalDirection="ltr" android:background="#FF000000"> - - + - - + - - + - - + - - + - - + - - + - - + - - + diff --git a/tests/BiDiTests/res/layout/frame_layout_rtl.xml b/tests/BiDiTests/res/layout/frame_layout_rtl.xml index 4b87752..814f5e1 100644 --- a/tests/BiDiTests/res/layout/frame_layout_rtl.xml +++ b/tests/BiDiTests/res/layout/frame_layout_rtl.xml @@ -15,74 +15,74 @@ --> - - + - - + - - + - - + - - + - - + - - + - - + - - + diff --git a/tests/BiDiTests/res/layout/relative_layout_ltr.xml b/tests/BiDiTests/res/layout/relative_layout_ltr.xml index 93d1b4b..53ae7c3 100644 --- a/tests/BiDiTests/res/layout/relative_layout_ltr.xml +++ b/tests/BiDiTests/res/layout/relative_layout_ltr.xml @@ -14,142 +14,75 @@ limitations under the License. --> - + android:horizontalDirection="ltr" + android:background="#FF000000"> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - -