All Downloads are FREE. Search and download functionalities are using the official Maven repository.

junit5.TestInfo Maven / Gradle / Ivy

Go to download

Selenium-Toolkit is a Java based test-toolkit for selenium-testing with testNg. The goal of the toolkit is, to suport you in different things like 'how to manage testdata in the source', parallelisation, Webdriver-managemet, reporting and a lot more.

There is a newer version: 3.0.12
Show newest version
package junit5;

import org.junit.platform.launcher.TestIdentifier;

public class TestInfo implements vendors.grid.TestInfo {
    private TestIdentifier testIdentifier = null;
    private String displayName = "";

    public TestInfo(TestIdentifier testIdentifier) {
        this.testIdentifier = testIdentifier;
    }

    public TestInfo(String displayName) {
        this.displayName = displayName;
    }

    @Override
    public String getTestname() {
        return testIdentifier != null ? testIdentifier.getDisplayName() : displayName;
    }

    @Override
    public Object getMetaKey() {
        return testIdentifier != null ? testIdentifier.getDisplayName() : displayName;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy