}
@Override
public void generateReport(List<XmlSuite> xmlSuites, List<ISuite> suites, String outputDirectory) {
Assert.assertEquals(suites.size(), 1);
ISuite suite = suites.get(0);
{
Collection<ITestNGMethod> invoked = suite.getInvokedMethods();
Assert.assertEquals(invoked.size(), m_included.length);
for (String s : m_included) {
Assert.assertTrue(containsMethod(invoked, s));
}
}
{
Collection<ITestNGMethod> excluded = suite.getExcludedMethods();
Assert.assertEquals(excluded.size(), m_excluded.length);
for (String s : m_excluded) {
Assert.assertTrue(containsMethod(excluded, s));
}
}