1
YUI.add('one-contacts-manager-test', function (Y) {
6
suite = new Y.Test.Suite({
7
name: 'one-contacts-manager',
9
// called before the first test in the first test case is executed
10
// before the test's setup() method
12
//test-suite-level setup
15
// executes after all tests in all test cases/suites have been executed
16
// after the test's teardown()
17
tearDown: function () {
18
//test-suite-level teardown
22
suite.add(new Y.Test.Case({
26
"test default construction": function() {
27
Y.Assert.isInstanceOf( Y.Manager, new Y.Manager() );
33
suite.add(new Y.Test.Case({
44
Y.Test.Runner.add(suite);
47
requires: ['one-contacts-manager', 'test']