Initial Commit from Ember CLI v0.1.5
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,....,,........,.. . . .,..........., ,,,,,,,,,,,,,,,:...,,.,,,,,,,,,,,,,,,,,,,,,.,,.,,......... .~.::::. .........., ,,,,,,,,,,,,. .. .. .. ..,... ,+7ZOOOZ7=, . .,..... ~.=:::::: .........., ,,,,,,,,,, .====IIIIISZ. .. 7ZSIIIIIIIIIIIIIII7ZO... .::..+:::::::= .........., ,,,,,,,,, .=~:~~:~==IIIIII7ZIIIIIIIIIIIIIIIIIIIIIIISZ:....+::::::::, .........., ,,,,,,,,, :::~~~~~~~==77ZIIIIIIIIIIIIIIIIIIIIIIIIIII7O..=~:::::::~............, ,,,,,,,,,..~:::~~~~~~~=ZIIIII77777777777IIIIIIIIIIIIIIIZ==::::::::. :.........., ,,,,,,,,,,. ::::~~~~~:=I7777777777777777777777IIIIIIIIIIS=:::::::. ............, ,,,,,,,,,,. .::,:~~~:::SO8DD8OSII7777777777777777IIIIIIIIZ:::::: ............., ,,,,,,,,,,,, .~M8ZD888OOOOOOOOOOO8DMM7I77I7Z8NMMMMNDZIIIIIZ:::+. .............., ,,,,,,,,,,,,=. ZM888DD,::,,,,,:SN88O88DDD88OOO88888888OO8MM~=.S, .............., ,,,,,,,,,,,,,~ N8D: :88NMMM888O,,,...,:,=NDD8~:88M..,............, ,,,,,,,,,,,,,,, .M8D, MS ,8DZS7SM8S. .,ND8DNM..............., ,,,,,,,,,,,,,,,. ,DD OMN .O8M777S88M =D ?DD~ ... ............ ,,,,,,,,,,,,,,,,. M8~. .M. ~8M77777SM8. DMO .ND= .. ............. ,,,,,,,,,,,,,,,, .~M8: =8D877777SMDN. M, DM= .................. ,,,,,,,,,,,,,,, :.~M8NO?=:=?ZM88DMS7===I77N8M. .MM7S .................. ,,,,,,,,,,,,,, :...=7MNDDDDDNMMNSS777?777SZND888NDS+==O8M7IIZ.................. ,,,,,,,,,,,,, :.....,,,:~~=SSSS77777777777SS7NMMNDDDDDNM7IIIIS................. ,,,,,,,,,,,,..~.......,,,,,,,=777777777777777777SZMMOS777IIIIIS ................ ,,,,,,,,,,,, ~..........:~~:,,,:?7777777SSS8MMMN88DZ777777IIIII+.~+?I777777II?+= ,,,,,,,,,,,.:..............?N8DNNN++=~~::,,NN8888D=,,......IIIIO.SZZZZZZZZZZZZZZ ,,,,,,,,,,. :................N8888S...,....M88888O,,,........IIZ.~77IIIIIIII7777 ,,,,,,,,,, :...........,.....+8888N....,...NN888M,,,.........,IS.:II77IIIIIIIIII ,,,,,,,,,, ~.................,M88D+~...~..===~+M,,,...........IO.=++?I7777IIIIII ,,,,,,,,,,.~.................,,DM=====::::::::::,,............I7 =====+?I777IIII .......... ,.................,:M===:::::::::::=,,............~7 .==++====+?I77II ..........,.~.................,,=:::::::::,. ,,,.............IS .. .===+====?I77 ,,,,,,,,,,, ~.......................,,,. ..,. ............:Z. .+. ======?I ,,,,,,,,,,,, .~........................ .S7777 ............:. .~:,. =..======= .............,.~,...................., .777S77S ..........~. . .::=+::. ======= ,,,,,,,,,,,,,,=. .~....................777 .777.........,:Z .:::::::~....~===== .................:..::............... 77+ 77S......~:777ZZ .=::::::::, :~~=== ,,,,,,,,,,,,,,,,,, .ZZ7I::............S77..S77? ~:,,~+7777Z7Z7I7+~::~+ ~~::~= ,,,,,,,,,,,,,,,,, .ZZ7777~,,,:~~~::: 77I ~777 ,,,,,,,=777IIIII77O. . ~~~~~~:: ,,,,,,,,,,,,,,,,. ,ZZII7=,,,,,,,,,,. =77 .777. .,,,,,,...:IIIIII7Z :~~~~~~~~~~~ ........,.. .... ., . 7~.. .,,. ..,. 777.777= ....... . .III+ . .~. ~~~~~~~~ ....... . . . ,. . . . .. .S77777?. .... ..7S7 , ... :~~~~~~ ...... .S777777. +77+ 7777 777S .777777777? .S777777 77?.S777 .~~~~~~ ..... .7777.+777 .S77. 7777+.7777I 7777777777I .S77S.?77+ I77+S7777 .~~~~~~ .... 777S 77I 777 77777 77777: ,777~. .7777. 777S. 77: .777+7777? .~.. :~ ,. 777 .S77. ?77SS7777SS77777 I77S ?777. 777 .S77. .77777 777 .:. : 7S==7777777= .S77777 77777 77S. .S77, 777I ?7777777S. I77777.777SS777+ . :77777777S,. .:77777 =7777= 77S. .777. .777..7777777?. .I77777. ,777777. .~ ..7777+... S7777777 7777S. 77S. S777. .S7777777777S .. S777777+ . ..: . ..~~ ,,,. .S7777777777777S. S777, 777777777777777777S. 77777777777777S..~~,. .:~~~~~ :::::..~777777I..S77. 77S .S777S .?77777S?.. .. S77777S ?77 :~~~~~~~~~~~~ ..... ..... . . ... ... .. . ..==::. ... . . ..~~~~~~~~~~~~~ .........,.,:.....,:.....=.....,,....,.:.... ...:+~::::,,::::::,:~~~~~~~~~~~~~~~
This commit is contained in:
commit
594c820772
34 changed files with 539 additions and 0 deletions
74
tests/.jshintrc
Normal file
74
tests/.jshintrc
Normal file
|
@ -0,0 +1,74 @@
|
|||
{
|
||||
"predef": [
|
||||
"document",
|
||||
"window",
|
||||
"location",
|
||||
"setTimeout",
|
||||
"$",
|
||||
"-Promise",
|
||||
"QUnit",
|
||||
"define",
|
||||
"console",
|
||||
"equal",
|
||||
"notEqual",
|
||||
"notStrictEqual",
|
||||
"test",
|
||||
"asyncTest",
|
||||
"testBoth",
|
||||
"testWithDefault",
|
||||
"raises",
|
||||
"throws",
|
||||
"deepEqual",
|
||||
"start",
|
||||
"stop",
|
||||
"ok",
|
||||
"strictEqual",
|
||||
"module",
|
||||
"moduleFor",
|
||||
"moduleForComponent",
|
||||
"moduleForModel",
|
||||
"process",
|
||||
"expect",
|
||||
"visit",
|
||||
"exists",
|
||||
"fillIn",
|
||||
"click",
|
||||
"keyEvent",
|
||||
"triggerEvent",
|
||||
"find",
|
||||
"findWithAssert",
|
||||
"wait",
|
||||
"DS",
|
||||
"isolatedContainer",
|
||||
"startApp",
|
||||
"andThen",
|
||||
"currentURL",
|
||||
"currentPath",
|
||||
"currentRouteName"
|
||||
],
|
||||
"node": false,
|
||||
"browser": false,
|
||||
"boss": true,
|
||||
"curly": false,
|
||||
"debug": false,
|
||||
"devel": false,
|
||||
"eqeqeq": true,
|
||||
"evil": true,
|
||||
"forin": false,
|
||||
"immed": false,
|
||||
"laxbreak": false,
|
||||
"newcap": true,
|
||||
"noarg": true,
|
||||
"noempty": false,
|
||||
"nonew": false,
|
||||
"nomen": false,
|
||||
"onevar": false,
|
||||
"plusplus": false,
|
||||
"regexp": false,
|
||||
"undef": true,
|
||||
"sub": true,
|
||||
"strict": false,
|
||||
"white": false,
|
||||
"eqnull": true,
|
||||
"esnext": true
|
||||
}
|
11
tests/helpers/resolver.js
Normal file
11
tests/helpers/resolver.js
Normal file
|
@ -0,0 +1,11 @@
|
|||
import Resolver from 'ember/resolver';
|
||||
import config from '../../config/environment';
|
||||
|
||||
var resolver = Resolver.create();
|
||||
|
||||
resolver.namespace = {
|
||||
modulePrefix: config.modulePrefix,
|
||||
podModulePrefix: config.podModulePrefix
|
||||
};
|
||||
|
||||
export default resolver;
|
19
tests/helpers/start-app.js
Normal file
19
tests/helpers/start-app.js
Normal file
|
@ -0,0 +1,19 @@
|
|||
import Ember from 'ember';
|
||||
import Application from '../../app';
|
||||
import Router from '../../router';
|
||||
import config from '../../config/environment';
|
||||
|
||||
export default function startApp(attrs) {
|
||||
var application;
|
||||
|
||||
var attributes = Ember.merge({}, config.APP);
|
||||
attributes = Ember.merge(attributes, attrs); // use defaults, but you can override;
|
||||
|
||||
Ember.run(function() {
|
||||
application = Application.create(attributes);
|
||||
application.setupForTesting();
|
||||
application.injectTestHelpers();
|
||||
});
|
||||
|
||||
return application;
|
||||
}
|
49
tests/index.html
Normal file
49
tests/index.html
Normal file
|
@ -0,0 +1,49 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>Hymenobacterdotinfo Tests</title>
|
||||
<meta name="description" content="">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
{{content-for 'head'}}
|
||||
{{content-for 'test-head'}}
|
||||
|
||||
<link rel="stylesheet" href="assets/vendor.css">
|
||||
<link rel="stylesheet" href="assets/hymenobacterdotinfo.css">
|
||||
<link rel="stylesheet" href="assets/test-support.css">
|
||||
<style>
|
||||
#ember-testing-container {
|
||||
position: absolute;
|
||||
background: white;
|
||||
bottom: 0;
|
||||
right: 0;
|
||||
width: 640px;
|
||||
height: 384px;
|
||||
overflow: auto;
|
||||
z-index: 9999;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
#ember-testing {
|
||||
zoom: 50%;
|
||||
}
|
||||
</style>
|
||||
|
||||
{{content-for 'head-footer'}}
|
||||
{{content-for 'test-head-footer'}}
|
||||
</head>
|
||||
<body>
|
||||
|
||||
{{content-for 'body'}}
|
||||
{{content-for 'test-body'}}
|
||||
<script src="assets/vendor.js"></script>
|
||||
<script src="assets/test-support.js"></script>
|
||||
<script src="assets/hymenobacterdotinfo.js"></script>
|
||||
<script src="testem.js"></script>
|
||||
<script src="assets/test-loader.js"></script>
|
||||
|
||||
{{content-for 'body-footer'}}
|
||||
{{content-for 'test-body-footer'}}
|
||||
</body>
|
||||
</html>
|
12
tests/test-helper.js
Normal file
12
tests/test-helper.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
import resolver from './helpers/resolver';
|
||||
import {
|
||||
setResolver
|
||||
} from 'ember-qunit';
|
||||
|
||||
setResolver(resolver);
|
||||
|
||||
document.write('<div id="ember-testing-container"><div id="ember-testing"></div></div>');
|
||||
|
||||
QUnit.config.urlConfig.push({ id: 'nocontainer', label: 'Hide container'});
|
||||
var containerVisibility = QUnit.urlParams.nocontainer ? 'hidden' : 'visible';
|
||||
document.getElementById('ember-testing-container').style.visibility = containerVisibility;
|
0
tests/unit/.gitkeep
Normal file
0
tests/unit/.gitkeep
Normal file
Reference in a new issue