diff options
| author | Steve Block <steveblock@google.com> | 2010-02-25 12:50:33 +0000 |
|---|---|---|
| committer | Steve Block <steveblock@google.com> | 2010-02-26 17:19:51 +0000 |
| commit | 12077e1179b4035ae2b1a44ccf9cd540e14b182e (patch) | |
| tree | 29ce73bbc15c9c33c7c70db0f711da2e139858b1 /tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoRunner.java | |
| parent | 2ec30697c6cc6812dfaeb9a2e7d1da0443aeb8e6 (diff) | |
| download | frameworks_base-12077e1179b4035ae2b1a44ccf9cd540e14b182e.zip frameworks_base-12077e1179b4035ae2b1a44ccf9cd540e14b182e.tar.gz frameworks_base-12077e1179b4035ae2b1a44ccf9cd540e14b182e.tar.bz2 | |
Adds to DumpRenderTree the ability to look for Android-specific results
These Android-specific results will be added to
external/webkit/LayoutTests/platform/android-<js-engine> and are used in
preference to the generic expected results.
The JavaScript engine to use is read from the JS_ENGINE environment variable
used by the build system or can be overridden on the command line. If neither
is set, it defaults to JSC.
Change-Id: Ia8d107ced3968a5c061fd6f0f57451419bab6b27
Diffstat (limited to 'tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoRunner.java')
| -rwxr-xr-x | tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoRunner.java | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoRunner.java b/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoRunner.java index 539d551..e058f32 100755 --- a/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoRunner.java +++ b/tests/DumpRenderTree/src/com/android/dumprendertree/LayoutTestsAutoRunner.java @@ -79,14 +79,17 @@ public class LayoutTestsAutoRunner extends InstrumentationTestRunner { mSaveImagePath = (String) icicle.get("saveimage"); + mJsEngine = (String) icicle.get("jsengine"); + super.onCreate(icicle); } - public String mTestPath = null; - public String mSaveImagePath = null; - public int mTimeoutInMillis = 0; - public int mDelay = 0; - public boolean mRebaseline = false; - public boolean mLogtime = false; - public boolean mGetDrawTime = false; + public String mTestPath; + public String mSaveImagePath; + public int mTimeoutInMillis; + public int mDelay; + public boolean mRebaseline; + public boolean mLogtime; + public boolean mGetDrawTime; + public String mJsEngine; } |
