Chromium Code Reviews| Index: testing/android/java/src/org/chromium/test/support/ResultsBundleGenerator.java |
| diff --git a/testing/android/java/src/org/chromium/test/support/ResultsBundleGenerator.java b/testing/android/java/src/org/chromium/test/support/ResultsBundleGenerator.java |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..03bef509d89c13b135073931e10fb30336e99101 |
| --- /dev/null |
| +++ b/testing/android/java/src/org/chromium/test/support/ResultsBundleGenerator.java |
| @@ -0,0 +1,22 @@ |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +package org.chromium.test.support; |
| + |
| +import android.os.Bundle; |
| + |
| +import java.util.Map; |
| + |
| +/** |
| + * Creates a results Bundle. |
| + */ |
| +public interface ResultsBundleGenerator { |
| + |
| + public static enum TestResult { |
| + PASSED, FAILED, ERROR, UNKNOWN |
| + } |
| + |
| + public Bundle generate(Map<String, TestResult> rawResults); |
|
Ted C
2015/04/06 17:43:54
public isn't necessary on interfaces as it is the
jbudorick
2015/04/07 00:54:39
I'm noticing a theme here.
|
| +} |
| + |