diff options
author | lbsa71 | 2009-05-26 15:35:55 +0000 |
---|---|---|
committer | lbsa71 | 2009-05-26 15:35:55 +0000 |
commit | bac1194391c663433e997c5985aae394b75869a3 (patch) | |
tree | 8bc40608d66a3bd0203765e3b452083a767914af /OpenSim/Framework/Servers/Tests | |
parent | Catching exceptions on Store, including timeout. Store may fail, for whatever... (diff) | |
download | opensim-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 '')
-rw-r--r-- | OpenSim/Framework/Servers/Tests/VersionInfoTests.cs | 17 |
1 files changed, 17 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 @@ | |||
1 | using System; | ||
2 | using System.Collections.Generic; | ||
3 | using System.Text; | ||
4 | using NUnit.Framework; | ||
5 | |||
6 | namespace 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 | } | ||