Skip to content

Commit

Permalink
Added Test.Runner.setName
Browse files Browse the repository at this point in the history
  • Loading branch information
sdesai committed Jul 22, 2011
1 parent 30874cc commit 9a76bc0
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/collection/tests/arraylist.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
})
.render( "#log" );

Y.Test.Runner.setName("ArrayList");
Y.Test.Runner.run();
});
</script>
Expand Down
2 changes: 2 additions & 0 deletions src/collection/tests/collection.html
Original file line number Diff line number Diff line change
Expand Up @@ -324,6 +324,8 @@ <h1>Collection unit tests</h1>

var r = new Y.Console({ verbose: true, newestOnTop: false });
r.render('#logger');

TestRunner.setName("Collection");
TestRunner.add(method_test);
TestRunner.run();
});
Expand Down
1 change: 1 addition & 0 deletions src/dump/tests/dump.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ <h1>dump Tests</h1>

});

Y.Test.Runner.setName("Dump");
Y.Test.Runner.add(testdump);
Y.Test.Runner.run();
});
Expand Down
1 change: 1 addition & 0 deletions src/event-custom/tests/aop.html
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ <h1>AOP Tests</h1>
});


Y.Test.Runner.setName("AOP");
Y.Test.Runner.add(testEventTarget);
Y.Test.Runner.run();
});
Expand Down
1 change: 1 addition & 0 deletions src/event-custom/tests/customevent.html
Original file line number Diff line number Diff line change
Expand Up @@ -1125,6 +1125,7 @@ <h4>Animation Demo</h4>
}
});

Y.Test.Runner.setName("CustomEvent");
Y.Test.Runner.add(testEventTarget);
Y.Test.Runner.run();
});
Expand Down
1 change: 1 addition & 0 deletions src/event-custom/tests/event_sequence.html
Original file line number Diff line number Diff line change
Expand Up @@ -840,6 +840,7 @@ <h1>Testing event firing sequence</h1>

Y.log("Tests","section","TestRunner");

Y.Test.Runner.setName("CustomEventSequence");
Y.Test.Runner.add(suite);

Y.Test.Runner.run();
Expand Down
1 change: 1 addition & 0 deletions src/event/tests/delegate.html
Original file line number Diff line number Diff line change
Expand Up @@ -810,6 +810,7 @@
}));

//run all tests
Y.Test.Runner.setName("Delegate");
Y.Test.Runner.add(suite);
Y.Test.Runner.run();
});
Expand Down
1 change: 1 addition & 0 deletions src/event/tests/dom.html
Original file line number Diff line number Diff line change
Expand Up @@ -620,6 +620,7 @@
}));

//run all tests
Y.Test.Runner.setName("DOMEvents");
Y.Test.Runner.run();

/* finishing the testing process */
Expand Down
1 change: 1 addition & 0 deletions src/event/tests/focusblur.html
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,7 @@

}));

Y.Test.Runner.setName("EventFocusBlur");
Y.Test.Runner.run();

});
Expand Down
1 change: 1 addition & 0 deletions src/json/tests/json.html
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
})
.render( "#log" );

Y.Test.Runner.setName("JSON");
Y.Test.Runner.run();
});
</script>
Expand Down
1 change: 1 addition & 0 deletions src/loader/tests/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@

}
}).use('loader-tests', 'test-console', 'test', function(Y) {
Y.Test.Runner.setName("Loader");
Y.Test.Runner.run();
});

Expand Down
1 change: 1 addition & 0 deletions src/substitute/tests/substitute.html
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,7 @@ <h1>substitute Tests</h1>
});


Y.Test.Runner.setName("Substitute");
Y.Test.Runner.add(testSubstitute);
Y.Test.Runner.run();
});
Expand Down

0 comments on commit 9a76bc0

Please sign in to comment.