public void VerifyRun()
        {
            MockMountPoint mnt = new MockMountPoint(_engineEnvironmentSettings);

            mnt.MockRoot.AddDirectory("subdir").AddFile("test.file", System.Array.Empty <byte>());
            Util.Orchestrator orchestrator = new Util.Orchestrator();
            orchestrator.Run(new MockGlobalRunSpec(), mnt.Root, @"c:\temp");
        }
Пример #2
0
        public void VerifyRun()
        {
            TestHost host = new TestHost
            {
                HostIdentifier = "TestRunner",
                Version        = "1.0.0.0",
            };

            host.FileSystem = new MockFileSystem();

            MockMountPoint mnt = new MockMountPoint();

            mnt.EnvironmentSettings = new EngineEnvironmentSettings(host, x => null);
            mnt.MockRoot.AddDirectory("subdir").AddFile("test.file", new byte[0]);
            Orchestrator orchestrator = new Orchestrator();

            orchestrator.Run(new MockGlobalRunSpec(), mnt.Root, @"c:\temp");
        }