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

« back to all changes in this revision

Viewing changes to src/photos/tests/unit/common.html

  • 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
 
<!doctype html>
2
 
<html>
3
 
<head>
4
 
<meta charset="utf-8">
5
 
<title>PhotosCommon tests</title>
6
 
<script>
7
 
 
8
 
// Yeti needs absolute urls or file paths.
9
 
// these constants are in the build YUI_config so we need to provide them
10
 
var COMBO_URL = '',
11
 
    MEDIA_URL = '../../../../build/',
12
 
    USE_COMBO = 0,
13
 
    USE_MIN = 1;
14
 
 
15
 
</script>
16
 
</head>
17
 
 
18
 
<body class="yui3-skin-sam">
19
 
 
20
 
<div id="log"></div>
21
 
<div id="test"></div>
22
 
 
23
 
<script src="../../../../bower_components/yui3/build/yui/yui-min.js"></script>
24
 
<script src="../../../../build/config.js"></script>
25
 
 
26
 
<script>
27
 
 
28
 
YUI({
29
 
  // use RAW js, overriding whatever is in YUI_config (cf devsettings.py)
30
 
  combine:false,
31
 
  base: '../../../../bower_components/yui3/build/',
32
 
  //fetchCSS: false,
33
 
  modules: {
34
 
    // define a custom module for our tests
35
 
    'one-photos-common-test': {
36
 
      fullpath: './assets/common-test.js',
37
 
      requires: ['one-photos-common', 'test']
38
 
    }
39
 
  },
40
 
  groups: {
41
 
    'u1': {
42
 
      base: '../../../../build/'
43
 
    }
44
 
  },
45
 
  useBrowserConsole: true
46
 
}).use('one-photos-common-test', 'test-console', function (Y) {
47
 
 
48
 
  new Y.Test.Console().render('#log');
49
 
  Y.Test.Runner.run();
50
 
 
51
 
});
52
 
 
53
 
</script>
54
 
 
55
 
</body>
56
 
</html>
57