org.tatools.sunshine.testng.PreparedTestNGSuite Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sunshine-testng Show documentation
Show all versions of sunshine-testng Show documentation
"The package is Sunshine's adapter for TestNG tests runner."
package org.tatools.sunshine.testng;
import org.tatools.sunshine.core.FileSystemPath;
import org.tatools.sunshine.core.FileSystemPathBase;
/**
* @author Dmytro Serdiuk ([email protected])
* @version $Id: a6dbbe06fdb3062349885db7421616bb07856314 $
* @since 0.1
*/
public final class PreparedTestNGSuite implements TestNGSuite {
private final FileSystemPath fileSystemPath;
public PreparedTestNGSuite(String path) {
this(new FileSystemPathBase(path));
}
public PreparedTestNGSuite(FileSystemPath fileSystemPath) {
this.fileSystemPath = fileSystemPath;
}
@Override
public FileSystemPath tests() {
return fileSystemPath;
}
}