summaryrefslogtreecommitdiffstats
path: root/tests/HierarchyViewerTest
diff options
context:
space:
mode:
authorSiva Velusamy <vsiva@google.com>2015-05-05 15:07:00 -0700
committerSiva Velusamy <vsiva@google.com>2015-05-07 18:44:21 -0700
commit94a6d15ede149189bba9e5f474ed853c98230e75 (patch)
treeedc5a5211a7b69e091a13ddc3c60dcf88d9a5ea6 /tests/HierarchyViewerTest
parent0d857b9028f2702ce439e13feccde8182d40e1e5 (diff)
downloadframeworks_base-94a6d15ede149189bba9e5f474ed853c98230e75.zip
frameworks_base-94a6d15ede149189bba9e5f474ed853c98230e75.tar.gz
frameworks_base-94a6d15ede149189bba9e5f474ed853c98230e75.tar.bz2
Use new hierarchy viewer protocol in all View subclasses
A previous CL introduced a new way of encoding view properties for use by heirarchy viewer. This CL updates all views using the old @ExportedProperty annotation to use this new method. The older mechanism will be removed in a subsequent CL. Change-Id: I6cc23b90cd9da1c6ce89b4caffe54874db203452
Diffstat (limited to 'tests/HierarchyViewerTest')
-rw-r--r--tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/MainActivityTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/MainActivityTest.java b/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/MainActivityTest.java
index aae0ff5..ea3710d 100644
--- a/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/MainActivityTest.java
+++ b/tests/HierarchyViewerTest/src/com/android/test/hierarchyviewer/MainActivityTest.java
@@ -75,7 +75,7 @@ public class MainActivityTest extends ActivityInstrumentationTestCase2<MainActiv
assertEquals("android.widget.TextView",
textViewProperties.get(propertyNameTable.get("meta:__name__")));
-// assertEquals(mActivity.getString(R.string.test),
-// textViewProperties.get(propertyNameTable.get("text")));
+ assertEquals(mActivity.getString(R.string.test),
+ textViewProperties.get(propertyNameTable.get("text:text")));
}
}