public class Suite extends Object
Constructor and Description |
---|
Suite(File f)
Creates an instance of
Suite . |
Modifier and Type | Method and Description |
---|---|
void |
createHTMLReports(String templateDir,
String outputDir)
Creates HTML report.
|
List<Test> |
getTests()
Returns a list of
Test object in this suite. |
boolean |
passed()
Returns a list of passed
Test object in this suite. |
String |
toHTML()
Returns HTML markup for this object.
|
public Suite(File f) throws ParserConfigurationException, SAXException, IOException
Suite
.ParserConfigurationException
- if the testNG
report XML is not well formed.SAXException
- if the testNG
report XML is not
well formed.IOException
- if the testNG
report XML is not
accessible.public List<Test> getTests()
Test
object in this suite.Test
object in this suite.public boolean passed()
Test
object in this suite.Test
object in this suite.public void createHTMLReports(String templateDir, String outputDir) throws IOException
templateDir
- Template directory.outputDir
- Output directory where reports are to be created
under.IOException
- if report cannot be created.public String toHTML()
Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.