am 84aa88a9: am 87b455f5: Merge change 23469 into eclair

Merge commit '84aa88a93b4528d38892a48c835e96a35ced9233'

* commit '84aa88a93b4528d38892a48c835e96a35ced9233':
  Set a default dump type for DRT as a workaround for indeterministic order in receiving dumpAsText and onPageFinish callback.
This commit is contained in:
Guang Zhu
2009-09-01 13:59:10 -07:00
committed by Android Git Automerger

View File

@@ -16,6 +16,7 @@
package com.android.dumprendertree;
import com.android.dumprendertree.TestShellActivity.DumpDataType;
import com.android.dumprendertree.forwarder.AdbUtils;
import com.android.dumprendertree.forwarder.ForwardServer;
@@ -399,7 +400,8 @@ public class LayoutTestsAutoTest extends ActivityInstrumentationTestCase2<TestSh
if (resume)
resumeTestList();
TestShellActivity activity = (TestShellActivity) getActivity();
TestShellActivity activity = getActivity();
activity.setDefaultDumpDataType(DumpDataType.DUMP_AS_TEXT);
// Run tests.
int addr = -1;