// --------------------< Constructor that initialisies the comm, Environment, and other required classes >----------- MockTestHarness() { initializeEnvironment(); comm = new Comm(EnvironmentSet.address, EnvironmentSet.port); Data = new List <TestRequestData>(); appDomainModule = new AppDomainModule(); prox = new LoaderProxy(); xmlParse = new XmlParser(); rcvThread = new Thread(rcvThreadProc); rcvThread.Start(); }
//----------------< Test-stub >-------------------------------------------------------------- #if (Test_AppDomainModule) static void Main(string[] args) { AppDomainmodule appDomainModule = new AppDomainModule(); AppDomain childAppDomain = appDomainModule.createAppDomain(authorName, privateBinPath); LoaderProxy loaderProxy = appDomainModule.getLoaderProxyInstance(); }