1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
/* Copyright 2012-2015 Canonical Ltd. This software is licensed under the
* GNU Affero General Public License version 3 (see the file LICENSE).
*/
// TODO: Replace "sample" with module name throughout.
YUI({ useBrowserConsole: true }).add('maas.sample.tests', function(Y) {
Y.log('loading maas.sample.tests');
var namespace = Y.namespace('maas.sample.tests');
var module = Y.maas.sample;
var suite = new Y.Test.Suite("maas.sample Tests");
suite.add(new Y.maas.testing.TestCase({
name: 'test-sample',
testMe: function() {
Y.Assert.isTrue(true);
}
}));
namespace.suite = suite;
}, '0.1', {'requires': [
'node-event-simulate', 'test', 'maas.testing', 'maas.sample']}
);
|