public class SystemTestResource extends Resource implements ISystemTestSource
ISystemTestSource
that returns the SystemTestDef
at the given URL.Resource.Type
Constructor and Description |
---|
SystemTestResource(File location)
Creates a new SystemTestResource instance.
|
SystemTestResource(URL location)
Creates a new SystemTestResource instance.
|
Modifier and Type | Method and Description |
---|---|
static SystemTestResource |
at(URL location)
Returns the
SystemTestResource at the given location. |
SystemTestDef |
getSystemTestDef()
Returns a
SystemTestDef instance. |
static SystemTestResource |
of(File file)
Returns the
SystemTestResource for the given file. |
void |
write(SystemTestDef systemTest)
Writes the given system test definition.
|
close, getLocation, getType, openInput, openOutput, setType, toString, urlFor, withDefaultType, withDefaultType
public SystemTestResource(URL location)
public SystemTestResource(File location)
public SystemTestDef getSystemTestDef()
SystemTestDef
instance.getSystemTestDef
in interface ISystemTestSource
public void write(SystemTestDef systemTest)
public static SystemTestResource at(URL location)
SystemTestResource
at the given location.public static SystemTestResource of(File file)
SystemTestResource
for the given file.Copyright © 2024 The Cornutum Project. All rights reserved.