This repository was archived by the owner on Jul 30, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathFrameworkTests.csproj
191 lines (187 loc) · 9.5 KB
/
FrameworkTests.csproj
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
<?xml version="1.0" encoding="utf-8"?>
<!--
====================
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
Copyright 2008-2009 Sun Microsystems, Inc. All rights reserved.
The contents of this file are subject to the terms of the Common Development
and Distribution License("CDDL") (the "License"). You may not use this file
except in compliance with the License.
You can obtain a copy of the License at
http://opensource.org/licenses/cddl1.php
See the License for the specific language governing permissions and limitations
under the License.
When distributing the Covered Code, include this CDDL Header Notice in each file
and include the License file at http://opensource.org/licenses/cddl1.php.
If applicable, add the following below this CDDL Header, with the fields
enclosed by brackets [] replaced by your own identifying information:
"Portions Copyrighted [year] [name of copyright owner]"
====================
-->
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ProjectGuid>{32804F5A-812C-4FA6-835C-BDAE5B24D355}</ProjectGuid>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<OutputType>Library</OutputType>
<RootNamespace>FrameworkTests</RootNamespace>
<AssemblyName>FrameworkTests</AssemblyName>
<ProductName>FrameworkTests</ProductName>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
<OutputPath>bin\Debug\</OutputPath>
<DebugSymbols>True</DebugSymbols>
<DebugType>Full</DebugType>
<Optimize>False</Optimize>
<CheckForOverflowUnderflow>True</CheckForOverflowUnderflow>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DocumentationFile>
</DocumentationFile>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
<OutputPath>bin\Release\</OutputPath>
<DebugSymbols>true</DebugSymbols>
<DebugType>pdbonly</DebugType>
<Optimize>True</Optimize>
<CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
<DefineConstants>TRACE</DefineConstants>
<Prefer32Bit>false</Prefer32Bit>
</PropertyGroup>
<Import Project="$(MSBuildProjectDirectory)\..\Framework.targets" />
<ItemGroup>
<Reference Include="nunit.framework" />
<Reference Include="System" />
<Reference Include="System.Core">
<RequiredTargetFramework>4.0</RequiredTargetFramework>
</Reference>
<Reference Include="System.Data" />
<Reference Include="System.Data.DataSetExtensions">
<RequiredTargetFramework>4.0</RequiredTargetFramework>
</Reference>
<Reference Include="System.Reactive.Core, Version=2.2.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Rx-Core.2.2.5\lib\net45\System.Reactive.Core.dll</HintPath>
</Reference>
<Reference Include="System.Reactive.Interfaces, Version=2.2.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Rx-Interfaces.2.2.5\lib\net45\System.Reactive.Interfaces.dll</HintPath>
</Reference>
<Reference Include="System.Reactive.Linq, Version=2.2.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Rx-Linq.2.2.5\lib\net45\System.Reactive.Linq.dll</HintPath>
</Reference>
<Reference Include="System.Reactive.PlatformServices, Version=2.2.5.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Rx-PlatformServices.2.2.5\lib\net45\System.Reactive.PlatformServices.dll</HintPath>
</Reference>
<Reference Include="System.Xml" />
<Reference Include="System.Xml.Linq">
<RequiredTargetFramework>4.0</RequiredTargetFramework>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="AssemblyInfo.cs" />
<Compile Include="MockConnector.cs" />
<Compile Include="CollectionUtilTests.cs" />
<Compile Include="ConnectorAttributeUtilTests.cs" />
<Compile Include="ConnectorFacadeTests.cs" />
<Compile Include="ConnectorFacadeExceptionTests.cs" />
<Compile Include="ExceptionUtilTests.cs" />
<Compile Include="GuardedByteArrayTests.cs">
<SubType>Code</SubType>
</Compile>
<Compile Include="ObjectClassUtilTests.cs" />
<Compile Include="ObjectPoolTests.cs" />
<Compile Include="ConnectorInfoManagerTests.cs" />
<Compile Include="FilterTranslatorTests.cs" />
<Compile Include="LocaleTests.cs" />
<Compile Include="ObjectNormalizerFacadeTests.cs" />
<Compile Include="ObjectSerializationTests.cs" />
<Compile Include="PropertyBagTests.cs" />
<Compile Include="ProxyTests.cs" />
<Compile Include="SafeTypeTest.cs" />
<Compile Include="ScriptTests.cs" />
<Compile Include="GuardedStringTests.cs" />
<Compile Include="StringUtilTests.cs" />
<Compile Include="TestHelperTests.cs" />
<Compile Include="TestUtil.cs" />
<Compile Include="UpdateImplTests.cs" />
<Compile Include="VersionRangeTests.cs" />
<None Include="app.config">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="packages.config" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Common\Common.csproj">
<Project>{F140E8DA-52B4-4159-992A-9DA10EA8EEFB}</Project>
<Name>Common</Name>
</ProjectReference>
<ProjectReference Include="..\Framework\Framework.csproj">
<Project>{8B24461B-456A-4032-89A1-CD418F7B5B62}</Project>
<Name>Framework</Name>
</ProjectReference>
<ProjectReference Include="..\FrameworkInternal\FrameworkInternal.csproj">
<Project>{5B011775-B121-4EEE-A410-BA2D2F5BFB8B}</Project>
<Name>FrameworkInternal</Name>
</ProjectReference>
<ProjectReference Include="..\TestCommon\TestCommon.csproj">
<Project>{E6A207D2-E083-41BF-B522-D9D3EC09323E}</Project>
<Name>TestCommon</Name>
</ProjectReference>
</ItemGroup>
<Target Name="BeforeBuild">
<MakeDir Directories="$(OutputPath)" />
<!-- Building test bundles and script executor factories here because we do not want FrameworkTests to depend on them -->
<!-- Build TestBundle V1 -->
<MSBuild Projects="..\TestBundles\TestBundleV1\TestBundleV1.csproj" />
<CreateItem Include="..\TestBundles\TestBundleV1\bin\$(Configuration)\TestBundleV1*.*">
<Output TaskParameter="Include" ItemName="V1SourceFiles" />
</CreateItem>
<CreateItem Include="..\TestBundles\TestBundleV1\bin\$(Configuration)\es*\**">
<Output TaskParameter="Include" ItemName="V1LocaleESSourceFiles" />
</CreateItem>
<Copy SourceFiles="@(V1LocaleESSourceFiles)" DestinationFolder="bin\$(Configuration)\%(RecursiveDir)" />
<Copy SourceFiles="@(V1SourceFiles)" DestinationFolder="bin\$(Configuration)" />
<!-- Build TestBundle V2 -->
<MSBuild Projects="..\TestBundles\TestBundleV2\TestBundleV2.csproj" />
<CreateItem Include="..\TestBundles\TestBundleV2\bin\$(Configuration)\TestBundleV2*.*">
<Output TaskParameter="Include" ItemName="V2SourceFiles" />
</CreateItem>
<Copy SourceFiles="@(V2SourceFiles)" DestinationFolder="bin\$(Configuration)" />
<!-- Build BooScriptExecutor -->
<MSBuild Projects="..\BooScriptExecutorFactory\BooScriptExecutorFactory.csproj" />
<CreateItem Include="..\BooScriptExecutorFactory\bin\$(Configuration)\Boo*.dll">
<Output TaskParameter="Include" ItemName="BooScriptExecutorFiles" />
</CreateItem>
<Copy SourceFiles="@(BooScriptExecutorFiles)" DestinationFolder="bin\$(Configuration)" />
<!-- Build ShellScriptExecutor -->
<MSBuild Projects="..\ShellScriptExecutorFactory\ShellScriptExecutorFactory.csproj" />
<CreateItem Include="..\ShellScriptExecutorFactory\bin\$(Configuration)\Shell*.dll">
<Output TaskParameter="Include" ItemName="ShellScriptExecutorFiles" />
</CreateItem>
<Copy SourceFiles="@(ShellScriptExecutorFiles)" DestinationFolder="bin\$(Configuration)" />
</Target>
<Target Name="AfterBuild" Condition=" !Exists('$(SharpDevelopBinPath)') ">
<!-- Run the tests -->
<CreateItem Include="FrameworkTests.dll">
<Output TaskParameter="Include" ItemName="TestAssembly" />
</CreateItem>
<MSBuild.Community.Tasks.NUnit DisableShadowCopy="true" WorkingDirectory="bin\$(Configuration)" Assemblies="@(TestAssembly)" ContinueOnError="true" ToolPath="$(NUNIT_HOME)\bin" OutputXmlFile="TestResults_$(Configuration).xml" />
</Target>
<Target Name="Clean">
<Delete Files="AssemblyInfo.cs;version.txt" />
<RemoveDir Directories="obj;bin" />
</Target>
<ItemGroup>
<EmbeddedResource Include="Org.IdentityConnectors.TestConnector.FakeConnector\config\config.xml" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Org.IdentityConnectors.TestConnector.FakeConnector\config\myconfig\config.xml" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Org.IdentityConnectors.TestConnector.FakeConnector\config\converter\config.xml" />
</ItemGroup>
</Project>