Monitor Min v0.5.5

Show:

RouterTest Class

Defined in: test/RouterTest.js:14
Module: Monitor

Unit tests for the Router class.

Methods

Router

()

Tests for baseline Router functionality

Router-ByAppInstance

()

Test that the router can connect with a probe in an app by instance ID

Router-Classes

()

Tests that Router classes are in place

Router-ConnectExternal

()

Test that the router finds an external probe

Router-ConnectInternal

()

Test that the router finds an internal probe

Router-ConnectionAddEvent

()

Test that the external connection:add event is fired on add.

Router-ConnectionRemoveEvent

()

Test that the external connection:remove event is fired on connection remove.

Router-ControlExternal

()

Test that the router can route control an external probe

Router-DisconnectExternal

()

Test that a disconnect to an external probe works

Router-DisconnectInternal

()

Test that a disconnect to an internal probe works

Router-ExternalChanges

()

Test that the remote probe forwards change events

Router-ExternalDifferentProbe

()

Test that different external probes are connected when requested with the different initParams

Router-ExternalSameProbe

()

Test that the same external probe is connected when requested with the same initParams

Router-GetConnection

()

Test the getConnection method returns the connection

Router-InternalChanges

()

Test that the local probe forwards change events

Router-InternalDifferentProbe

()

Test that different probes are connected when requested with the different initParams

Router-InternalSameProbe

()

Test that the same probe is connected when requested with the same initParams

Router-SetUp

()

Create a Server to test routing with

Router-TearDown

()

Tear down the test Server and disconnect the test probes