Created
May 13, 2013 04:02
-
-
Save mythmon/5566082 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(crimson)130@seaborgium> mocha -R list | |
․ testConfig should have a port: 0ms | |
․ mockHttp request should return a response with headers: 1ms | |
․ mockHttp request should return the right content type for gifs: 2ms | |
․ mockHttp request should return the right content type for pngs: 1ms | |
․ mockHttp request should return the right content type for html: 1ms | |
․ mockHttp request should return a 302 when requested: 1ms | |
․ mockHttp request should return a 404 when requested: 2ms | |
․ mockHttp request should return a frame denying page when requested: 1ms | |
․ mockHttp request should return a frame allowing page when requested: 1ms | |
․ mockHttp request should return a frame sameorigin page when requested: 1ms | |
info - socket.io started | |
Listening on http://0.0.0.0:18080 | |
․ api ping should return pong: 13ms | |
․ api sendurl should change a screen: 5ms | |
․ api sendurl should deal with 404: 4ms | |
․ api sendurl should throw an error if no url is given: 1ms | |
․ api sendurl should target a particular screen: 2ms | |
․ ScreenManager #all should list all screens in the config file: 0ms | |
․ ScreenManager #add should add screens: 1ms | |
․ ScreenManager #add should reject duplicate screen names: 0ms | |
․ ScreenManager #add should emit a event: 0ms | |
․ ScreenManager #remove should remove a screen: 0ms | |
․ ScreenManager #remove should have no effect with unknown names: 0ms | |
․ ScreenManager #remove should emit an event: 0ms | |
․ ScreenManager #find should find screens by name: 0ms | |
․ ScreenManager #find should return null for nonexistant screens: 0ms | |
․ ScreenManager #next should return a screen: 0ms | |
․ ScreenManager #next should cycle screens: 0ms | |
․ ScreenManager #sendUrl updates a screen: 1ms | |
․ ScreenManager #sendUrl should emits a event: 2ms | |
․ ScreenManager #sendUrl should deal with screenNames: 1ms | |
․ ScreenManager #cycleScreen should change the right screen: 0ms | |
․ ScreenManager #makeTimeout should cause a screen to change at the right time: 0ms | |
․ ScreenManager #makeTimeout should cancel previous timeouts: 0ms | |
․ ScreenManager #reset should set all screens to default urls: 1ms | |
․ ContentManager all should return the mocked set of content urls: 0ms | |
․ ContentManager load should make correct content objects: 0ms | |
․ ContentManager next should return a content object: 0ms | |
․ ContentManager next should use all urls before looping: 0ms | |
․ ContentManager contentForUrl should return a content object: 1ms | |
․ ContentManager contentForUrl should return an error on 404: 2ms | |
․ ContentManager contentForUrl should handle redirects: 3ms | |
․ ContentManager contentForUrl should reject sites that prevent framing: 1ms | |
․ ContentManager #setUrls should replace all content items: 2ms | |
․ ContentManager #load emits and event after loading: 1ms | |
․ utils String format should format strings in index style: 0ms | |
․ utils String format should format strings in object style: 0ms | |
․ utils dottedGet should get objects one deep: 0ms | |
․ utils dottedGet should get objects two deep: 0ms | |
․ utils async should call a function, but not right away: 1ms | |
․ utils async should not error if callback is not a function: 0ms | |
․ utils eventRelay should relay events: 0ms | |
50 tests complete (111 ms) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment