~jonas-drange/online-services-common-js/navbar-autocomplete

« back to all changes in this revision

Viewing changes to src/contacts-manager/tests/unit/assets/one-contacts-manager-test.js

  • Committer: Stephen Stewart
  • Date: 2014-02-22 23:57:25 UTC
  • mfrom: (18.1.2 trunk)
  • Revision ID: stephen.stewart@canonical.com-20140222235725-iw6f15t9umws19xd
mergeĀ lp:~stephen-stewart/online-services-common-js/remove-u1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
YUI.add('one-contacts-manager-test', function (Y) {
2
 
 
3
 
var Assert = Y.Assert,
4
 
    suite;
5
 
 
6
 
suite = new Y.Test.Suite({
7
 
    name: 'one-contacts-manager',
8
 
 
9
 
    // called before the first test in the first test case is executed
10
 
    // before the test's setup() method
11
 
    setUp : function () {
12
 
        //test-suite-level setup
13
 
    },
14
 
 
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 
19
 
    },
20
 
});
21
 
 
22
 
suite.add(new Y.Test.Case({
23
 
 
24
 
    name: "Lifecycle",
25
 
 
26
 
    "test default construction": function() {
27
 
        Y.Assert.isInstanceOf( Y.Manager, new Y.Manager() );
28
 
    }
29
 
 
30
 
}));
31
 
 
32
 
/**
33
 
suite.add(new Y.Test.Case({
34
 
 
35
 
    name: ""
36
 
 
37
 
    " ": function() {
38
 
 
39
 
    }
40
 
 
41
 
}));
42
 
**/
43
 
 
44
 
Y.Test.Runner.add(suite);
45
 
 
46
 
}, '@VERSION@', {
47
 
        requires: ['one-contacts-manager', 'test']
48
 
});