Esempio n. 1
0
        // Construction
        public SqlEEClient_Test()
        {
            connectionDefinitions = SIEEUtils.GetLocalTestDefinintions(connectionDefinitions);
            testConnection        = connectionDefinitions.Where(n => n.TestSystemName == testSystem).First();

            testDocument = Path.Combine(Path.GetTempPath(), "Document.pdf");
            File.WriteAllBytes(testDocument, Properties.Resources.Document);
            createColumnMetadata(testDocument);
            createDefaultTable(testTable, columnMetadata);
        }
        public TestSPOClient()
        {
            testsystems  = SIEEUtils.GetLocalTestDefinintions(testsystems);
            testDocument = Path.GetTempFileName().Replace(".tmp", ".pdf");
            File.WriteAllBytes(testDocument, Properties.Resources.Document);

            foreach (SPOTestSystem ts in testsystems)
            {
                if (ts.Active && reallyRemoveStuff)
                {
                    reallyRemoveTestLists(ts, unitTestLibrary);
                    reallyRemoveTestLists(ts, unitTestList);
                }
            }
        }