Skip to content

Commit 06b8840

Browse files
committed
Remove Tests folder and project when IntegrationTest option disabled
1 parent 8fa5f4b commit 06b8840

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

Source/ApiTemplate/ApiTemplate.sln

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ VisualStudioVersion = 16.0.28803.202
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Source", "Source", "{57BAE1BC-D418-4A95-B292-C0E9324B0A54}"
77
EndProject
8+
#if (IntegrationTest)
89
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{D57B72FA-A893-400C-AB2E-6919219A38D2}"
910
ProjectSection(SolutionItems) = preProject
1011
Tests\.editorconfig = Tests\.editorconfig
1112
EndProjectSection
1213
EndProject
14+
#endif
1315
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{FBD2504D-975E-4B64-B938-7DDD19C7DB9D}"
1416
ProjectSection(SolutionItems) = preProject
1517
.dockerignore = .dockerignore
@@ -29,8 +31,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Documentation", "Documentat
2931
EndProject
3032
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ApiTemplate", "Source\ApiTemplate\ApiTemplate.csproj", "{37F1F839-E685-4E26-B50E-40E3C4896737}"
3133
EndProject
34+
#if (IntegrationTest)
3235
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ApiTemplate.IntegrationTest", "Tests\ApiTemplate.IntegrationTest\ApiTemplate.IntegrationTest.csproj", "{57839160-3C89-4A5A-BC23-A78F39551C1E}"
3336
EndProject
37+
#endif
3438
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{B4493FEA-D330-453B-ACDA-8CAE2F6451CC}"
3539
ProjectSection(SolutionItems) = preProject
3640
.github\release-drafter.yml = .github\release-drafter.yml
@@ -68,17 +72,21 @@ Global
6872
{37F1F839-E685-4E26-B50E-40E3C4896737}.Debug|Any CPU.Build.0 = Debug|Any CPU
6973
{37F1F839-E685-4E26-B50E-40E3C4896737}.Release|Any CPU.ActiveCfg = Release|Any CPU
7074
{37F1F839-E685-4E26-B50E-40E3C4896737}.Release|Any CPU.Build.0 = Release|Any CPU
75+
#if (IntegrationTest)
7176
{57839160-3C89-4A5A-BC23-A78F39551C1E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
7277
{57839160-3C89-4A5A-BC23-A78F39551C1E}.Debug|Any CPU.Build.0 = Debug|Any CPU
7378
{57839160-3C89-4A5A-BC23-A78F39551C1E}.Release|Any CPU.ActiveCfg = Release|Any CPU
7479
{57839160-3C89-4A5A-BC23-A78F39551C1E}.Release|Any CPU.Build.0 = Release|Any CPU
80+
#endif
7581
EndGlobalSection
7682
GlobalSection(SolutionProperties) = preSolution
7783
HideSolutionNode = FALSE
7884
EndGlobalSection
7985
GlobalSection(NestedProjects) = preSolution
8086
{37F1F839-E685-4E26-B50E-40E3C4896737} = {57BAE1BC-D418-4A95-B292-C0E9324B0A54}
87+
#if (IntegrationTest)
8188
{57839160-3C89-4A5A-BC23-A78F39551C1E} = {D57B72FA-A893-400C-AB2E-6919219A38D2}
89+
#endif
8290
{B4493FEA-D330-453B-ACDA-8CAE2F6451CC} = {FBD2504D-975E-4B64-B938-7DDD19C7DB9D}
8391
{1CBCA0EF-D16C-4BE6-9577-A0FC67E8B5F1} = {B4493FEA-D330-453B-ACDA-8CAE2F6451CC}
8492
{E5422D5C-ABD4-4150-BDF6-B823D746D157} = {60E0F62E-605A-48F2-BFCA-C63B45AB6335}

Source/GraphQLTemplate/GraphQLTemplate.sln

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ VisualStudioVersion = 16.0.28803.202
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Source", "Source", "{57BAE1BC-D418-4A95-B292-C0E9324B0A54}"
77
EndProject
8+
#if (IntegrationTest)
89
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{D57B72FA-A893-400C-AB2E-6919219A38D2}"
910
ProjectSection(SolutionItems) = preProject
1011
Tests\.editorconfig = Tests\.editorconfig
1112
EndProjectSection
1213
EndProject
14+
#endif
1315
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{FBD2504D-975E-4B64-B938-7DDD19C7DB9D}"
1416
ProjectSection(SolutionItems) = preProject
1517
.dockerignore = .dockerignore
@@ -29,8 +31,10 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Documentation", "Documentat
2931
EndProject
3032
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GraphQLTemplate", "Source\GraphQLTemplate\GraphQLTemplate.csproj", "{36941087-72D0-4649-86F6-69AFDC1EC71B}"
3133
EndProject
34+
#if (IntegrationTest)
3235
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "GraphQLTemplate.IntegrationTest", "Tests\GraphQLTemplate.IntegrationTest\GraphQLTemplate.IntegrationTest.csproj", "{C76FD924-71ED-4A92-A891-D226C0724933}"
3336
EndProject
37+
#endif
3438
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".github", ".github", "{539EF653-396F-4D8F-862B-F7C9E02DE3E6}"
3539
ProjectSection(SolutionItems) = preProject
3640
.github\release-drafter.yml = .github\release-drafter.yml
@@ -68,17 +72,21 @@ Global
6872
{36941087-72D0-4649-86F6-69AFDC1EC71B}.Debug|Any CPU.Build.0 = Debug|Any CPU
6973
{36941087-72D0-4649-86F6-69AFDC1EC71B}.Release|Any CPU.ActiveCfg = Release|Any CPU
7074
{36941087-72D0-4649-86F6-69AFDC1EC71B}.Release|Any CPU.Build.0 = Release|Any CPU
75+
#if (IntegrationTest)
7176
{C76FD924-71ED-4A92-A891-D226C0724933}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
7277
{C76FD924-71ED-4A92-A891-D226C0724933}.Debug|Any CPU.Build.0 = Debug|Any CPU
7378
{C76FD924-71ED-4A92-A891-D226C0724933}.Release|Any CPU.ActiveCfg = Release|Any CPU
7479
{C76FD924-71ED-4A92-A891-D226C0724933}.Release|Any CPU.Build.0 = Release|Any CPU
80+
#endif
7581
EndGlobalSection
7682
GlobalSection(SolutionProperties) = preSolution
7783
HideSolutionNode = FALSE
7884
EndGlobalSection
7985
GlobalSection(NestedProjects) = preSolution
8086
{36941087-72D0-4649-86F6-69AFDC1EC71B} = {57BAE1BC-D418-4A95-B292-C0E9324B0A54}
87+
#if (IntegrationTest)
8188
{C76FD924-71ED-4A92-A891-D226C0724933} = {D57B72FA-A893-400C-AB2E-6919219A38D2}
89+
#endif
8290
{539EF653-396F-4D8F-862B-F7C9E02DE3E6} = {FBD2504D-975E-4B64-B938-7DDD19C7DB9D}
8391
{12D470EA-4FD9-4764-A391-C8FD4534EDE9} = {539EF653-396F-4D8F-862B-F7C9E02DE3E6}
8492
{39201BE6-3136-42D1-8B2B-0552FAD18A78} = {60E0F62E-605A-48F2-BFCA-C63B45AB6335}

Source/OrleansTemplate/OrleansTemplate.sln

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ VisualStudioVersion = 16.0.28803.202
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Source", "Source", "{57BAE1BC-D418-4A95-B292-C0E9324B0A54}"
77
EndProject
8+
#if (IntegrationTest)
89
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{D57B72FA-A893-400C-AB2E-6919219A38D2}"
910
ProjectSection(SolutionItems) = preProject
1011
Tests\.editorconfig = Tests\.editorconfig
1112
EndProjectSection
1213
EndProject
14+
#endif
1315
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OrleansTemplate.Abstractions", "Source\OrleansTemplate.Abstractions\OrleansTemplate.Abstractions.csproj", "{B6993204-7350-4D3E-8C48-6C3914230E9F}"
1416
EndProject
1517
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OrleansTemplate.Grains", "Source\OrleansTemplate.Grains\OrleansTemplate.Grains.csproj", "{583E0D0E-322C-4C13-81C6-5E3FB785A8AF}"
@@ -18,8 +20,10 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OrleansTemplate.Server", "S
1820
EndProject
1921
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OrleansTemplate.Client", "Source\OrleansTemplate.Client\OrleansTemplate.Client.csproj", "{2A41B472-8BCE-42D5-A64B-C1ED9C9BA60C}"
2022
EndProject
23+
#if (IntegrationTest)
2124
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "OrleansTemplate.Server.IntegrationTest", "Tests\OrleansTemplate.Server.IntegrationTest\OrleansTemplate.Server.IntegrationTest.csproj", "{B186DB6A-88E5-40AB-B3E1-1468C925C9B7}"
2225
EndProject
26+
#endif
2327
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{FBD2504D-975E-4B64-B938-7DDD19C7DB9D}"
2428
ProjectSection(SolutionItems) = preProject
2529
.dockerignore = .dockerignore
@@ -86,10 +90,12 @@ Global
8690
{2A41B472-8BCE-42D5-A64B-C1ED9C9BA60C}.Debug|Any CPU.Build.0 = Debug|Any CPU
8791
{2A41B472-8BCE-42D5-A64B-C1ED9C9BA60C}.Release|Any CPU.ActiveCfg = Release|Any CPU
8892
{2A41B472-8BCE-42D5-A64B-C1ED9C9BA60C}.Release|Any CPU.Build.0 = Release|Any CPU
93+
#if (IntegrationTest)
8994
{B186DB6A-88E5-40AB-B3E1-1468C925C9B7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
9095
{B186DB6A-88E5-40AB-B3E1-1468C925C9B7}.Debug|Any CPU.Build.0 = Debug|Any CPU
9196
{B186DB6A-88E5-40AB-B3E1-1468C925C9B7}.Release|Any CPU.ActiveCfg = Release|Any CPU
9297
{B186DB6A-88E5-40AB-B3E1-1468C925C9B7}.Release|Any CPU.Build.0 = Release|Any CPU
98+
#endif
9399
EndGlobalSection
94100
GlobalSection(SolutionProperties) = preSolution
95101
HideSolutionNode = FALSE
@@ -99,7 +105,9 @@ Global
99105
{583E0D0E-322C-4C13-81C6-5E3FB785A8AF} = {57BAE1BC-D418-4A95-B292-C0E9324B0A54}
100106
{F522EB3C-EF6B-4517-B8D7-F1363E7ADC6E} = {57BAE1BC-D418-4A95-B292-C0E9324B0A54}
101107
{2A41B472-8BCE-42D5-A64B-C1ED9C9BA60C} = {57BAE1BC-D418-4A95-B292-C0E9324B0A54}
108+
#if (IntegrationTest)
102109
{B186DB6A-88E5-40AB-B3E1-1468C925C9B7} = {D57B72FA-A893-400C-AB2E-6919219A38D2}
110+
#endif
103111
{76BD1373-F876-4779-A7C8-6FAAF1088B16} = {FBD2504D-975E-4B64-B938-7DDD19C7DB9D}
104112
{050450CA-B8A7-4B91-BB2A-9B59FAE1A52B} = {76BD1373-F876-4779-A7C8-6FAAF1088B16}
105113
{90F1A60D-6607-44BF-AB4C-F53B1E31194F} = {60E0F62E-605A-48F2-BFCA-C63B45AB6335}

0 commit comments

Comments
 (0)