aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/Tests
diff options
context:
space:
mode:
authorlbsa712009-05-26 16:18:41 +0000
committerlbsa712009-05-26 16:18:41 +0000
commitb773a3a02f35b5d15e6b8f9d2163439e1258d2d4 (patch)
tree799359349b21766be48e97d9f6acf0d085965aeb /OpenSim/Framework/Servers/Tests
parent* Introduced GetVersionString so we can harness the whole thing. (diff)
downloadopensim-SC_OLD-b773a3a02f35b5d15e6b8f9d2163439e1258d2d4.zip
opensim-SC_OLD-b773a3a02f35b5d15e6b8f9d2163439e1258d2d4.tar.gz
opensim-SC_OLD-b773a3a02f35b5d15e6b8f9d2163439e1258d2d4.tar.bz2
opensim-SC_OLD-b773a3a02f35b5d15e6b8f9d2163439e1258d2d4.tar.xz
* We have strand flavours.
* The version string is now reported as "OpenSim 0.6.5 (Dev)" * This has to be administrated manually.
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}