aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Servers/Tests/VersionInfoTests.cs
diff options
context:
space:
mode:
authorJeff Ames2009-05-27 14:30:33 +0000
committerJeff Ames2009-05-27 14:30:33 +0000
commita576cca59e1478c4a3b963fe0ee7d64d5030a158 (patch)
tree97266b6ab58b426ab76bd534f12f7ca79a74d872 /OpenSim/Framework/Servers/Tests/VersionInfoTests.cs
parentRevert "* Added IntegrationTest Attribute and tagged the ODETestClass" (diff)
downloadopensim-SC-a576cca59e1478c4a3b963fe0ee7d64d5030a158.zip
opensim-SC-a576cca59e1478c4a3b963fe0ee7d64d5030a158.tar.gz
opensim-SC-a576cca59e1478c4a3b963fe0ee7d64d5030a158.tar.bz2
opensim-SC-a576cca59e1478c4a3b963fe0ee7d64d5030a158.tar.xz
Update svn properties.
Diffstat (limited to 'OpenSim/Framework/Servers/Tests/VersionInfoTests.cs')
-rw-r--r--OpenSim/Framework/Servers/Tests/VersionInfoTests.cs52
1 files changed, 26 insertions, 26 deletions
diff --git a/OpenSim/Framework/Servers/Tests/VersionInfoTests.cs b/OpenSim/Framework/Servers/Tests/VersionInfoTests.cs
index 0c5832d..6745bac 100644
--- a/OpenSim/Framework/Servers/Tests/VersionInfoTests.cs
+++ b/OpenSim/Framework/Servers/Tests/VersionInfoTests.cs
@@ -1,26 +1,26 @@
1using System; 1using System;
2using System.Collections.Generic; 2using System.Collections.Generic;
3using System.Text; 3using System.Text;
4using NUnit.Framework; 4using NUnit.Framework;
5 5
6namespace OpenSim.Framework.Servers.Tests 6namespace OpenSim.Framework.Servers.Tests
7{ 7{
8 [TestFixture] 8 [TestFixture]
9 public class VersionInfoTests 9 public class VersionInfoTests
10 { 10 {
11 [Test] 11 [Test]
12 public void TestVersionLength() 12 public void TestVersionLength()
13 { 13 {
14 Assert.AreEqual(VersionInfo.VERSIONINFO_VERSION_LENGTH, VersionInfo.Version.Length," VersionInfo.Version string not " + VersionInfo.VERSIONINFO_VERSION_LENGTH + " chars." ); 14 Assert.AreEqual(VersionInfo.VERSIONINFO_VERSION_LENGTH, VersionInfo.Version.Length," VersionInfo.Version string not " + VersionInfo.VERSIONINFO_VERSION_LENGTH + " chars." );
15 } 15 }
16 16
17 [Test] 17 [Test]
18 public void TestGetVersionStringLength() 18 public void TestGetVersionStringLength()
19 { 19 {
20 foreach (VersionInfo.Flavour flavour in Enum.GetValues(typeof(VersionInfo.Flavour))) 20 foreach (VersionInfo.Flavour flavour in Enum.GetValues(typeof(VersionInfo.Flavour)))
21 { 21 {
22 Assert.AreEqual(VersionInfo.VERSIONINFO_VERSION_LENGTH, VersionInfo.GetVersionString("0.0.0", flavour).Length, "0.0.0/" + flavour + " failed"); 22 Assert.AreEqual(VersionInfo.VERSIONINFO_VERSION_LENGTH, VersionInfo.GetVersionString("0.0.0", flavour).Length, "0.0.0/" + flavour + " failed");
23 } 23 }
24 } 24 }
25 } 25 }
26} 26}