aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/Tests
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Servers/Tests')
-rw-r--r--OpenSim/Framework/Servers/Tests/VersionInfoTests.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Framework/Servers/Tests/VersionInfoTests.cs b/OpenSim/Framework/Servers/Tests/VersionInfoTests.cs
index 1a3d98c..0c5832d 100644
--- a/OpenSim/Framework/Servers/Tests/VersionInfoTests.cs
+++ b/OpenSim/Framework/Servers/Tests/VersionInfoTests.cs
@@ -17,8 +17,10 @@ namespace OpenSim.Framework.Servers.Tests
17 [Test] 17 [Test]
18 public void TestGetVersionStringLength() 18 public void TestGetVersionStringLength()
19 { 19 {
20 Assert.AreEqual(VersionInfo.VERSIONINFO_VERSION_LENGTH, VersionInfo.GetVersionString("0.0.0").Length, "0.0.0 failed"); 20 foreach (VersionInfo.Flavour flavour in Enum.GetValues(typeof(VersionInfo.Flavour)))
21 Assert.AreEqual(VersionInfo.VERSIONINFO_VERSION_LENGTH, VersionInfo.GetVersionString("9.99.99").Length, "9.99.99 failed"); 21 {
22 Assert.AreEqual(VersionInfo.VERSIONINFO_VERSION_LENGTH, VersionInfo.GetVersionString("0.0.0", flavour).Length, "0.0.0/" + flavour + " failed");
23 }
22 } 24 }
23 } 25 }
24} 26}