コード例 #1
0
        private IBuildMetaData GetBuildMetaData(BooConfigReader baseConfigReader)
        {
            var buildTool = new BuildToolStub();

            var buildEngine = new BuildEngineStub(buildTool, "Test", FrameworkVersion.FrameworkVersion35, CreateStub<IDependencyDispatcher>());

            baseConfigReader.BuildMetaData.BuildEngine = buildEngine;

            var buildMetaData = CreateStub<IBuildMetaData>();

            buildMetaData.SourceControl = new SourceControlDoubleWithFakeFileSystem("Svn://some.url");

            buildMetaData.BuildEngine = buildEngine;

            return buildMetaData;
        }
コード例 #2
0
        private IBuildMetaData GetBuildMetaData(BooConfigReader baseConfigReader)
        {
            var buildTool = new BuildToolStub();

            var buildEngine = new BuildEngineStub(buildTool, "Test", FrameworkVersion.FrameworkVersion35, CreateStub <IDependencyDispatcher>());

            baseConfigReader.BuildMetaData.BuildEngine = buildEngine;

            var buildMetaData = CreateStub <IBuildMetaData>();

            buildMetaData.SourceControl = new SourceControlDoubleWithFakeFileSystem("Svn://some.url");

            buildMetaData.BuildEngine = buildEngine;

            return(buildMetaData);
        }