예제 #1
0
        public void Given_InvalidExeParameter_When_ExecuteTool_Invoked_Exptected_Exception()
        {
            StyleCopTool styleCopTool = new StyleCopTool();

            styleCopTool.ExecuteTool(@"abc", @"..\..\..\StyleCopToolLib\StyleCopTool.cs", "..\\..\\..\\GeneratedFiles", "1");
        }
예제 #2
0
        public void Given_NullExePathWithOtherNotNullValues_When_ExecuteToolInvoked_Exptected_Exception()
        {
            StyleCopTool styleCopTool = new StyleCopTool();

            styleCopTool.ExecuteTool("", "abc", "abc", "abc");
        }
예제 #3
0
        public void Given_AllInvalidParmeters_When_ExecuteToolInvoked_Exptected_Exception()
        {
            StyleCopTool styleCopTool = new StyleCopTool();

            styleCopTool.ExecuteTool(@"abc", "abc", "abc", "abc");
        }
예제 #4
0
        public void Given_NullInputToTool_When_ExecuteToolInvoked_Exptected_Exception()
        {
            StyleCopTool styleCopTool = new StyleCopTool();

            styleCopTool.ExecuteTool("", "", "", "");
        }