aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework')
-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.