aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorlbsa712009-05-26 15:35:55 +0000
committerlbsa712009-05-26 15:35:55 +0000
commitbac1194391c663433e997c5985aae394b75869a3 (patch)
tree8bc40608d66a3bd0203765e3b452083a767914af /OpenSim
parentCatching exceptions on Store, including timeout. Store may fail, for whatever... (diff)
downloadopensim-SC_OLD-bac1194391c663433e997c5985aae394b75869a3.zip
opensim-SC_OLD-bac1194391c663433e997c5985aae394b75869a3.tar.gz
opensim-SC_OLD-bac1194391c663433e997c5985aae394b75869a3.tar.bz2
opensim-SC_OLD-bac1194391c663433e997c5985aae394b75869a3.tar.xz
* Added test to make sure version info is 27 chars long (still don't know exactly why it has to be that, though)
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Framework/Servers/Tests/VersionInfoTests.cs17
-rw-r--r--OpenSim/Framework/Servers/VersionInfo.cs1
2 files changed, 18 insertions, 0 deletions
diff --git a/OpenSim/Framework/Servers/Tests/VersionInfoTests.cs b/OpenSim/Framework/Servers/Tests/VersionInfoTests.cs
new file mode 100644
index 0000000..5eb362b
--- /dev/null
+++ b/OpenSim/Framework/Servers/Tests/VersionInfoTests.cs
@@ -0,0 +1,17 @@
1using System;
2using System.Collections.Generic;
3using System.Text;
4using NUnit.Framework;
5
6namespace OpenSim.Framework.Servers.Tests
7{
8 [TestFixture]
9 public class VersionInfoTests
10 {
11 [Test]
12 public void TestVersionInfoLength()
13 {
14 Assert.AreEqual( VersionInfo.VERSIONINFO_VERSION_LENGTH, VersionInfo.Version.Length," VersionInfo.Version string not " + VersionInfo.VERSIONINFO_VERSION_LENGTH + " chars." );
15 }
16 }
17}
diff --git a/OpenSim/Framework/Servers/VersionInfo.cs b/OpenSim/Framework/Servers/VersionInfo.cs
index c16a7f4..1b8a8be 100644
--- a/OpenSim/Framework/Servers/VersionInfo.cs
+++ b/OpenSim/Framework/Servers/VersionInfo.cs
@@ -33,6 +33,7 @@ namespace OpenSim
33 /// This is the OpenSim version string. Change this if you are releasing a new OpenSim version. 33 /// This is the OpenSim version string. Change this if you are releasing a new OpenSim version.
34 /// </value> 34 /// </value>
35 public readonly static string Version = "OpenSimulator Server 0.6.5"; // stay with 27 chars (used in regioninfo) 35 public readonly static string Version = "OpenSimulator Server 0.6.5"; // stay with 27 chars (used in regioninfo)
36 public const int VERSIONINFO_VERSION_LENGTH = 27;
36 37
37 /// <value> 38 /// <value>
38 /// This is the external interface version. It is separate from the OpenSimulator project version. 39 /// This is the external interface version. It is separate from the OpenSimulator project version.