File: nunit.framework.tests.build

package info (click to toggle)
nunit 2.6.4+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid, stretch
  • size: 13,092 kB
  • ctags: 14,310
  • sloc: cs: 87,766; xml: 5,858; cpp: 512; sh: 198; makefile: 48; ansic: 8
file content (120 lines) | stat: -rw-r--r-- 4,953 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<?xml version="1.0"?>
<project name="NUnitFrameworkTests" default="build" basedir=".">

  <patternset id="source-files">
    <include name="Constraints/AfterConstraintTests.cs"/>
    <include name="Constraints/AndTest.cs"/>
    <include name="Constraints/BasicConstraintTests.cs"/>
    <include name="Constraints/CollectionConstraintTests.cs"/>
    <include name="Constraints/ComparerTests.cs"/>
    <include name="Constraints/ComparisonConstraintTests.cs"/>
    <include name="Constraints/ConstraintTestBase.cs"/>
    <include name="Constraints/EmptyConstraintTest.cs"/>
    <include name="Constraints/EqualConstraintTests.cs"/>
    <include name="Constraints/EqualTest.cs"/>
    <include name="Constraints/FloatingPointNumericsTest.cs"/>
    <include name="Constraints/MsgUtilTests.cs"/>
    <include name="Constraints/NotTest.cs"/>
    <include name="Constraints/NumericsTest.cs"/>
    <include name="Constraints/NUnitEqualityComparerTests.cs"/>
    <include name="Constraints/OrTest.cs"/>
    <include name="Constraints/PathConstraintTests.cs"/>
    <include name="Constraints/PredicateConstraintTests.cs"/>
    <include name="Constraints/PropertyTests.cs"/>
    <include name="Constraints/ReusableConstraintTests.cs"/>
    <include name="Constraints/SameAsTest.cs"/>
    <include name="Constraints/SerializableConstraintTest.cs"/>
    <include name="Constraints/StringConstraintTests.cs"/>
    <include name="Constraints/ThrowsConstraintTests.cs"/>
    <include name="Constraints/ToStringTests.cs"/>
    <include name="Constraints/TypeConstraintTests.cs"/>
    <include name="Syntax/AfterTests.cs"/>
    <include name="Syntax/ArbitraryConstraintMatching.cs"/>
    <include name="Syntax/CollectionTests.cs"/>
    <include name="Syntax/ComparisonTests.cs"/>
    <include name="Syntax/EqualityTests.cs"/>
    <include name="Syntax/InvalidCodeTests.cs"/>
    <include name="Syntax/OperatorOverrides.cs"/>
    <include name="Syntax/OperatorTests.cs"/>
    <include name="Syntax/PathConstraintTests.cs"/>
    <include name="Syntax/PropertyTests.cs"/>
    <include name="Syntax/SerializableConstraints.cs"/>
    <include name="Syntax/SimpleConstraints.cs"/>
    <include name="Syntax/StringConstraints.cs"/>
    <include name="Syntax/SyntaxTest.cs"/>
    <include name="Syntax/TestCompiler.cs"/>
    <include name="Syntax/ThrowsTests.cs"/>
    <include name="Syntax/TypeConstraints.cs"/>
    <include name="ArrayEqualsFailureMessageFixture.cs"/>
    <include name="ArrayEqualsFixture.cs"/>
    <include name="ArrayNotEqualFixture.cs"/>
    <include name="AssertThrowsTests.cs"/>
    <include name="AssumeThatTests.cs"/>
    <include name="CollectionAssertTest.cs"/>
    <include name="CollectionAdapter.cs"/>
    <include name="ConditionAssertTests.cs"/>
    <include name="DirectoryAssertTests.cs"/>
    <include name="EqualsFixture.cs"/>
    <include name="FileAssertTests.cs"/>
    <include name="GreaterEqualFixture.cs"/>
    <include name="GreaterFixture.cs"/>
    <include name="LessEqualFixture.cs"/>
    <include name="LessFixture.cs"/>
    <include name="ListContentsTests.cs"/>
    <include name="MessageChecker.cs"/>
    <include name="NotEqualFixture.cs"/>
    <include name="NotSameFixture.cs"/>
    <include name="NullableTypesTests.cs"/>
    <include name="RandomizerTests.cs"/>
    <include name="RangeTests.cs"/>
    <include name="SameFixture.cs"/>
    <include name="StringAssertTests.cs"/>
    <include name="TestDelegates.cs"/>
    <include name="TestFixtureAttributeTests.cs"/>
    <include name="TextMessageWriterTests.cs"/>
    <include name="TypeAssertTest.cs"/>
    <include name="ValuesAttributeTests.cs"/>
  </patternset>

  <patternset id="resource-files">
        <include name="data/TestImage1.jpg"/>
        <include name="data/TestImage2.jpg"/>
        <include name="data/TestText1.txt"/>
        <include name="data/TestText2.txt"/>
  </patternset>

  <target name="build">
    <csc target="library" 
        output="${current.test.dir}/nunit.framework.tests.dll"
        debug="${build.debug}" 
        define="${build.defines}">
      <nowarn>
        <warning number="618,672"/>
      </nowarn>
      <sources>
        <patternset refid="source-files"/>
        <include name="../../GeneratedAssemblyInfo.cs"/>
      </sources>
      <resources prefix="NUnit.Framework.Tests.data">
        <patternset refid="resource-files"/>
      </resources>
      <references>
        <include name="${current.framework.dir}/nunit.framework.dll"/>
        <include name="System.Data.dll"/>
        <include name="System.Drawing.dll"/>
      </references>
    </csc>
  </target>

  <target name="package">
    <copy todir="${package.src.dir}/NUnitFramework/tests">
      <fileset>
        <patternset refid="source-files"/>
        <patternset refid="resource-files"/>
        <include name="nunit.framework.tests.csproj"/>
        <include name="nunit.framework.tests.build"/>
      </fileset>
    </copy>
  </target>

</project>