diff options
author | Justin Clarke Casey | 2009-01-05 19:36:48 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2009-01-05 19:36:48 +0000 |
commit | e7ac639f3a8a05858df03a8b5fd611826a56ae97 (patch) | |
tree | 926414fc9cdb51eeec3239d2c558110f7ea27f8b /OpenSim/Framework/Communications | |
parent | * add the required System.xml reference as well (diff) | |
download | opensim-SC_OLD-e7ac639f3a8a05858df03a8b5fd611826a56ae97.zip opensim-SC_OLD-e7ac639f3a8a05858df03a8b5fd611826a56ae97.tar.gz opensim-SC_OLD-e7ac639f3a8a05858df03a8b5fd611826a56ae97.tar.bz2 opensim-SC_OLD-e7ac639f3a8a05858df03a8b5fd611826a56ae97.tar.xz |
* Centralize references to the well known blank texture 5748decc-f629-461c-9a36-a35a221fe21f to a constant in OpenSim.Framework.Util
Diffstat (limited to 'OpenSim/Framework/Communications')
-rw-r--r-- | OpenSim/Framework/Communications/Tests/LoginServiceTests.cs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs b/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs index a78e093..6c18d06 100644 --- a/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs +++ b/OpenSim/Framework/Communications/Tests/LoginServiceTests.cs | |||
@@ -95,9 +95,8 @@ namespace OpenSim.Framework.Communications.Tests | |||
95 | responseData["circuit_code"], Is.GreaterThanOrEqualTo(0) & Is.LessThanOrEqualTo(System.Int32.MaxValue)); | 95 | responseData["circuit_code"], Is.GreaterThanOrEqualTo(0) & Is.LessThanOrEqualTo(System.Int32.MaxValue)); |
96 | 96 | ||
97 | Regex capsSeedPattern | 97 | Regex capsSeedPattern |
98 | = new Regex("^http://" | 98 | = new Regex("^http://" + regionExternalName + ":" + NetworkServersInfo.DefaultHttpListenerPort |
99 | + regionExternalName | 99 | + "/CAPS/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{8}0000/$"); |
100 | + ":9000/CAPS/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{8}0000/$"); | ||
101 | 100 | ||
102 | Assert.That(capsSeedPattern.IsMatch((string)responseData["seed_capability"]), Is.True); | 101 | Assert.That(capsSeedPattern.IsMatch((string)responseData["seed_capability"]), Is.True); |
103 | } | 102 | } |