App Engine Python SDK  v1.6.9 rev.445
The Python runtime is available as an experimental Preview feature.
Public Member Functions | List of all members
google.appengine.tools.devappserver2.channel_test.DevAppserverChannelTest Class Reference
Inheritance diagram for google.appengine.tools.devappserver2.channel_test.DevAppserverChannelTest:
google.appengine.tools.devappserver2.wsgi_test_utils.WSGITestCase

Public Member Functions

def setUp
 
def tearDown
 
def test_channel_request_no_messages
 
def test_channel_request_missing_parameters
 
def test_channel_request_bad_command
 
def test_channel_request_bad_token
 
def test_channel_request_expired_token
 
def test_channel_request_other_channel_has_messages
 
def test_channel_request_with_messages
 
def test_channel_request_empty_message
 
def test_channel_request_with_multiple_messages
 
def test_channel_request_clears_messages
 
def test_channel_request_clears_correct_messages
 
def test_channel_request_connects_channel
 
def test_channel_request_jsapi
 
- Public Member Functions inherited from google.appengine.tools.devappserver2.wsgi_test_utils.WSGITestCase
def assertHeadersEqual
 
def assertResponse
 

Detailed Description

Test the dev appserver channel module.

Member Function Documentation

def google.appengine.tools.devappserver2.channel_test.DevAppserverChannelTest.setUp (   self)
Set up the mocks and output objects for tests.
def google.appengine.tools.devappserver2.channel_test.DevAppserverChannelTest.test_channel_request_bad_command (   self)
Test a channel request with an invalid command.
def google.appengine.tools.devappserver2.channel_test.DevAppserverChannelTest.test_channel_request_bad_token (   self)
Test a channel request with an invalid token.
def google.appengine.tools.devappserver2.channel_test.DevAppserverChannelTest.test_channel_request_clears_correct_messages (   self)
Test that request a channel's messages clears only those messages.
def google.appengine.tools.devappserver2.channel_test.DevAppserverChannelTest.test_channel_request_clears_messages (   self)
Test that request a channel's messages clears those messages.
def google.appengine.tools.devappserver2.channel_test.DevAppserverChannelTest.test_channel_request_connects_channel (   self)
Ensure that a channel request causes the channel to be connected.
def google.appengine.tools.devappserver2.channel_test.DevAppserverChannelTest.test_channel_request_empty_message (   self)
Test a channel request with a channel that has a 0-length message.
def google.appengine.tools.devappserver2.channel_test.DevAppserverChannelTest.test_channel_request_expired_token (   self)
Test a channel request with an expired token.
def google.appengine.tools.devappserver2.channel_test.DevAppserverChannelTest.test_channel_request_jsapi (   self)
Test that requesting the jsapi script returns expected result.
def google.appengine.tools.devappserver2.channel_test.DevAppserverChannelTest.test_channel_request_missing_parameters (   self)
Test a channel request with missing query string parameters.
def google.appengine.tools.devappserver2.channel_test.DevAppserverChannelTest.test_channel_request_no_messages (   self)
Test a channel request with no pending messages.
def google.appengine.tools.devappserver2.channel_test.DevAppserverChannelTest.test_channel_request_other_channel_has_messages (   self)
Test a channel request with another channel with messages.
def google.appengine.tools.devappserver2.channel_test.DevAppserverChannelTest.test_channel_request_with_messages (   self)
Test a channel request with a channel that has a message.
def google.appengine.tools.devappserver2.channel_test.DevAppserverChannelTest.test_channel_request_with_multiple_messages (   self)
Test a channel request with a channel that has multiple messages.

The documentation for this class was generated from the following file: