예제 #1
0
        public void TestInit()
        {
            MEFUtilities.MyClassInit();
            DummyQueryExectuor.GlobalInitalized = false;

            /// Get the path for the other nutple guy correct! Since Pex and tests run from different places in the directory structure we have to
            /// do some work to find the top leve!

            var currentDir = new DirectoryInfo(Environment.CurrentDirectory);

            while (currentDir.FindAllFiles("LINQToTTree.sln").Count() == 0)
            {
                currentDir = currentDir.Parent;
            }
            var projectDir = currentDir.Parent;

            ntuple._gCINTLines   = null;
            ntuple._gObjectFiles = null;

            var eng = new VelocityEngine();

            eng.Init();

            TestUtils.ResetCacheDir();
        }
예제 #2
0
 public void Setup()
 {
     TestUtils.ResetLINQLibrary();
     MEFUtilities.MyClassInit();
 }