/// <summary>
        /// Initializes a new instance of the <see cref="TestMicroEnvironmentBase"/> class.
        /// </summary>
        public TestMicroEnvironmentBase()
        {
            folderResources = folder.Add("resources", "resources", "Application resources folder");

            folder = folder.Add(DIRECTORY_TESTS, "Test", "Directory with test content");
            folder = folder.Add(GetType().Name.getValidFileName(), GetType().Name, "Tests performed by [" + GetType().Name + "] test unit");


            folderResults = folder.Add("Results", "Results of the tests", "");

            log = new builderForLogBase();
            log.log("Test [" + GetType().Name + "] class initiated");
        }
Esempio n. 2
0
        public void StartApp()
        {
            ILogBuilder logger = new  builderForLogBase();

            app = new testApplication();


            Thread t = new Thread(newThread);

            t.Start();


            Thread.Sleep(2000);


            dataBaseTarget dBT = new dataBaseTarget();

            imbACE.Network.tools.systemKnowledge.prepare(dBT, logger);


            domainAnalysis da = new domainAnalysis("http://www.koplas.co.rs");

            Assert.IsNotNull(da.tldDefinition);
        }