Adding comments
This commit is contained in:
parent
9599e512c6
commit
436d868fb9
1 changed files with 20 additions and 2 deletions
|
@ -37,6 +37,24 @@ public class SmokeTestController extends FreemarkerHttpServlet {
|
||||||
|
|
||||||
body.put("SolrContextChecker", result);
|
body.put("SolrContextChecker", result);
|
||||||
|
|
||||||
|
//Deepak,
|
||||||
|
//This controller will need to load a list of tests.
|
||||||
|
//The list should be in files in a directory.
|
||||||
|
//ex.
|
||||||
|
// vivo/WEB-INF/classes/resources/smokeTests/vitroTests.txt
|
||||||
|
// vivo/WEB-INF/classes/resources/smokeTests/vivoTests.txt
|
||||||
|
// vivo/WEB-INF/classes/resources/smokeTests/otherTests.txt
|
||||||
|
//
|
||||||
|
// This controller should:
|
||||||
|
// 1) look for that directory,
|
||||||
|
// 2) get a list of all files in that directory
|
||||||
|
// 3) For each file:
|
||||||
|
// 4) For each line in the file:
|
||||||
|
// 5) Assume that the line has a fully qualified java class name
|
||||||
|
// and name and make a new instance of that class.
|
||||||
|
// If that class can be created and it is a SmokeTest, run
|
||||||
|
// the test and save the results in a list.
|
||||||
|
// 6) put the result list in the template variable map
|
||||||
|
|
||||||
return new TemplateResponseValues(TEMPLATE_NAME, body);
|
return new TemplateResponseValues(TEMPLATE_NAME, body);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue