TestSuiteDTO testSuite = (TestSuiteDTO) processor.getTestSuiteDTOs().get(defaultTestSuite);
//testSuite is empty?
if (testSuite.getTests().size() == 0) {
MessageBox mb = new MessageBox( display.getActiveShell(), SWT.ICON_ERROR | SWT.OK);
mb.setMessage(Messages.ValidationDialog_noSuitePre+defaultTestSuite+Messages.ValidationDialog_noSuiteSuf);
mb.open();
return;
}
//check the testSuite to ensure that none of the arguments of a test are null
if (!DTOUtils.noNullArguments(testSuite)) return;
//select the file to export to