Skip to content

Commit d447aa6

Browse files
[tests] combine 3 test assemblies into Xamarin.Android.Build.Tests (#4961)
Moving the following assemblies into `Xamarin.Android.Build.Tasks.dll`: * `CodeBehindUnitTests.dll` * `EmbeddedDSOTests.dll` * `Xamarin.Android.MakeBundle-UnitTests.dll` This will simplify the `.yaml` definitions for running these tests and makes it possible to parameterize them for a future `One .NET` test phase. The only code changes are: * Move any classes in the top-level namespace to nested classes. * Add a `BaseTest.GetPathToZipAlign()` method instead of generating `Config.cs` at build time. These tests are still passing.
1 parent eb6ea0b commit d447aa6

File tree

14 files changed

+141
-304
lines changed

14 files changed

+141
-304
lines changed

Xamarin.Android-Tests.sln

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,6 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CodeGen-MkBundle", "CodeGen
3838
EndProject
3939
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Xamarin.Android.MakeBundle-Tests", "tests\CodeGen-MkBundle\Xamarin.Android.MakeBundle-Tests\Xamarin.Android.MakeBundle-Tests.csproj", "{A0B2692E-9FBE-4157-9526-7145F07F2C5A}"
4040
EndProject
41-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Xamarin.Android.MakeBundle-UnitTests", "tests\CodeGen-MkBundle\Xamarin.Android.MakeBundle-UnitTests\Xamarin.Android.MakeBundle-UnitTests.csproj", "{FA8EEC88-CA3C-4D69-B206-54B392570DC6}"
42-
EndProject
4341
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "ResolveImports", "ResolveImports", "{E49089E4-4CE0-475E-BE9C-0AB4E4D56EE9}"
4442
EndProject
4543
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Xamarin.Android.BindingResolveImportLib1", "tests\ResolveImports\Xamarin.Android.BindingResolveImportLib1\Xamarin.Android.BindingResolveImportLib1.csproj", "{2A0519DF-0DDA-45F7-AC3C-E2992748D364}"
@@ -72,8 +70,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CommonSampleLibrary", "test
7270
EndProject
7371
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "CodeBehind", "CodeBehind", "{9B63992C-2201-4BB0-BD00-D637B481A995}"
7472
EndProject
75-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CodeBehindUnitTests", "tests\CodeBehind\UnitTests\CodeBehindUnitTests.csproj", "{F4DAFD78-BE76-46C9-A1AD-85D8C91CD77B}"
76-
EndProject
7773
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Xamarin.ProjectTools", "src\Xamarin.Android.Build.Tasks\Tests\Xamarin.ProjectTools\Xamarin.ProjectTools.csproj", "{2DD1EE75-6D8D-4653-A800-0A24367F7F38}"
7874
EndProject
7975
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Performance-Tests", "Performance-Tests", "{68B8E272-5B12-47AA-8923-550B9CE535C7}"
@@ -82,8 +78,6 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "timing", "build-tools\timin
8278
EndProject
8379
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EmbeddedDSO", "tests\EmbeddedDSOs\EmbeddedDSO\EmbeddedDSO.csproj", "{056ED976-618F-4A3E-910E-AA25230C2296}"
8480
EndProject
85-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EmbeddedDSO-UnitTests", "tests\EmbeddedDSOs\EmbeddedDSO-UnitTests\EmbeddedDSO-UnitTests.csproj", "{8B5E63B7-8C18-4BA7-BAAB-A1955B257F5E}"
86-
EndProject
8781
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "Mono.Android-Test.Shared", "src\Mono.Android\Test\Mono.Android-Test.Shared.shproj", "{0AB4956E-6FB9-4DA0-9D49-AB65A3FF403A}"
8882
EndProject
8983
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Mono.Android-Test.Library", "src\Mono.Android\Test\Mono.Android-Test.Library\Mono.Android-Test.Library.csproj", "{8CB5FF58-FF95-43B9-9064-9ACE9525866F}"
@@ -157,10 +151,6 @@ Global
157151
{A0B2692E-9FBE-4157-9526-7145F07F2C5A}.Debug|Any CPU.Build.0 = Debug|Any CPU
158152
{A0B2692E-9FBE-4157-9526-7145F07F2C5A}.Release|Any CPU.ActiveCfg = Release|Any CPU
159153
{A0B2692E-9FBE-4157-9526-7145F07F2C5A}.Release|Any CPU.Build.0 = Release|Any CPU
160-
{FA8EEC88-CA3C-4D69-B206-54B392570DC6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
161-
{FA8EEC88-CA3C-4D69-B206-54B392570DC6}.Debug|Any CPU.Build.0 = Debug|Any CPU
162-
{FA8EEC88-CA3C-4D69-B206-54B392570DC6}.Release|Any CPU.ActiveCfg = Release|Any CPU
163-
{FA8EEC88-CA3C-4D69-B206-54B392570DC6}.Release|Any CPU.Build.0 = Release|Any CPU
164154
{2A0519DF-0DDA-45F7-AC3C-E2992748D364}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
165155
{2A0519DF-0DDA-45F7-AC3C-E2992748D364}.Debug|Any CPU.Build.0 = Debug|Any CPU
166156
{2A0519DF-0DDA-45F7-AC3C-E2992748D364}.Release|Any CPU.ActiveCfg = Release|Any CPU
@@ -217,10 +207,6 @@ Global
217207
{7A5FB23C-6B26-461A-8BBD-02392DCE3C11}.Debug|Any CPU.Build.0 = Debug|Any CPU
218208
{7A5FB23C-6B26-461A-8BBD-02392DCE3C11}.Release|Any CPU.ActiveCfg = Release|Any CPU
219209
{7A5FB23C-6B26-461A-8BBD-02392DCE3C11}.Release|Any CPU.Build.0 = Release|Any CPU
220-
{F4DAFD78-BE76-46C9-A1AD-85D8C91CD77B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
221-
{F4DAFD78-BE76-46C9-A1AD-85D8C91CD77B}.Debug|Any CPU.Build.0 = Debug|Any CPU
222-
{F4DAFD78-BE76-46C9-A1AD-85D8C91CD77B}.Release|Any CPU.ActiveCfg = Release|Any CPU
223-
{F4DAFD78-BE76-46C9-A1AD-85D8C91CD77B}.Release|Any CPU.Build.0 = Release|Any CPU
224210
{2DD1EE75-6D8D-4653-A800-0A24367F7F38}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
225211
{2DD1EE75-6D8D-4653-A800-0A24367F7F38}.Debug|Any CPU.Build.0 = Debug|Any CPU
226212
{2DD1EE75-6D8D-4653-A800-0A24367F7F38}.Release|Any CPU.ActiveCfg = Release|Any CPU
@@ -233,10 +219,6 @@ Global
233219
{056ED976-618F-4A3E-910E-AA25230C2296}.Debug|Any CPU.Build.0 = Debug|Any CPU
234220
{056ED976-618F-4A3E-910E-AA25230C2296}.Release|Any CPU.ActiveCfg = Release|Any CPU
235221
{056ED976-618F-4A3E-910E-AA25230C2296}.Release|Any CPU.Build.0 = Release|Any CPU
236-
{8B5E63B7-8C18-4BA7-BAAB-A1955B257F5E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
237-
{8B5E63B7-8C18-4BA7-BAAB-A1955B257F5E}.Debug|Any CPU.Build.0 = Debug|Any CPU
238-
{8B5E63B7-8C18-4BA7-BAAB-A1955B257F5E}.Release|Any CPU.ActiveCfg = Release|Any CPU
239-
{8B5E63B7-8C18-4BA7-BAAB-A1955B257F5E}.Release|Any CPU.Build.0 = Release|Any CPU
240222
{8CB5FF58-FF95-43B9-9064-9ACE9525866F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
241223
{8CB5FF58-FF95-43B9-9064-9ACE9525866F}.Debug|Any CPU.Build.0 = Debug|Any CPU
242224
{8CB5FF58-FF95-43B9-9064-9ACE9525866F}.Release|Any CPU.ActiveCfg = Release|Any CPU
@@ -288,7 +270,6 @@ Global
288270
{910DCD88-D50A-4AAD-BA7A-CD51AB8532BF} = {6C86878D-9EBF-45B3-9368-C0EA4026F706}
289271
{95012FA9-ED51-4004-8F36-91DB361C892B} = {9B63992C-2201-4BB0-BD00-D637B481A995}
290272
{7A5FB23C-6B26-461A-8BBD-02392DCE3C11} = {9B63992C-2201-4BB0-BD00-D637B481A995}
291-
{F4DAFD78-BE76-46C9-A1AD-85D8C91CD77B} = {9B63992C-2201-4BB0-BD00-D637B481A995}
292273
{2DD1EE75-6D8D-4653-A800-0A24367F7F38} = {9B63992C-2201-4BB0-BD00-D637B481A995}
293274
{37CAA28C-40BE-4253-BA68-CC5D7316A617} = {68B8E272-5B12-47AA-8923-550B9CE535C7}
294275
{0AB4956E-6FB9-4DA0-9D49-AB65A3FF403A} = {EFBC4DC0-DBFF-4DAA-B0B8-6D0CB02A25F5}

build-tools/automation/azure-pipelines.yaml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -359,24 +359,6 @@ stages:
359359
testResultsFiles: TestResult-*.xml
360360
testRunTitle: Java Interop Tests - Windows Build Tree
361361

362-
- template: yaml-templates\run-nunit-tests.yaml
363-
parameters:
364-
testRunTitle: CodeBehindUnitTests - Windows Build Tree
365-
testAssembly: $(System.DefaultWorkingDirectory)\bin\Test$(XA.Build.Configuration)\CodeBehind\CodeBehindUnitTests.dll
366-
testResultsFile: TestResult-CodeBehindUnitTests-WinBuildTree-$(XA.Build.Configuration).xml
367-
368-
- template: yaml-templates\run-nunit-tests.yaml
369-
parameters:
370-
testRunTitle: Xamarin.Android.MakeBundle-UnitTests - Windows Build Tree
371-
testAssembly: $(System.DefaultWorkingDirectory)\bin\Test$(XA.Build.Configuration)\Xamarin.Android.MakeBundle-UnitTests.dll
372-
testResultsFile: TestResult-MakeBundleUnitTests-WinBuildTree-$(XA.Build.Configuration).xml
373-
374-
- template: yaml-templates\run-nunit-tests.yaml
375-
parameters:
376-
testRunTitle: EmbeddedDSOUnitTests - Windows Build Tree
377-
testAssembly: $(System.DefaultWorkingDirectory)\bin\Test$(XA.Build.Configuration)\EmbeddedDSOUnitTests.dll
378-
testResultsFile: TestResult-EmbeddedDSOUnitTests-WinBuildTree-$(XA.Build.Configuration).xml
379-
380362
# Limit the amount of worker threads used to run these tests in parallel to half of what is currently available (8) on the Windows pool.
381363
# Using all available cores seems to occasionally bog down our machines and cause parallel test execution to slow down dramatically.
382364
# Only run a subset of the Xamarin.Android.Build.Tests against the local Windows build tree.

build-tools/automation/yaml-templates/run-msbuild-mac-tests.yaml

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -33,24 +33,6 @@ jobs:
3333

3434
# Only run these tests on node 2
3535
- ${{ if eq(parameters.node_id, 2) }}:
36-
- template: run-nunit-tests.yaml
37-
parameters:
38-
testRunTitle: CodeBehindUnitTests - macOS
39-
testAssembly: $(System.DefaultWorkingDirectory)/bin/Test$(XA.Build.Configuration)/CodeBehind/CodeBehindUnitTests.dll
40-
testResultsFile: TestResult-CodeBehindUnitTests-macOS-$(XA.Build.Configuration).xml
41-
42-
- template: run-nunit-tests.yaml
43-
parameters:
44-
testRunTitle: Xamarin.Android.MakeBundle-UnitTests - macOS
45-
testAssembly: $(System.DefaultWorkingDirectory)/bin/Test$(XA.Build.Configuration)/Xamarin.Android.MakeBundle-UnitTests.dll
46-
testResultsFile: TestResult-MakeBundleUnitTests-macOS-$(XA.Build.Configuration).xml
47-
48-
- template: run-nunit-tests.yaml
49-
parameters:
50-
testRunTitle: EmbeddedDSOUnitTests - macOS
51-
testAssembly: $(System.DefaultWorkingDirectory)/bin/Test$(XA.Build.Configuration)/EmbeddedDSOUnitTests.dll
52-
testResultsFile: TestResult-EmbeddedDSOUnitTests-macOS-$(XA.Build.Configuration).xml
53-
5436
- template: run-nunit-tests.yaml
5537
parameters:
5638
testRunTitle: Xamarin.Android.Build.Tests.Commercial - macOS

build-tools/scripts/RunTests.targets

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@
1616
</PropertyGroup>
1717
<ItemGroup>
1818
<_TestAssembly Include="$(_TopDir)\bin\Test$(Configuration)\Xamarin.Android.Build.Tests.dll" />
19-
<_TestAssembly Include="$(_TopDir)\bin\Test$(Configuration)\CodeBehind\CodeBehindUnitTests.dll" />
20-
<_TestAssembly Include="$(_TopDir)\bin\Test$(Configuration)\EmbeddedDSOUnitTests.dll" />
21-
<_TestAssembly Include="$(_TopDir)\bin\Test$(Configuration)\Xamarin.Android.MakeBundle-UnitTests.dll" />
2219
<_ApkTestProject Include="$(_TopDir)\src\Mono.Android\Test\Mono.Android-Tests.csproj" />
2320
<_ApkTestProject Include="$(_TopDir)\tests\CodeGen-Binding\Xamarin.Android.JcwGen-Tests\Xamarin.Android.JcwGen-Tests.csproj" />
2421
<_ApkTestProject Include="$(_TopDir)\tests\CodeGen-MkBundle\Xamarin.Android.MakeBundle-Tests\Xamarin.Android.MakeBundle-Tests.csproj" />

tests/CodeBehind/UnitTests/BuildTests.cs renamed to src/Xamarin.Android.Build.Tasks/Tests/Xamarin.Android.Build.Tests/CodeBehindTests.cs

Lines changed: 104 additions & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -10,128 +10,129 @@
1010

1111
using Xamarin.ProjectTools;
1212

13-
namespace CodeBehindUnitTests
13+
namespace Xamarin.Android.Build.Tests
1414
{
15-
sealed class LocalBuilder : Builder
15+
[Category ("Node-2")]
16+
[Parallelizable (ParallelScope.Children)]
17+
public class CodeBehindTests
1618
{
17-
public LocalBuilder ()
18-
{
19-
BuildingInsideVisualStudio = false;
20-
}
21-
22-
public bool Build (string projectOrSolution, string target, string[] parameters = null, Dictionary<string, string> environmentVariables = null)
19+
sealed class LocalBuilder : Builder
2320
{
24-
return BuildInternal (projectOrSolution, target, parameters, environmentVariables);
25-
}
26-
}
21+
public LocalBuilder ()
22+
{
23+
BuildingInsideVisualStudio = false;
24+
}
2725

28-
sealed class SourceFileMember
29-
{
30-
public string Visibility { get; }
31-
public string Type { get; }
32-
public string Name { get; }
33-
public string Arguments { get; }
34-
public bool IsExpressionBody { get; }
35-
public bool IsMethod { get; }
36-
37-
public SourceFileMember (string visibility, string type, string name, bool isExpressionBody)
38-
{
39-
if (String.IsNullOrEmpty (visibility))
40-
throw new ArgumentException (nameof (visibility));
41-
if (String.IsNullOrEmpty (type))
42-
throw new ArgumentException (nameof (type));
43-
if (String.IsNullOrEmpty (name))
44-
throw new ArgumentException (nameof (name));
45-
Visibility = visibility;
46-
Type = type;
47-
Name = name;
48-
IsExpressionBody = isExpressionBody;
49-
IsMethod = false;
50-
}
51-
52-
public SourceFileMember (string visibility, string type, string name, string arguments)
53-
{
54-
if (String.IsNullOrEmpty (visibility))
55-
throw new ArgumentException (nameof (visibility));
56-
if (String.IsNullOrEmpty (type))
57-
throw new ArgumentException (nameof (type));
58-
if (String.IsNullOrEmpty (name))
59-
throw new ArgumentException (nameof (name));
60-
Visibility = visibility;
61-
Type = type;
62-
Name = name;
63-
Arguments = arguments ?? String.Empty;
64-
IsExpressionBody = false;
65-
IsMethod = true;
26+
public bool Build (string projectOrSolution, string target, string [] parameters = null, Dictionary<string, string> environmentVariables = null)
27+
{
28+
return BuildInternal (projectOrSolution, target, parameters, environmentVariables);
29+
}
6630
}
67-
}
6831

69-
sealed class SourceFile : IEnumerable<SourceFileMember>
70-
{
71-
readonly List<SourceFileMember> properties;
72-
73-
public string Path { get; }
74-
public bool ForMany { get; }
32+
sealed class SourceFileMember
33+
{
34+
public string Visibility { get; }
35+
public string Type { get; }
36+
public string Name { get; }
37+
public string Arguments { get; }
38+
public bool IsExpressionBody { get; }
39+
public bool IsMethod { get; }
40+
41+
public SourceFileMember (string visibility, string type, string name, bool isExpressionBody)
42+
{
43+
if (String.IsNullOrEmpty (visibility))
44+
throw new ArgumentException (nameof (visibility));
45+
if (String.IsNullOrEmpty (type))
46+
throw new ArgumentException (nameof (type));
47+
if (String.IsNullOrEmpty (name))
48+
throw new ArgumentException (nameof (name));
49+
Visibility = visibility;
50+
Type = type;
51+
Name = name;
52+
IsExpressionBody = isExpressionBody;
53+
IsMethod = false;
54+
}
7555

76-
public SourceFile (string path, bool forMany = false)
77-
{
78-
if (String.IsNullOrEmpty (path))
79-
throw new ArgumentException (nameof (path));
80-
Path = path;
81-
ForMany = forMany;
82-
properties = new List <SourceFileMember> ();
56+
public SourceFileMember (string visibility, string type, string name, string arguments)
57+
{
58+
if (String.IsNullOrEmpty (visibility))
59+
throw new ArgumentException (nameof (visibility));
60+
if (String.IsNullOrEmpty (type))
61+
throw new ArgumentException (nameof (type));
62+
if (String.IsNullOrEmpty (name))
63+
throw new ArgumentException (nameof (name));
64+
Visibility = visibility;
65+
Type = type;
66+
Name = name;
67+
Arguments = arguments ?? String.Empty;
68+
IsExpressionBody = false;
69+
IsMethod = true;
70+
}
8371
}
8472

85-
public void Add (string visibility, string type, string name, bool isExpressionBody = true)
73+
sealed class SourceFile : IEnumerable<SourceFileMember>
8674
{
87-
properties.Add (new SourceFileMember (visibility, type, name, isExpressionBody));
88-
}
75+
readonly List<SourceFileMember> properties;
8976

90-
public void Add (string visibility, string type, string name, string arguments)
91-
{
92-
properties.Add (new SourceFileMember (visibility, type, name, arguments));
93-
}
77+
public string Path { get; }
78+
public bool ForMany { get; }
9479

95-
public IEnumerator<SourceFileMember> GetEnumerator()
96-
{
97-
return ((IEnumerable<SourceFileMember>)properties).GetEnumerator ();
98-
}
80+
public SourceFile (string path, bool forMany = false)
81+
{
82+
if (String.IsNullOrEmpty (path))
83+
throw new ArgumentException (nameof (path));
84+
Path = path;
85+
ForMany = forMany;
86+
properties = new List<SourceFileMember> ();
87+
}
9988

100-
IEnumerator IEnumerable.GetEnumerator()
101-
{
102-
return ((IEnumerable<SourceFileMember>)properties).GetEnumerator ();
103-
}
104-
}
89+
public void Add (string visibility, string type, string name, bool isExpressionBody = true)
90+
{
91+
properties.Add (new SourceFileMember (visibility, type, name, isExpressionBody));
92+
}
10593

106-
sealed class TestProjectInfo
107-
{
108-
public string RootDirectory { get; }
109-
public string OutputDirectory { get; }
110-
public string ObjPath { get; }
111-
public string BinPath { get; }
112-
public string GeneratedPath { get; }
113-
public string SlnPath { get; }
114-
public string ProjectName { get; }
115-
public string TestName { get; }
94+
public void Add (string visibility, string type, string name, string arguments)
95+
{
96+
properties.Add (new SourceFileMember (visibility, type, name, arguments));
97+
}
98+
99+
public IEnumerator<SourceFileMember> GetEnumerator ()
100+
{
101+
return ((IEnumerable<SourceFileMember>) properties).GetEnumerator ();
102+
}
116103

117-
public TestProjectInfo (string projectName, string testName, string rootDirectory, string outputRootDir)
104+
IEnumerator IEnumerable.GetEnumerator ()
105+
{
106+
return ((IEnumerable<SourceFileMember>) properties).GetEnumerator ();
107+
}
108+
}
109+
110+
sealed class TestProjectInfo
118111
{
119-
TestName = testName;
120-
RootDirectory = rootDirectory;
121-
ProjectName = projectName;
112+
public string RootDirectory { get; }
113+
public string OutputDirectory { get; }
114+
public string ObjPath { get; }
115+
public string BinPath { get; }
116+
public string GeneratedPath { get; }
117+
public string SlnPath { get; }
118+
public string ProjectName { get; }
119+
public string TestName { get; }
120+
121+
public TestProjectInfo (string projectName, string testName, string rootDirectory, string outputRootDir)
122+
{
123+
TestName = testName;
124+
RootDirectory = rootDirectory;
125+
ProjectName = projectName;
122126

123-
ObjPath = Path.Combine (rootDirectory, "obj");
124-
GeneratedPath = Path.Combine (ObjPath, XABuildPaths.Configuration, "generated");
125-
BinPath = Path.Combine (rootDirectory, "bin", XABuildPaths.Configuration);
126-
SlnPath = Path.Combine (rootDirectory, $"{projectName}.sln");
127+
ObjPath = Path.Combine (rootDirectory, "obj");
128+
GeneratedPath = Path.Combine (ObjPath, XABuildPaths.Configuration, "generated");
129+
BinPath = Path.Combine (rootDirectory, "bin", XABuildPaths.Configuration);
130+
SlnPath = Path.Combine (rootDirectory, $"{projectName}.sln");
127131

128-
OutputDirectory = Path.Combine (outputRootDir, testName, XABuildPaths.Configuration);
132+
OutputDirectory = Path.Combine (outputRootDir, testName, XABuildPaths.Configuration);
133+
}
129134
}
130-
}
131135

132-
[Parallelizable (ParallelScope.Children)]
133-
public class BuildTests_CodeBehindBuildTests
134-
{
135136
const string ProjectName = "CodeBehindBuildTests";
136137
const string CommonSampleLibraryName = "CommonSampleLibrary";
137138

@@ -147,7 +148,7 @@ public class BuildTests_CodeBehindBuildTests
147148
"msbuild.binlog",
148149
};
149150

150-
static BuildTests_CodeBehindBuildTests ()
151+
static CodeBehindTests ()
151152
{
152153
TestProjectRootDirectory = Path.GetFullPath (Path.Combine (XABuildPaths.TopDirectory, "tests", "CodeBehind", "BuildTests"));
153154
CommonSampleLibraryRootDirectory = Path.GetFullPath (Path.Combine (XABuildPaths.TopDirectory, "tests", "CodeBehind", CommonSampleLibraryName));

0 commit comments

Comments
 (0)