OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 package com.skia; | 8 package com.skia; |
9 | 9 |
10 import android.app.Instrumentation; | 10 import android.app.Instrumentation; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 mActivity = launchActivityWithIntent(pkg, VisualBenchActivity.class, int
ent); | 53 mActivity = launchActivityWithIntent(pkg, VisualBenchActivity.class, int
ent); |
54 | 54 |
55 assertNotNull("mActivity is null", mActivity); | 55 assertNotNull("mActivity is null", mActivity); |
56 Thread.sleep(5000); | 56 Thread.sleep(5000); |
57 while (!mActivity.isDestroyed()) { | 57 while (!mActivity.isDestroyed()) { |
58 Log.d("skiatest", "Waiting for subprocess to finish."); | 58 Log.d("skiatest", "Waiting for subprocess to finish."); |
59 Thread.sleep(1000); | 59 Thread.sleep(1000); |
60 } | 60 } |
61 } | 61 } |
62 } | 62 } |
OLD | NEW |