Beispiel #1
0
            public void Spec04()
            {
                using (var testable = new OnFolderNodeIgnoreTestable())
                {
                    testable.Init();
                    testable.MenuCommand.Invoke(testable.MenuCommand);

                    testable.Verify <IVisualStudioJSLintProvider>(x => x.SaveSettings(testable.ProjectMock.Object, testable.Settings));
                }
            }
Beispiel #2
0
            public void Spec03()
            {
                using (var testable = new OnFolderNodeIgnoreTestable())
                {
                    testable.Settings.Ignore.Add(@"/SOME/PATH/");

                    testable.Init();
                    testable.MenuCommand.Invoke(testable.MenuCommand);

                    I.Expect(testable.Settings.Ignore).ToContain(@"\some\path\to\");
                }
            }
Beispiel #3
0
            public void Spec01()
            {
                using (var testable = new OnFolderNodeIgnoreTestable())
                {
                    testable.Settings.Ignore.Add(@"SOME\PATH\TO\");

                    testable.Init();
                    testable.MenuCommand.Invoke(testable.MenuCommand);

                    I.Expect(testable.Settings.Ignore).Not.ToContain(@"SOME\PATH\TO\");
                }
            }