Back to index

lightning-sunbird  0.9+nobinonly
Classes | Functions | Variables
test_streams Namespace Reference


class  koTestSimpleStream
class  StreamTests


def get_test_input


string test_data = "abcdefeghijklmnopqrstuvwxyz"

Function Documentation

Definition at line 73 of file

00074 def get_test_input():
00075     # We use a couple of internal hacks here that mean we can avoid having the object
00076     # registered.  This code means that we are still working over the xpcom boundaries, tho
00077     # (and the point of this test is not the registration, etc).
00078     import xpcom.server, xpcom.client
00079     ob = xpcom.server.WrapObject( koTestSimpleStream(), _xpcom.IID_nsISupports)
00080     ob = xpcom.client.Component(ob._comobj_, components.interfaces.nsIInputStream)
00081     return ob

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

string test_streams.test_data = "abcdefeghijklmnopqrstuvwxyz"

Definition at line 43 of file