Ejemplo n.º 1
0
        public void Dummy_depends_on_Clean()
        {
            var sut  = new TaskConfiguration(typeof(MyWrapperClass.Dummy));
            var deps = sut.GetDependencies(Setup.FakeScriptParamsObject());

            deps[0].Should().Be <MyWrapperClass.Clean>();
        }
Ejemplo n.º 2
0
        public void Pack_depends_on_Build_and_Dummy()
        {
            var sut  = new TaskConfiguration(typeof(MyWrapperClass.Pack));
            var deps = sut.GetDependencies(Setup.FakeScriptParamsObject());

            deps[0].Should().Be <MyWrapperClass.Build>();
            deps[1].Should().Be <MyWrapperClass.Dummy>();
        }
Ejemplo n.º 3
0
        public void Clean_has_no_dependencies()
        {
            var sut = new TaskConfiguration(typeof(MyWrapperClass.Clean));

            sut.GetDependencies(Setup.FakeScriptParamsObject()).Should().BeEmpty();
        }