From 6a3c951d036ea1e82333daad27a5eeb49ea069d1 Mon Sep 17 00:00:00 2001 From: hzhang Date: Wed, 10 Jul 2024 15:55:31 +0100 Subject: [PATCH] Adjust Solution Name --- DependencyFix.sh | 8 ++++---- ...alChemistryTest.csproj => VirtualChemistry.Test.csproj | 2 ++ VirtualChemistryTest.sln => VirtualChemistry.Test.sln | 2 +- nuget_update.py | 4 ++-- tests/AtomSoupTest.cs | 2 +- tests/AtomTests.cs | 2 +- tests/BIndexTest.cs | 2 +- tests/BondConnectionTest.cs | 2 +- tests/MixtureDegenerateTest.cs | 2 +- tests/ResolvabilityTest.cs | 2 +- 10 files changed, 15 insertions(+), 13 deletions(-) rename VirtualChemistryTest.csproj => VirtualChemistry.Test.csproj (91%) rename VirtualChemistryTest.sln => VirtualChemistry.Test.sln (93%) diff --git a/DependencyFix.sh b/DependencyFix.sh index 6afb246..5011eda 100644 --- a/DependencyFix.sh +++ b/DependencyFix.sh @@ -1,5 +1,5 @@ -sed -i '/^Project.*"VirtualChemistry".*/d' ./VirtualChemistryTest.sln -sed -i '/^EndProject$/d' ./VirtualChemistryTest.sln -sed -i '/^Project.*/aEndProject' ./VirtualChemistryTest.sln +sed -i '/^Project.*"VirtualChemistry".*/d' ./VirtualChemistry.Test.sln +sed -i '/^EndProject$/d' ./VirtualChemistry.Test.sln +sed -i '/^Project.*/aEndProject' ./VirtualChemistry.Test.sln -sed -i '/.*ProjectReference.*/d' ./VirtualChemistryTest.csproj +sed -i '/.*ProjectReference.*/d' ./VirtualChemistry.Test.csproj diff --git a/VirtualChemistryTest.csproj b/VirtualChemistry.Test.csproj similarity index 91% rename from VirtualChemistryTest.csproj rename to VirtualChemistry.Test.csproj index 3048162..61b7865 100644 --- a/VirtualChemistryTest.csproj +++ b/VirtualChemistry.Test.csproj @@ -5,6 +5,8 @@ enable false + + VirtualChemistry.Test diff --git a/VirtualChemistryTest.sln b/VirtualChemistry.Test.sln similarity index 93% rename from VirtualChemistryTest.sln rename to VirtualChemistry.Test.sln index 8efada3..87c5602 100644 --- a/VirtualChemistryTest.sln +++ b/VirtualChemistry.Test.sln @@ -1,6 +1,6 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VirtualChemistryTest", "VirtualChemistryTest.csproj", "{D8A30C42-A49B-4096-BF53-32A82B492233}" +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VirtualChemistry.Test", "VirtualChemistry.Test.csproj", "{D8A30C42-A49B-4096-BF53-32A82B492233}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VirtualChemistry", "..\VirtualChemistry\VirtualChemistry.csproj", "{C1C0E45F-59D4-44C3-A55F-80F44DF2935D}" EndProject diff --git a/nuget_update.py b/nuget_update.py index 0a8a131..784fcff 100644 --- a/nuget_update.py +++ b/nuget_update.py @@ -10,11 +10,11 @@ for x in d['data']: if x['id'] == 'Skeleton': skVersion = x['version'] -w = open('VirtualChemistryTest.csproj', 'r').read() +w = open('VirtualChemistry.Test.csproj', 'r').read() s = w.split('') s[1] = '\n\n' + s[1] s[1] = '\n\n' + s[1] w = ''.join(s) print(w) -with open('VirtualChemistryTest.csproj', 'w') as f: +with open('VirtualChemistry.Test.csproj', 'w') as f: f.write(w) \ No newline at end of file diff --git a/tests/AtomSoupTest.cs b/tests/AtomSoupTest.cs index 400c351..2d71fab 100644 --- a/tests/AtomSoupTest.cs +++ b/tests/AtomSoupTest.cs @@ -7,7 +7,7 @@ using VirtualChemistry.Chemistry.Containers; using VirtualChemistry.Chemistry.Mixtures.Implements; using VirtualChemistry.Constants; -namespace VirtualChemistryTest; +namespace VirtualChemistry.Test; public static class AtomSoupTest { diff --git a/tests/AtomTests.cs b/tests/AtomTests.cs index 995ef88..4fc3c35 100644 --- a/tests/AtomTests.cs +++ b/tests/AtomTests.cs @@ -7,7 +7,7 @@ using VirtualChemistry.Chemistry.Atoms.Resolver; using VirtualChemistry.Chemistry.Bonds.Implements; using VirtualChemistry.Constants; -namespace VirtualChemistryTest; +namespace VirtualChemistry.Test; public static class AtomTests { diff --git a/tests/BIndexTest.cs b/tests/BIndexTest.cs index 7358496..0f9f359 100644 --- a/tests/BIndexTest.cs +++ b/tests/BIndexTest.cs @@ -1,6 +1,6 @@ using System; -namespace VirtualChemistryTest; +namespace VirtualChemistry.Test; public static class BIndexTest { diff --git a/tests/BondConnectionTest.cs b/tests/BondConnectionTest.cs index 985113c..3d9840e 100644 --- a/tests/BondConnectionTest.cs +++ b/tests/BondConnectionTest.cs @@ -8,7 +8,7 @@ using VirtualChemistry.Chemistry.Compounds.Implements; using VirtualChemistry.Chemistry.Containers; using VirtualChemistry.Chemistry.Mixtures.Implements; -namespace VirtualChemistryTest; +namespace VirtualChemistry.Test; public static class BondConnectionTest { diff --git a/tests/MixtureDegenerateTest.cs b/tests/MixtureDegenerateTest.cs index 3c0934e..22e357d 100644 --- a/tests/MixtureDegenerateTest.cs +++ b/tests/MixtureDegenerateTest.cs @@ -5,7 +5,7 @@ using VirtualChemistry.Chemistry.Compounds.Implements; using VirtualChemistry.Chemistry.Containers; using VirtualChemistry.Chemistry.Mixtures.Implements; -namespace VirtualChemistryTest; +namespace VirtualChemistry.Test; public static class MixtureDegenerateTest { diff --git a/tests/ResolvabilityTest.cs b/tests/ResolvabilityTest.cs index 907f33a..d40990d 100644 --- a/tests/ResolvabilityTest.cs +++ b/tests/ResolvabilityTest.cs @@ -6,7 +6,7 @@ using VirtualChemistry.Chemistry.Compounds.Implements; using VirtualChemistry.Chemistry.Containers; using VirtualChemistry.Chemistry.Mixtures.Implements; -namespace VirtualChemistryTest; +namespace VirtualChemistry.Test; public static class ResolvabilityTest {