~nunit-core/nunitv2/2.5

« back to all changes in this revision

Viewing changes to addins/RowTest/rowtestextension.fxcop

  • Committer: charliepoole
  • Date: 2008-05-05 22:17:22 UTC
  • Revision ID: vcs-imports@canonical.com-20080505221722-7bdjujqed8pk6al3
Add back RowTestExtension as a separately compiled assembly, bundled
with NUnit, and modify build script to handle addins.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="utf-8"?>
 
2
<FxCopProject Version="1.35" Name="RowTestExtension">
 
3
 <ProjectOptions>
 
4
  <SharedProject>True</SharedProject>
 
5
  <Stylesheet Apply="False">http://www.gotdotnet.com/team/fxcop//xsl/1.35/FxCopReport.xsl</Stylesheet>
 
6
  <SaveMessages>
 
7
   <Project Status="Active, Excluded" NewOnly="False" />
 
8
   <Report Status="Active" NewOnly="False" />
 
9
  </SaveMessages>
 
10
  <ProjectFile Compress="True" DefaultTargetCheck="True" DefaultRuleCheck="True" SaveByRuleGroup="" Deterministic="True" />
 
11
  <EnableMultithreadedLoad>True</EnableMultithreadedLoad>
 
12
  <EnableMultithreadedAnalysis>True</EnableMultithreadedAnalysis>
 
13
  <SourceLookup>True</SourceLookup>
 
14
  <AnalysisExceptionsThreshold>10</AnalysisExceptionsThreshold>
 
15
  <RuleExceptionsThreshold>1</RuleExceptionsThreshold>
 
16
  <Spelling Locale="en-us" />
 
17
  <VersionAware>False</VersionAware>
 
18
  <OverrideRuleVisibilities>False</OverrideRuleVisibilities>
 
19
  <CustomDictionaries SearchFxCopDir="True" SearchUserProfile="True" SearchProjectDir="True" />
 
20
  <SearchGlobalAssemblyCache>False</SearchGlobalAssemblyCache>
 
21
  <DeadlockDetectionTimeout>120</DeadlockDetectionTimeout>
 
22
 </ProjectOptions>
 
23
 <Targets>
 
24
  <AssemblyReferenceDirectories>
 
25
   <Directory>$(ProjectDir)/../../../Programme/NUnit 2.4.2/bin/</Directory>
 
26
   <Directory>$(ProjectDir)/NUnitExtension.RowTest/bin/Debug/</Directory>
 
27
  </AssemblyReferenceDirectories>
 
28
  <Target Name="$(ProjectDir)/NUnitExtension.RowTest.AddIn/bin/Release/NUnitExtension.RowTest.AddIn.dll" Analyze="True" AnalyzeAllChildren="True" />
 
29
  <Target Name="$(ProjectDir)/NUnitExtension.RowTest/bin/Release/NUnitExtension.RowTest.dll" Analyze="True" AnalyzeAllChildren="True" />
 
30
 </Targets>
 
31
 <Rules>
 
32
  <RuleFiles>
 
33
   <RuleFile Name="$(FxCopDir)\Rules\DesignRules.dll" Enabled="True" AllRulesEnabled="True" />
 
34
   <RuleFile Name="$(FxCopDir)\Rules\GlobalizationRules.dll" Enabled="True" AllRulesEnabled="True" />
 
35
   <RuleFile Name="$(FxCopDir)\Rules\InteroperabilityRules.dll" Enabled="True" AllRulesEnabled="True" />
 
36
   <RuleFile Name="$(FxCopDir)\Rules\MobilityRules.dll" Enabled="True" AllRulesEnabled="True" />
 
37
   <RuleFile Name="$(FxCopDir)\Rules\NamingRules.dll" Enabled="True" AllRulesEnabled="True" />
 
38
   <RuleFile Name="$(FxCopDir)\Rules\PerformanceRules.dll" Enabled="True" AllRulesEnabled="False">
 
39
    <Rule Name="AvoidExcessiveLocals" Enabled="True" />
 
40
    <Rule Name="AvoidUncalledPrivateCode" Enabled="True" />
 
41
    <Rule Name="AvoidUninstantiatedInternalClasses" Enabled="True" />
 
