* Added test to make sure version info is 27 chars long (still don't know exactly why it has to be that, though)
parent
bc2a22fb4b
commit
bac1194391
|
@ -0,0 +1,17 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using NUnit.Framework;
|
||||
|
||||
namespace OpenSim.Framework.Servers.Tests
|
||||
{
|
||||
[TestFixture]
|
||||
public class VersionInfoTests
|
||||
{
|
||||
[Test]
|
||||
public void TestVersionInfoLength()
|
||||
{
|
||||
Assert.AreEqual( VersionInfo.VERSIONINFO_VERSION_LENGTH, VersionInfo.Version.Length," VersionInfo.Version string not " + VersionInfo.VERSIONINFO_VERSION_LENGTH + " chars." );
|
||||
}
|
||||
}
|
||||
}
|
|
@ -33,6 +33,7 @@ namespace OpenSim
|
|||
/// This is the OpenSim version string. Change this if you are releasing a new OpenSim version.
|
||||
/// </value>
|
||||
public readonly static string Version = "OpenSimulator Server 0.6.5"; // stay with 27 chars (used in regioninfo)
|
||||
public const int VERSIONINFO_VERSION_LENGTH = 27;
|
||||
|
||||
/// <value>
|
||||
/// This is the external interface version. It is separate from the OpenSimulator project version.
|
||||
|
|
Loading…
Reference in New Issue