You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
456 B
21 lines
456 B
import hex.unittest.notifier.*;
|
|
import hex.unittest.runner.*;
|
|
|
|
using Lambda;
|
|
|
|
class Main
|
|
{
|
|
static function main() {
|
|
var arg = Sys.args()[0];
|
|
var mysqlConnection = (arg != null && arg.substr(0,8)=="mysql://") ? arg : null;
|
|
|
|
var emu = new ExMachinaUnitCore();
|
|
emu.addListener(new ConsoleNotifier(false));
|
|
emu.addListener(new ExitingNotifier());
|
|
if(mysqlConnection!=null) emu.addTest(MySQLTest);
|
|
emu.addTest(SQLiteTest);
|
|
emu.run();
|
|
}
|
|
|
|
|
|
}
|