Browse Source

Suppress documentation warnings in tests.

pull/81/head
Steven Kirk 11 years ago
parent
commit
81e889627a
  1. 1
      Perspex.Interactive.UnitTests/Perspex.Interactive.UnitTests.csproj
  2. 1
      Tests/Perspex.Base.UnitTests/Perspex.Base.UnitTests.csproj
  3. 1
      Tests/Perspex.Controls.UnitTests/Perspex.Controls.UnitTests.csproj
  4. 13
      Tests/Perspex.Direct2D1.UnitTests/GlobalSuppressions.cs
  5. 2
      Tests/Perspex.Direct2D1.UnitTests/Perspex.Direct2D1.UnitTests.csproj
  6. 1
      Tests/Perspex.Input.UnitTests/Perspex.Input.UnitTests.csproj
  7. 9
      Tests/Perspex.Layout.UnitTests/GlobalSuppressions.cs
  8. 2
      Tests/Perspex.Layout.UnitTests/Perspex.Layout.UnitTests.csproj
  9. 13
      Tests/Perspex.RenderTests/GlobalSuppressions.cs
  10. 2
      Tests/Perspex.RenderTests/Perspex.Direct2D1.RenderTests.csproj
  11. 9
      Tests/Perspex.SceneGraph.UnitTests/GlobalSuppressions.cs
  12. 2
      Tests/Perspex.SceneGraph.UnitTests/Perspex.SceneGraph.UnitTests.csproj
  13. 9
      Tests/Perspex.Styling.UnitTests/GlobalSuppressions.cs
  14. 2
      Tests/Perspex.Styling.UnitTests/Perspex.Styling.UnitTests.csproj

1
Perspex.Interactive.UnitTests/Perspex.Interactive.UnitTests.csproj

@ -24,6 +24,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\Perspex.Interactive.UnitTests.XML</DocumentationFile>
<NoWarn>CS1591</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>

1
Tests/Perspex.Base.UnitTests/Perspex.Base.UnitTests.csproj

@ -28,6 +28,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\Perspex.Base.UnitTests.XML</DocumentationFile>
<NoWarn>CS1591</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>

1
Tests/Perspex.Controls.UnitTests/Perspex.Controls.UnitTests.csproj

@ -28,6 +28,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\Perspex.Controls.UnitTests.XML</DocumentationFile>
<NoWarn>CS1591</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>

13
Tests/Perspex.Direct2D1.UnitTests/GlobalSuppressions.cs

@ -0,0 +1,13 @@
// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage(
"StyleCop.CSharp.MaintainabilityRules",
"SA1401:Fields must be private",
Justification = "PerspexProperty fields should not be private.")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage(
"StyleCop.CSharp.DocumentationRules",
"SA1600:Elements must be documented",
Justification = "Tests should be self-documenting")]

2
Tests/Perspex.Direct2D1.UnitTests/Perspex.Direct2D1.UnitTests.csproj

@ -25,6 +25,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\Perspex.Direct2D1.UnitTests.XML</DocumentationFile>
<NoWarn>CS1591</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@ -62,6 +63,7 @@
</ItemGroup>
<ItemGroup>
<Compile Include="Controls\Shapes\PathTests.cs" />
<Compile Include="GlobalSuppressions.cs" />
<Compile Include="Media\GeometryTests.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="RectComparer.cs" />

1
Tests/Perspex.Input.UnitTests/Perspex.Input.UnitTests.csproj

@ -25,6 +25,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\Perspex.Input.UnitTests.XML</DocumentationFile>
<NoWarn>CS1591</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>

9
Tests/Perspex.Layout.UnitTests/GlobalSuppressions.cs

@ -0,0 +1,9 @@
// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage(
"StyleCop.CSharp.DocumentationRules",
"SA1600:Elements must be documented",
Justification = "Tests should be self-documenting")]

2
Tests/Perspex.Layout.UnitTests/Perspex.Layout.UnitTests.csproj

@ -28,6 +28,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\Perspex.Layout.UnitTests.XML</DocumentationFile>
<NoWarn>CS1591</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@ -75,6 +76,7 @@
</Choose>
<ItemGroup>
<Compile Include="FullLayoutTests.cs" />
<Compile Include="GlobalSuppressions.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>

13
Tests/Perspex.RenderTests/GlobalSuppressions.cs

@ -0,0 +1,13 @@
// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage(
"StyleCop.CSharp.MaintainabilityRules",
"SA1401:Fields must be private",
Justification = "PerspexProperty fields should not be private.")]
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage(
"StyleCop.CSharp.DocumentationRules",
"SA1600:Elements must be documented",
Justification = "Tests should be self-documenting")]

2
Tests/Perspex.RenderTests/Perspex.Direct2D1.RenderTests.csproj

@ -29,6 +29,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\Perspex.Direct2D1.RenderTests.XML</DocumentationFile>
<NoWarn>CS1591</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@ -77,6 +78,7 @@
<ItemGroup>
<Compile Include="Controls\ImageTests.cs" />
<Compile Include="Controls\BorderTests.cs" />
<Compile Include="GlobalSuppressions.cs" />
<Compile Include="Shapes\PathTests.cs" />
<Compile Include="Shapes\EllipseTests.cs" />
<Compile Include="Shapes\RectangleTests.cs" />

9
Tests/Perspex.SceneGraph.UnitTests/GlobalSuppressions.cs

@ -0,0 +1,9 @@
// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage(
"StyleCop.CSharp.DocumentationRules",
"SA1600:Elements must be documented",
Justification = "Tests should be self-documenting")]

2
Tests/Perspex.SceneGraph.UnitTests/Perspex.SceneGraph.UnitTests.csproj

@ -28,6 +28,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\Perspex.SceneGraph.UnitTests.XML</DocumentationFile>
<NoWarn>CS1591</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@ -78,6 +79,7 @@
<Otherwise />
</Choose>
<ItemGroup>
<Compile Include="GlobalSuppressions.cs" />
<Compile Include="TestRoot.cs" />
<Compile Include="TestVisual.cs" />
<Compile Include="VisualTests.cs" />

9
Tests/Perspex.Styling.UnitTests/GlobalSuppressions.cs

@ -0,0 +1,9 @@
// This file is used by Code Analysis to maintain SuppressMessage
// attributes that are applied to this project.
// Project-level suppressions either have no target or are given
// a specific target and scoped to a namespace, type, member, etc.
[assembly: System.Diagnostics.CodeAnalysis.SuppressMessage(
"StyleCop.CSharp.DocumentationRules",
"SA1600:Elements must be documented",
Justification = "Tests should be self-documenting")]

2
Tests/Perspex.Styling.UnitTests/Perspex.Styling.UnitTests.csproj

@ -28,6 +28,7 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<DocumentationFile>bin\Debug\Perspex.Styling.UnitTests.XML</DocumentationFile>
<NoWarn>CS1591</NoWarn>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
@ -82,6 +83,7 @@
<Otherwise />
</Choose>
<ItemGroup>
<Compile Include="GlobalSuppressions.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="SelectorTests_Class.cs" />
<Compile Include="SelectorTests_Child.cs" />

Loading…
Cancel
Save