Mercurial > repos > IBDev-IBBoard.WarFoundry.API.Tests
comparison API/Factories/Xml/WarFoundryXmlFactoryUtilTest.cs @ 38:feb77f3287ca
Re #152: Test and fix extensibility of current schemas
* Add unit test for parsing extended document without XSD for namespace
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 27 Feb 2010 15:03:51 +0000 |
parents | |
children | d4f6e9ac981e |
comparison
equal
deleted
inserted
replaced
37:bf46c113d85c | 38:feb77f3287ca |
---|---|
1 // This file (WarFoundryXmlFactoryUtilTest.cs) is a part of the IBBoard.WarFoundry.API.Tests project and is copyright 2010 IBBoard | |
2 // | |
3 // // The file and the library/program it is in are licensed and distributed, without warranty, under the GNU Affero GPL license, either version 3 of the License or (at your option) any later version. Please see COPYING for more information and the full license. | |
4 | |
5 using System; | |
6 using System.IO; | |
7 using NUnit.Framework; | |
8 | |
9 namespace IBBoard.WarFoundry.API.Factories.Xml | |
10 { | |
11 [TestFixture()] | |
12 public class WarFoundryXmlFactoryUtilTest | |
13 { | |
14 [Test()] | |
15 public void TestParsingExtendedDataFile() | |
16 { | |
17 WarFoundryXmlFactoryUtils.CreateXmlDocumentFromStream(new FileInfo("testdata/extended-data.racex").OpenRead()); | |
18 } | |
19 } | |
20 } |