Minor style changes
[castle.git] / MonoRail / Castle.MonoRail.Views.Brail.Tests / XmlTestCase.cs
blob6cbf44ce6cbd8fd496fd01d01d1081495e1f7d79
1 // Copyright 2004-2007 Castle Project - http://www.castleproject.org/
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
15 namespace Castle.MonoRail.Views.Brail.Tests
17 using Castle.MonoRail.Framework.Tests;
18 using NUnit.Framework;
20 [TestFixture]
21 public class XmlTestCase : AbstractTestCase
23 [Test]
24 public void ComplexXml()
26 string expected = @"
27 0,1,2,3,4,5,6,7,8,9,
28 html string
29 <ol>
31 <li>0</li>
33 <li>1</li>
35 <li>2</li>
37 </ol>";
38 DoGet("Xml/Complex.rails");
39 AssertReplyEqualTo(expected);
42 [Test]
43 public void PureXml()
45 string expected = "0,1,2,3,4,5,6,7,8,9,";
46 DoGet("Xml/Pure.rails");
47 AssertReplyEqualTo(expected);