Lines Matching refs:ctx
29 def __init__(self,method,ctx): argument
31 self.ctx = ctx
34 self.tobj = self.ctx.ServiceManager.createInstanceWithContext( \
35 "com.sun.star.test.bridge.CppTestObject",self.ctx)
48 e.Source = self.ctx
49 e = EventObject( self.ctx )
53 ctx = uno.getComponentContext()
55 … not ("com.sun.star.connection.Acceptor" in ctx.ServiceManager.getAvailableServiceNames()),
58 … not ("com.sun.star.connection.Connector" in ctx.ServiceManager.getAvailableServiceNames()),
61 ctx , ctx, ("acceptor.uno","connector.uno"), "com.sun.star.loader.SharedLibrary" )
63 … ("com.sun.star.connection.Acceptor" in ctx.ServiceManager.getAvailableServiceNames()) )
65 … ("com.sun.star.connection.Connector" in ctx.ServiceManager.getAvailableServiceNames()))
67 def suite( ctx ): argument
69 suite.addTest(ImporterTestCase("testStandard",ctx))
70 suite.addTest(ImporterTestCase("testDynamicComponentRegistration",ctx))