Пример #1
0
 public void SolutionRuleSetsInformationProvider_Ctor_ArgChecks()
 {
     Exceptions.Expect <ArgumentNullException>(() => new SolutionRuleSetsInformationProvider(null, new Mock <ILogger>().Object, new MockFileSystem()));
     Exceptions.Expect <ArgumentNullException>(() => new SolutionRuleSetsInformationProvider(Mock.Of <IServiceProvider>(), null, new MockFileSystem()));
     Exceptions.Expect <ArgumentNullException>(() => new SolutionRuleSetsInformationProvider(Mock.Of <IServiceProvider>(), new Mock <ILogger>().Object, null));
 }
Пример #2
0
 public void SolutionRuleSetsInformationProvider_GetProjectRuleSetsDeclarations_ArgChecks()
 {
     // Act + Assert
     Exceptions.Expect <ArgumentNullException>(() => testSubject.GetProjectRuleSetsDeclarations(null).ToArray());
 }
 public void SolutionBindingInformationProvider_ArgCheck()
 {
     Exceptions.Expect <ArgumentNullException>(() => new SolutionBindingInformationProvider(null));
 }
Пример #4
0
 public void RuleSetSerializer_LoadRuleSet_ArgChecks()
 {
     Exceptions.Expect <ArgumentNullException>(() => this.testSubject.LoadRuleSet(null));
     Exceptions.Expect <ArgumentNullException>(() => this.testSubject.LoadRuleSet(""));
     Exceptions.Expect <ArgumentNullException>(() => this.testSubject.LoadRuleSet("\t\n"));
 }
 public void BoundSolutionAnalyzer_ArgChecks()
 {
     Exceptions.Expect <ArgumentNullException>(() => new BoundSolutionAnalyzer(null));
 }
 public void InfoBarManager_ArgChecks()
 {
     Exceptions.Expect <ArgumentNullException>(() => new InfoBarManager(null));
 }
 public void SourceControlledFileSystem_ArgCheck()
 {
     Exceptions.Expect <ArgumentNullException>(() => new SourceControlledFileSystem(null));
 }