42
    <Rule Name="AvoidUnnecessaryStringCreation" Enabled="True" />
 
43
    <Rule Name="AvoidUnsealedAttributes" Enabled="True" />
 
44
    <Rule Name="AvoidUnusedPrivateFields" Enabled="True" />
 
45
    <Rule Name="DisposeMethodsShouldCallSuppressFinalize" Enabled="True" />
 
46
    <Rule Name="DoNotCallPropertiesThatCloneValuesInLoops" Enabled="True" />
 
47
    <Rule Name="DoNotCastUnnecessarily" Enabled="True" />
 
48
    <Rule Name="DoNotConcatenateStringsInsideLoops" Enabled="True" />
 
49
    <Rule Name="DoNotInitializeUnnecessarily" Enabled="True" />
 
50
    <Rule Name="InitializeReferenceTypeStaticFieldsInline" Enabled="True" />
 
51
    <Rule Name="OverrideEqualsAndOperatorEqualsOnValueTypes" Enabled="True" />
 
52
    <Rule Name="PreferJaggedArraysOverMultidimensional" Enabled="True" />
 
53
    <Rule Name="PropertiesShouldNotReturnArrays" Enabled="True" />
 
54
    <Rule Name="RemoveEmptyFinalizers" Enabled="True" />
 
55
    <Rule Name="RemoveUnusedLocals" Enabled="True" />
 
56
    <Rule Name="TestForEmptyStringsUsingStringLength" Enabled="True" />
 
57
    <Rule Name="UseLiteralsWhereAppropriate" Enabled="True" />
 
58
   </RuleFile>
 
59
   <RuleFile Name="$(FxCopDir)\Rules\PortabilityRules.dll" Enabled="True" AllRulesEnabled="True" />
 
60
   <RuleFile Name="$(FxCopDir)\Rules\SecurityRules.dll" Enabled="True" AllRulesEnabled="True" />
 
61
   <RuleFile Name="$(FxCopDir)\Rules\UsageRules.dll" Enabled="True" AllRulesEnabled="True" />
 
62
  </RuleFiles>
 
63
  <Groups />
 
64
  <Settings />
 
65
 </Rules>
 
66
 <FxCopReport Version="1.35">
 
67
  <Namespaces>
 
68
   <Namespace Name="NUnitExtension.RowTest.AddIn">
 
69
    <Messages>
 
70
     <Message TypeName="AvoidNamespacesWithFewTypes" Category="Microsoft.Design" CheckId="CA1020" Status="Excluded" Created="2007-10-28 10:40:57Z">
 
71
      <Issue>
 
72
       <Item>NUnitExtension.RowTest.AddIn</Item>
 
73
      </Issue>
 
74
     </Message>
 
75
    </Messages>
 
76
   </Namespace>
 
77
  </Namespaces>
 
78
  <Targets>
 
79
   <Target Name="$(ProjectDir)/NUnitExtension.RowTest.AddIn/bin/Release/NUnitExtension.RowTest.AddIn.dll">
 
80
    <Modules>
 
81
     <Module Name="nunitextension.rowtest.addin.dll">
 
82
      <Namespaces>
 
83
       <Namespace Name="NUnitExtension.RowTest.AddIn">
 
84
        <Types>
 
85
         <Type Name="RowTestCase">
 
86
          <Members>
 
87
           <Member Name="Arguments">
 
88
            <Messages>
 
89
             <Message TypeName="PropertiesShouldNotReturnArrays" Category="Microsoft.Performance" CheckId="CA1819" Status="Excluded" Created="2007-10-28 10:40:57Z">
 
90
              <Issue>
 
91
               <Item>RowTestCase.Arguments:Object[]</Item>
 
92
              </Issue>
 
93
              <Notes>
 
94
               <User Name="andreas">
 
95
                <Note Id="1" />
 
96
               </User>
 
97
              </Notes>
 
98
             </Message>
 
99
            </Messages>
 
100
           </Member>
 
101
          </Members>
 
102
         </Type>
 
103
         <Type Name="RowTestNameBuilder">
 
104
          <Members>
 
105
           <Member Name="Arguments">
 
106
            <Messages>
 
107
             <Message TypeName="PropertiesShouldNotReturnArrays" Category="Microsoft.Performance" CheckId="CA1819" Status="Excluded" Created="2007-10-28 10:40:57Z">
 
