diff options
author | Jeff Ames | 2009-05-27 14:30:33 +0000 |
---|---|---|
committer | Jeff Ames | 2009-05-27 14:30:33 +0000 |
commit | a576cca59e1478c4a3b963fe0ee7d64d5030a158 (patch) | |
tree | 97266b6ab58b426ab76bd534f12f7ca79a74d872 /OpenSim/Framework/Servers/Tests | |
parent | Revert "* Added IntegrationTest Attribute and tagged the ODETestClass" (diff) | |
download | opensim-SC_OLD-a576cca59e1478c4a3b963fe0ee7d64d5030a158.zip opensim-SC_OLD-a576cca59e1478c4a3b963fe0ee7d64d5030a158.tar.gz opensim-SC_OLD-a576cca59e1478c4a3b963fe0ee7d64d5030a158.tar.bz2 opensim-SC_OLD-a576cca59e1478c4a3b963fe0ee7d64d5030a158.tar.xz |
Update svn properties.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Servers/Tests/VersionInfoTests.cs | 52 |
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 @@ | |||
1 | using System; | 1 | using System; |
2 | using System.Collections.Generic; | 2 | using System.Collections.Generic; |
3 | using System.Text; | 3 | using System.Text; |
4 | using NUnit.Framework; | 4 | using NUnit.Framework; |
5 | 5 | ||
6 | namespace OpenSim.Framework.Servers.Tests | 6 | namespace 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 | } |