fixed running unit tests

This commit is contained in:
bodnia
2016-02-24 23:18:43 +02:00
parent 0d0864f310
commit 4f48f40638
7 changed files with 646 additions and 673 deletions

12
dist/css/print.css vendored
View File

@@ -82,7 +82,7 @@
.swagger-section pre .vhdl .attribute, .swagger-section pre .vhdl .attribute,
.swagger-section pre .clojure .attribute, .swagger-section pre .clojure .attribute,
.swagger-section pre .coffeescript .property { .swagger-section pre .coffeescript .property {
color: #8888ff; color: #88F;
} }
.swagger-section pre .keyword, .swagger-section pre .keyword,
.swagger-section pre .id, .swagger-section pre .id,
@@ -124,11 +124,11 @@
display: block; display: block;
overflow-x: auto; overflow-x: auto;
padding: 0.5em; padding: 0.5em;
background: #f0f0f0; background: #F0F0F0;
} }
.swagger-section .hljs, .swagger-section .hljs,
.swagger-section .hljs-subst { .swagger-section .hljs-subst {
color: #444444; color: #444;
} }
.swagger-section .hljs-keyword, .swagger-section .hljs-keyword,
.swagger-section .hljs-attribute, .swagger-section .hljs-attribute,
@@ -143,7 +143,7 @@
.swagger-section .hljs-bullet, .swagger-section .hljs-bullet,
.swagger-section .hljs-code, .swagger-section .hljs-code,
.swagger-section .hljs-addition { .swagger-section .hljs-addition {
color: #1f811f; color: #1F811F;
} }
.swagger-section .hljs-regexp, .swagger-section .hljs-regexp,
.swagger-section .hljs-symbol, .swagger-section .hljs-symbol,
@@ -152,7 +152,7 @@
.swagger-section .hljs-link, .swagger-section .hljs-link,
.swagger-section .hljs-selector-attr, .swagger-section .hljs-selector-attr,
.swagger-section .hljs-selector-pseudo { .swagger-section .hljs-selector-pseudo {
color: #bc6060; color: #BC6060;
} }
.swagger-section .hljs-type, .swagger-section .hljs-type,
.swagger-section .hljs-string, .swagger-section .hljs-string,
@@ -173,7 +173,7 @@
color: #888888; color: #888888;
} }
.swagger-section .hljs-meta { .swagger-section .hljs-meta {
color: #2b6ea1; color: #2B6EA1;
} }
.swagger-section .hljs-emphasis { .swagger-section .hljs-emphasis {
font-style: italic; font-style: italic;

12
dist/css/screen.css vendored
View File

@@ -82,7 +82,7 @@
.swagger-section pre .vhdl .attribute, .swagger-section pre .vhdl .attribute,
.swagger-section pre .clojure .attribute, .swagger-section pre .clojure .attribute,
.swagger-section pre .coffeescript .property { .swagger-section pre .coffeescript .property {
color: #8888ff; color: #88F;
} }
.swagger-section pre .keyword, .swagger-section pre .keyword,
.swagger-section pre .id, .swagger-section pre .id,
@@ -124,11 +124,11 @@
display: block; display: block;
overflow-x: auto; overflow-x: auto;
padding: 0.5em; padding: 0.5em;
background: #f0f0f0; background: #F0F0F0;
} }
.swagger-section .hljs, .swagger-section .hljs,
.swagger-section .hljs-subst { .swagger-section .hljs-subst {
color: #444444; color: #444;
} }
.swagger-section .hljs-keyword, .swagger-section .hljs-keyword,
.swagger-section .hljs-attribute, .swagger-section .hljs-attribute,
@@ -143,7 +143,7 @@
.swagger-section .hljs-bullet, .swagger-section .hljs-bullet,
.swagger-section .hljs-code, .swagger-section .hljs-code,
.swagger-section .hljs-addition { .swagger-section .hljs-addition {
color: #1f811f; color: #1F811F;
} }
.swagger-section .hljs-regexp, .swagger-section .hljs-regexp,
.swagger-section .hljs-symbol, .swagger-section .hljs-symbol,
@@ -152,7 +152,7 @@
.swagger-section .hljs-link, .swagger-section .hljs-link,
.swagger-section .hljs-selector-attr, .swagger-section .hljs-selector-attr,
.swagger-section .hljs-selector-pseudo { .swagger-section .hljs-selector-pseudo {
color: #bc6060; color: #BC6060;
} }
.swagger-section .hljs-type, .swagger-section .hljs-type,
.swagger-section .hljs-string, .swagger-section .hljs-string,
@@ -173,7 +173,7 @@
color: #888888; color: #888888;
} }
.swagger-section .hljs-meta { .swagger-section .hljs-meta {
color: #2b6ea1; color: #2B6EA1;
} }
.swagger-section .hljs-emphasis { .swagger-section .hljs-emphasis {
font-style: italic; font-style: italic;

1240
dist/swagger-ui.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -4,6 +4,12 @@ module.exports = function(config) {
config.set({ config.set({
frameworks: [ 'mocha', 'sinon-chai' ], frameworks: [ 'mocha', 'sinon-chai' ],
'plugins' : [
'karma-mocha',
'karma-sinon-chai',
'karma-phantomjs-launcher'
],
files: [ files: [
'dist/lib/jquery-1.8.0.min.js', 'dist/lib/jquery-1.8.0.min.js',
'dist/lib/jquery.slideto.min.js', 'dist/lib/jquery.slideto.min.js',
@@ -14,7 +20,8 @@ module.exports = function(config) {
'dist/lib/lodash.min.js', 'dist/lib/lodash.min.js',
'dist/lib/backbone-min.js', 'dist/lib/backbone-min.js',
'dist/swagger-ui.js', 'dist/swagger-ui.js',
'dist/lib/highlight.7.3.pack.js', 'dist/lib/highlight.9.1.0.pack.js',
'dist/lib/highlight.9.1.0.pack_extended.js',
'dist/lib/jsoneditor.min.js', 'dist/lib/jsoneditor.min.js',
'dist/lib/marked.js', 'dist/lib/marked.js',
'dist/lib/swagger-oauth.js', 'dist/lib/swagger-oauth.js',

View File

@@ -82,7 +82,7 @@
.swagger-section pre .vhdl .attribute, .swagger-section pre .vhdl .attribute,
.swagger-section pre .clojure .attribute, .swagger-section pre .clojure .attribute,
.swagger-section pre .coffeescript .property { .swagger-section pre .coffeescript .property {
color: #8888ff; color: #88F;
} }
.swagger-section pre .keyword, .swagger-section pre .keyword,
.swagger-section pre .id, .swagger-section pre .id,
@@ -124,11 +124,11 @@
display: block; display: block;
overflow-x: auto; overflow-x: auto;
padding: 0.5em; padding: 0.5em;
background: #f0f0f0; background: #F0F0F0;
} }
.swagger-section .hljs, .swagger-section .hljs,
.swagger-section .hljs-subst { .swagger-section .hljs-subst {
color: #444444; color: #444;
} }
.swagger-section .hljs-keyword, .swagger-section .hljs-keyword,
.swagger-section .hljs-attribute, .swagger-section .hljs-attribute,
@@ -143,7 +143,7 @@
.swagger-section .hljs-bullet, .swagger-section .hljs-bullet,
.swagger-section .hljs-code, .swagger-section .hljs-code,
.swagger-section .hljs-addition { .swagger-section .hljs-addition {
color: #1f811f; color: #1F811F;
} }
.swagger-section .hljs-regexp, .swagger-section .hljs-regexp,
.swagger-section .hljs-symbol, .swagger-section .hljs-symbol,
@@ -152,7 +152,7 @@
.swagger-section .hljs-link, .swagger-section .hljs-link,
.swagger-section .hljs-selector-attr, .swagger-section .hljs-selector-attr,
.swagger-section .hljs-selector-pseudo { .swagger-section .hljs-selector-pseudo {
color: #bc6060; color: #BC6060;
} }
.swagger-section .hljs-type, .swagger-section .hljs-type,
.swagger-section .hljs-string, .swagger-section .hljs-string,
@@ -173,7 +173,7 @@
color: #888888; color: #888888;
} }
.swagger-section .hljs-meta { .swagger-section .hljs-meta {
color: #2b6ea1; color: #2B6EA1;
} }
.swagger-section .hljs-emphasis { .swagger-section .hljs-emphasis {
font-style: italic; font-style: italic;

View File

@@ -82,7 +82,7 @@
.swagger-section pre .vhdl .attribute, .swagger-section pre .vhdl .attribute,
.swagger-section pre .clojure .attribute, .swagger-section pre .clojure .attribute,
.swagger-section pre .coffeescript .property { .swagger-section pre .coffeescript .property {
color: #8888ff; color: #88F;
} }
.swagger-section pre .keyword, .swagger-section pre .keyword,
.swagger-section pre .id, .swagger-section pre .id,
@@ -124,11 +124,11 @@
display: block; display: block;
overflow-x: auto; overflow-x: auto;
padding: 0.5em; padding: 0.5em;
background: #f0f0f0; background: #F0F0F0;
} }
.swagger-section .hljs, .swagger-section .hljs,
.swagger-section .hljs-subst { .swagger-section .hljs-subst {
color: #444444; color: #444;
} }
.swagger-section .hljs-keyword, .swagger-section .hljs-keyword,
.swagger-section .hljs-attribute, .swagger-section .hljs-attribute,
@@ -143,7 +143,7 @@
.swagger-section .hljs-bullet, .swagger-section .hljs-bullet,
.swagger-section .hljs-code, .swagger-section .hljs-code,
.swagger-section .hljs-addition { .swagger-section .hljs-addition {
color: #1f811f; color: #1F811F;
} }
.swagger-section .hljs-regexp, .swagger-section .hljs-regexp,
.swagger-section .hljs-symbol, .swagger-section .hljs-symbol,
@@ -152,7 +152,7 @@
.swagger-section .hljs-link, .swagger-section .hljs-link,
.swagger-section .hljs-selector-attr, .swagger-section .hljs-selector-attr,
.swagger-section .hljs-selector-pseudo { .swagger-section .hljs-selector-pseudo {
color: #bc6060; color: #BC6060;
} }
.swagger-section .hljs-type, .swagger-section .hljs-type,
.swagger-section .hljs-string, .swagger-section .hljs-string,
@@ -173,7 +173,7 @@
color: #888888; color: #888888;
} }
.swagger-section .hljs-meta { .swagger-section .hljs-meta {
color: #2b6ea1; color: #2B6EA1;
} }
.swagger-section .hljs-emphasis { .swagger-section .hljs-emphasis {
font-style: italic; font-style: italic;