commit | ffac39003fb3b5574db1a1b50eacbf7c06bff0b7 | [log] [tgz] |
---|---|---|
author | Brian Muramatsu <btmura@google.com> | Wed Feb 02 17:27:34 2011 -0800 |
committer | Brian Muramatsu <btmura@google.com> | Wed Feb 02 17:27:34 2011 -0800 |
tree | df5bc8f91fe424f56a0d5703fce530372e6d011d | |
parent | b881d63217ba5609879256dddf916e2f8f8b7131 [diff] |
Fix View_UsingViewsTest The RelativeLayout and TextView now have the same number of states. Add another state to the TextView that is common to both views to check whether setDuplicateParentStateEnabled works properly. Change-Id: Ib23abfd0af4b10a2d23da9cf13d83bce8f86afc6
diff --git a/tests/tests/view/src/android/view/cts/View_UsingViewsTest.java b/tests/tests/view/src/android/view/cts/View_UsingViewsTest.java index 0e3d02e..7bdcfd2 100644 --- a/tests/tests/view/src/android/view/cts/View_UsingViewsTest.java +++ b/tests/tests/view/src/android/view/cts/View_UsingViewsTest.java
@@ -345,6 +345,7 @@ */ TextView v = new TextView(mActivity); v.setSingleLine(); // otherwise the multiline state interferes with theses tests + v.setEnabled(false); v.setText("Test setDuplicateParentStateEnabled"); v.setDuplicateParentStateEnabled(false);