TestCase2 test2Config = GWT.create(TestCase2.class);
test2Config.setName("testcase2");
TestCase testCase2 = Y.newTestCase(test2Config);
TestSuite testSuite1 = Y.newTestSuite("testsute1");
testSuite1.add(testCase1);
testSuite1.add(testCase2);
Y.TestRunner().on(TestRunner.EVENT_TESTCASECOMPLETE, new EventCallback<TestEvent>() {
@Override
public void call(TestEvent e) {
console.log("AAAAAAA JAJAJAJA: "+"name: "+e.resultsTestSuite().name()+", failed: "+e.resultsTestSuite().failed());