File tree Expand file tree Collapse file tree 3 files changed +26
-11
lines changed
src/Spring/Spring.Testing.Microsoft
test/Spring/Spring.Testing.Microsoft.Tests Expand file tree Collapse file tree 3 files changed +26
-11
lines changed Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
-
3
2
<PropertyGroup >
4
- <TargetFramework > $(TargetFullFrameworkVersion)</TargetFramework >
3
+ <TargetFrameworks >netstandard2.0; $(TargetFullFrameworkVersion)</TargetFrameworks >
5
4
<Description >Interfaces and classes that provide Microsoft Unit Testing integration in Spring.Net</Description >
6
5
</PropertyGroup >
7
-
8
6
<ItemGroup >
9
7
<ProjectReference Include =" ..\Spring.Core\Spring.Core.csproj" />
10
8
<ProjectReference Include =" ..\Spring.Data\Spring.Data.csproj" />
11
9
</ItemGroup >
12
-
13
10
<ItemGroup >
14
11
<PackageReference Include =" MSTest.TestFramework" />
15
12
</ItemGroup >
16
-
17
13
<ItemGroup >
18
14
<Using Remove =" System.Net.Http" />
19
15
</ItemGroup >
20
-
21
16
</Project >
Original file line number Diff line number Diff line change 1
- <Project Sdk =" Microsoft.NET.Sdk" >
1
+ <Project Sdk =" Microsoft.NET.Sdk" >
2
2
<PropertyGroup >
3
- <TargetFramework > $(TargetFullFrameworkVersion)</TargetFramework >
4
- </PropertyGroup >
3
+ <TargetFrameworks >net6.0; $(TargetFullFrameworkVersion)</TargetFrameworks >
4
+ </PropertyGroup >
5
5
<ItemGroup >
6
6
<ProjectReference Include =" ..\..\..\src\Spring\Spring.Core\Spring.Core.csproj" />
7
7
<ProjectReference Include =" ..\..\..\src\Spring\Spring.Data\Spring.Data.csproj" />
13
13
<PackageReference Include =" Microsoft.NET.Test.Sdk" />
14
14
<PackageReference Include =" MSTest.TestAdapter" />
15
15
<PackageReference Include =" MSTest.TestFramework" />
16
- </ItemGroup >
16
+ </ItemGroup >
17
17
<ItemGroup >
18
18
<None Include =" app.config" />
19
- <EmbeddedResource Include =" Testing\Microsoft\TestApplicationContext.xml" />
19
+ <EmbeddedResource Include =" Testing\Microsoft\TestApplicationContext_netcore.xml" Condition =" '$(TargetFramework)' == 'net6.0' " LogicalName =" Spring.Testing.Microsoft.TestApplicationContext.xml" />
20
+ <EmbeddedResource Include =" Testing\Microsoft\TestApplicationContext.xml" Condition =" '$(TargetFramework)' == '$(TargetFullFrameworkVersion)' " LogicalName =" Spring.Testing.Microsoft.TestApplicationContext.xml" />
20
21
</ItemGroup >
21
22
</Project >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <objects xmlns =" http://www.springframework.net"
3
+ xmlns : db =" http://www.springframework.net/database" >
4
+
5
+ <db : provider id =" DbProvider"
6
+ provider =" SqlServer"
7
+ connectionString =" Data Source=.\SQL2005;Database=Spring;User ID=springqa;Password=springqa;Trusted_Connection=False" />
8
+
9
+
10
+ <object id =" transactionManager" type =" Spring.Transaction.CallCountingTransactionManager, Spring.Data.Tests" >
11
+
12
+ </object >
13
+
14
+ <object name =" Joe" type =" Spring.Objects.TestObject, Spring.Core.Tests" >
15
+ <property name =" Name" value =" Joe" />
16
+ </object >
17
+
18
+
19
+ </objects >
You can’t perform that action at this time.
0 commit comments