summaryrefslogtreecommitdiffstats
path: root/vespa-osgi-testrunner/src/main/java/com/yahoo/vespa/testrunner/legacy/LegacyTestRunner.java
blob: 418ab7fe5d0bbde1a955256771f2bab2a6bbbd4f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.testrunner.legacy;

import java.util.Collection;
import java.util.logging.LogRecord;

/**
 * @author mortent
 */
public interface LegacyTestRunner {

    Collection<LogRecord> getLog(long after);

    Status getStatus();

    void test(TestProfile testProfile, byte[] config);

    // TODO (mortent) : This seems to be duplicated in TesterCloud.Status and expects to have the same values
    enum Status {
        NOT_STARTED, RUNNING, FAILURE, ERROR, SUCCESS
    }
}