1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 package org
.chromium
.test
.support
;
7 import android
.os
.Bundle
;
12 * Creates a results Bundle.
14 public interface ResultsBundleGenerator
{
16 /** Indicates the state of a test.
18 static enum TestResult
{
19 PASSED
, FAILED
, ERROR
, UNKNOWN
22 /** Creates a bundle of test results from the provided raw results.
24 Note: actual bundle content and format may vary.
26 @param rawResults A map between test names and test results.
28 Bundle
generate(Map
<String
, TestResult
> rawResults
);