Skip to content

Commit

Permalink
fixed test
Browse files Browse the repository at this point in the history
  • Loading branch information
chaeringer committed Jan 22, 2014
1 parent 59f449c commit cc9a814
Showing 1 changed file with 126 additions and 18 deletions.
144 changes: 126 additions & 18 deletions test/lib/photoboxTest.js
Expand Up @@ -14,7 +14,13 @@ exports.photoBox = {
var cbFunction = function() {},
options = {
indexPath : 'tmp/',
template : 'canvas',
template : {
name : 'canvas',
options : {
highlightColor : '#ff0000', // template.options.hightlightColor || highlightcolor || default
diffFilter : 'default' // default == no filter 'grayscale' | 'darker' | 'brighter'
}
},
screenSizes : [ '1000' ],
urls : [ 'http://google.com' ]
},
Expand All @@ -33,7 +39,13 @@ exports.photoBox = {
var cbFunction = function() {},
options = {
indexPath : 'tmp/',
template : 'canvas',
template : {
name : 'canvas',
options : {
highlightColor : '#ff0000', // template.options.hightlightColor || highlightcolor || default
diffFilter : 'default' // default == no filter 'grayscale' | 'darker' | 'brighter'
}
},
screenSizes : [ '1000' ],
urls : [ 'http://google.com' ]
},
Expand All @@ -59,7 +71,13 @@ exports.photoBox = {
var cbFunction = function() {},
options = {
indexPath : 'tmp/',
template : 'canvas',
template : {
name : 'canvas',
options : {
highlightColor : '#ff0000', // template.options.hightlightColor || highlightcolor || default
diffFilter : 'default' // default == no filter 'grayscale' | 'darker' | 'brighter'
}
},
screenSizes : [ '1000' ],
urls : [ 'http://google.com' ]
},
Expand All @@ -73,7 +91,13 @@ exports.photoBox = {
var cbFunction = function() {},
options = {
indexPath : 'tmp',
template : 'canvas',
template : {
name : 'canvas',
options : {
highlightColor : '#ff0000', // template.options.hightlightColor || highlightcolor || default
diffFilter : 'default' // default == no filter 'grayscale' | 'darker' | 'brighter'
}
},
screenSizes : [ '1000' ],
urls : [ 'http://google.com' ]
},
Expand All @@ -90,7 +114,13 @@ exports.photoBox = {
var cbFunction = function() {},
options = {
indexPath : 'tmp',
template : 'canvas',
template : {
name : 'canvas',
options : {
highlightColor : '#ff0000', // template.options.hightlightColor || highlightcolor || default
diffFilter : 'default' // default == no filter 'grayscale' | 'darker' | 'brighter'
}
},
screenSizes : [ '1000', '1200' ],
urls : [ 'http://google.com', 'http://4waisenkinder.de' ]
},
Expand Down Expand Up @@ -122,7 +152,13 @@ exports.photoBox = {
var timestampFilePath = './tmp/img/test/timestamp.json',
options = {
indexPath : 'tmp',
template : 'canvas',
template : {
name : 'canvas',
options : {
highlightColor : '#ff0000', // template.options.hightlightColor || highlightcolor || default
diffFilter : 'default' // default == no filter 'grayscale' | 'darker' | 'brighter'
}
},
screenSizes : [ '1000', '1200' ],
urls : [ 'http://google.com', 'http://4waisenkinder.de' ]
},
Expand All @@ -144,7 +180,13 @@ exports.photoBox = {
var timestampFilePath = 'img/test/timestamp.json',
options = {
indexPath : 'tmp',
template : 'canvas',
template : {
name : 'canvas',
options : {
highlightColor : '#ff0000', // template.options.hightlightColor || highlightcolor || default
diffFilter : 'default' // default == no filter 'grayscale' | 'darker' | 'brighter'
}
},
screenSizes : [ '1000', '1200' ],
urls : [ 'http://google.com', 'http://4waisenkinder.de' ]
},
Expand All @@ -159,7 +201,13 @@ exports.photoBox = {
getTimestamps : function( test ) {
var options = {
indexPath : 'tmp',
template : 'canvas',
template : {
name : 'canvas',
options : {
highlightColor : '#ff0000', // template.options.hightlightColor || highlightcolor || default
diffFilter : 'default' // default == no filter 'grayscale' | 'darker' | 'brighter'
}
},
screenSizes : [ '1000', '1200' ],
urls : [ 'http://google.com', 'http://4waisenkinder.de' ]
},
Expand Down Expand Up @@ -188,7 +236,13 @@ exports.photoBox = {
var cbFunction = function() {},
options = {
indexPath : 'tmp',
template : 'canvas',
template : {
name : 'canvas',
options : {
highlightColor : '#ff0000', // template.options.hightlightColor || highlightcolor || default
diffFilter : 'default' // default == no filter 'grayscale' | 'darker' | 'brighter'
}
},
screenSizes : [ '1000', '1200' ],
urls : [ 'http://google.com', 'http://4waisenkinder.de' ]
},
Expand All @@ -206,7 +260,13 @@ exports.photoBox = {
var cbFunction = function() {},
options = {
indexPath : 'tmp',
template : 'canvas',
template : {
name : 'canvas',
options : {
highlightColor : '#ff0000', // template.options.hightlightColor || highlightcolor || default
diffFilter : 'default' // default == no filter 'grayscale' | 'darker' | 'brighter'
}
},
screenSizes : [ '1000', '1200' ],
urls : [ 'http://google.com', 'http://4waisenkinder.de' ]
},
Expand All @@ -233,7 +293,13 @@ exports.photoBox = {
errorAppeared : function( test ) {
var options = {
indexPath : 'tmp',
template : 'canvas',
template : {
name : 'canvas',
options : {
highlightColor : '#ff0000', // template.options.hightlightColor || highlightcolor || default
diffFilter : 'default' // default == no filter 'grayscale' | 'darker' | 'brighter'
}
},
screenSizes : [ '1000', '1200' ],
urls : [ 'http://google.com', 'http://4waisenkinder.de' ]
},
Expand Down Expand Up @@ -261,7 +327,13 @@ exports.photoBox = {
noErrorAppeared : function( test ) {
var options = {
indexPath : 'tmp',
template : 'canvas',
template : {
name : 'canvas',
options : {
highlightColor : '#ff0000', // template.options.hightlightColor || highlightcolor || default
diffFilter : 'default' // default == no filter 'grayscale' | 'darker' | 'brighter'
}
},
screenSizes : [ '1000', '1200' ],
urls : [ 'http://google.com', 'http://4waisenkinder.de' ]
},
Expand Down Expand Up @@ -297,7 +369,13 @@ exports.photoBox = {
errorAppeared : function( test ) {
var options = {
indexPath : 'tmp',
template : 'canvas',
template : {
name : 'canvas',
options : {
highlightColor : '#ff0000', // template.options.hightlightColor || highlightcolor || default
diffFilter : 'default' // default == no filter 'grayscale' | 'darker' | 'brighter'
}
},
screenSizes : [ '1000', '1200' ],
urls : [ 'http://google.com', 'http://4waisenkinder.de' ]
},
Expand Down Expand Up @@ -325,7 +403,13 @@ exports.photoBox = {
noErrorAppeared : function( test ) {
var options = {
indexPath : 'tmp',
template : 'canvas',
template : {
name : 'canvas',
options : {
highlightColor : '#ff0000', // template.options.hightlightColor || highlightcolor || default
diffFilter : 'default' // default == no filter 'grayscale' | 'darker' | 'brighter'
}
},
screenSizes : [ '1000', '1200' ],
urls : [ 'http://google.com', 'http://4waisenkinder.de' ]
},
Expand Down Expand Up @@ -355,7 +439,13 @@ exports.photoBox = {
startPhotoSession : function( test ) {
var options = {
indexPath : 'tmp',
template : 'canvas',
template : {
name : 'canvas',
options : {
highlightColor : '#ff0000', // template.options.hightlightColor || highlightcolor || default
diffFilter : 'default' // default == no filter 'grayscale' | 'darker' | 'brighter'
}
},
screenSizes : [ '1000', '1200' ],
urls : [ 'http://google.com', 'http://4waisenkinder.de' ]
},
Expand Down Expand Up @@ -408,7 +498,13 @@ exports.photoBox = {
},
options = {
indexPath : 'tmp',
template : 'canvas',
template : {
name : 'canvas',
options : {
highlightColor : '#ff0000', // template.options.hightlightColor || highlightcolor || default
diffFilter : 'default' // default == no filter 'grayscale' | 'darker' | 'brighter'
}
},
screenSizes : [ '1000', '1200' ],
urls : [ 'http://google.com', 'http://4waisenkinder.de' ]
},
Expand Down Expand Up @@ -460,7 +556,13 @@ exports.photoBox = {
writeOptionsFile : function( test ) {
var options = {
indexPath : 'tmp',
template : 'canvas',
template : {
name : 'canvas',
options : {
highlightColor : '#ff0000', // template.options.hightlightColor || highlightcolor || default
diffFilter : 'default' // default == no filter 'grayscale' | 'darker' | 'brighter'
}
},
screenSizes : [ '1000' ],
urls : [ 'http://google.com' ]
},
Expand All @@ -486,7 +588,13 @@ exports.photoBox = {
writeTimestampFile : function( test ) {
var options = {
indexPath : 'tmp',
template : 'canvas',
template : {
name : 'canvas',
options : {
highlightColor : '#ff0000', // template.options.hightlightColor || highlightcolor || default
diffFilter : 'default' // default == no filter 'grayscale' | 'darker' | 'brighter'
}
},
screenSizes : [ '1000', '1200' ],
urls : [ 'http://google.com', 'http://4waisenkinder.de' ]
},
Expand Down

0 comments on commit cc9a814

Please sign in to comment.