108
              <Issue>
 
109
               <Item>RowTestNameBuilder.Arguments:Object[]</Item>
 
110
              </Issue>
 
111
              <Notes>
 
112
               <User Name="andreas">
 
113
                <Note Id="2" />
 
114
               </User>
 
115
              </Notes>
 
116
             </Message>
 
117
            </Messages>
 
118
           </Member>
 
119
          </Members>
 
120
         </Type>
 
121
        </Types>
 
122
       </Namespace>
 
123
      </Namespaces>
 
124
     </Module>
 
125
    </Modules>
 
126
   </Target>
 
127
   <Target Name="$(ProjectDir)/NUnitExtension.RowTest/bin/Release/NUnitExtension.RowTest.dll">
 
128
    <Modules>
 
129
     <Module Name="nunitextension.rowtest.dll">
 
130
      <Namespaces>
 
131
       <Namespace Name="NUnitExtension.RowTest">
 
132
        <Types>
 
133
         <Type Name="RowAttribute">
 
134
          <Messages>
 
135
           <Message TypeName="DefineAccessorsForAttributeArguments" Category="Microsoft.Design" CheckId="CA1019" Created="2008-01-22 22:42:42Z">
 
136
            <Issue>
 
137
             <Item>argument1</Item>
 
138
             <Item>NUnitExtension.RowTest.RowAttribute</Item>
 
139
            </Issue>
 
140
            <Issue>
 
141
             <Item>argument2</Item>
 
142
             <Item>NUnitExtension.RowTest.RowAttribute</Item>
 
143
            </Issue>
 
144
            <Issue>
 
145
             <Item>argument3</Item>
 
146
             <Item>NUnitExtension.RowTest.RowAttribute</Item>
 
147
            </Issue>
 
148
           </Message>
 
149
          </Messages>
 
150
          <Members>
 
151
           <Member Name="Arguments">
 
152
            <Messages>
 
153
             <Message TypeName="PropertiesShouldNotReturnArrays" Category="Microsoft.Performance" CheckId="CA1819" Status="Excluded" Created="2008-01-22 22:42:42Z">
 
154
              <Issue>
 
155
               <Item>RowAttribute.Arguments:Object[]</Item>
 
156
              </Issue>
 
157
              <Notes>
 
158
               <User Name="andreas">
 
159
                <Note Id="3" />
 
160
               </User>
 
161
              </Notes>
 
162
             </Message>
 
163
            </Messages>
 
164
           </Member>
 
165
          </Members>
 
166
         </Type>
 
167
        </Types>
 
168
       </Namespace>
 
169
      </Namespaces>
 
170
     </Module>
 
171
    </Modules>
 
172
   </Target>
 
173
  </Targets>
 
174
  <Notes>
 
175
   <User Name="andreas">
 
176
    <Note Id="1" Modified="2007-10-28 14:49:21Z">object[] is specified by attribute.</Note>
 
177
    <Note Id="2" Modified="2007-10-28 14:49:25Z">object[] is specified by attribute.</Note>
 
178
    <Note Id="3" Modified="2008-01-22 22:43:23Z">RowAttribute must return object array.</Note>
 
179
   </User>
 
180
  </Notes>
 
181
  <Rules>
 
182
   <Rule TypeName="AvoidNamespacesWithFewTypes" Category="Microsoft.Design" CheckId="CA1020">
 
183
    <Resolution Name="Default">Consider merging the types defined in '{0}' with another namespace.</Resolution>
 
184
   </Rule>
 
185
   <Rule TypeName="DefineAccessorsForAttributeArguments" Category="Microsoft.Design" CheckId="CA1019">
 
186
    <Resolution Name="Default">Add a read-only property accessor for positional argument '{0}' of Attribute '{1}'.</Resolution>
 
187
   </Rule>
 
188
   <Rule TypeName="PropertiesShouldNotReturnArrays" Category="Microsoft.Performance" CheckId="CA1819">
 
189
    <Resolution Name="Default">Change {0} to return a collection or make it a method.</Resolution>
 
190
   </Rule>
 
191
  </Rules>
 
192
 </FxCopReport>
 
193
</FxCopProject>