Index: Ringtoets/Common/test/Ringtoets.Common.IO.Test/Structures/StructuresReaderTest.cs =================================================================== diff -u -rc4712d739e9e7bcb62b21cdf1592b3ed0a74a7ec -r2b46bfdee29662c93c0c7280bb8ed1b523d47ebf --- Ringtoets/Common/test/Ringtoets.Common.IO.Test/Structures/StructuresReaderTest.cs (.../StructuresReaderTest.cs) (revision c4712d739e9e7bcb62b21cdf1592b3ed0a74a7ec) +++ Ringtoets/Common/test/Ringtoets.Common.IO.Test/Structures/StructuresReaderTest.cs (.../StructuresReaderTest.cs) (revision 2b46bfdee29662c93c0c7280bb8ed1b523d47ebf) @@ -38,7 +38,7 @@ { // Setup string validFilePath = TestHelper.GetTestDataPath(TestDataPath.Ringtoets.Common.IO, - Path.Combine("Structures", "CorrectFiles", "12_Kunstwerken_OO_Aquo.shp")); + Path.Combine("Structures", "CorrectFiles", "Kunstwerken.shp")); // Call using (var reader = new StructuresReader(validFilePath)) @@ -70,7 +70,7 @@ char[] invalidFileNameChars = Path.GetInvalidFileNameChars(); string validFilePath = TestHelper.GetTestDataPath(TestDataPath.Ringtoets.Common.IO, - Path.Combine("Structures", "12_Kunstwerken_OO_Aquo.shp")); + Path.Combine("Structures", "Kunstwerken.shp")); string invalidFilePath = validFilePath.Replace("1", invalidFileNameChars[1].ToString()); // Call @@ -137,18 +137,18 @@ } [Test] - public void Constructor_ShapefileWithoutAttributeKBWIDENT_ThrowCriticalFileReadException() + public void Constructor_ShapefileWithoutAttributeKWKIDENT_ThrowCriticalFileReadException() { // Setup string invalidFilePath = TestHelper.GetTestDataPath(TestDataPath.Ringtoets.Common.IO, - Path.Combine("Structures", "StructuresWithoutKBWIDENT", "12_Kunstwerken_OO_Aquo.shp")); + Path.Combine("Structures", "StructuresWithoutKWKIDENT", "Kunstwerken.shp")); // Call TestDelegate call = () => new StructuresReader(invalidFilePath); // Assert var expectedMessage = string.Format("Het bestand heeft geen attribuut '{0}'. Dit attribuut is vereist.", - "KBWIDENT"); + "KWKIDENT"); string message = Assert.Throws(call).Message; Assert.AreEqual(expectedMessage, message); } @@ -158,7 +158,7 @@ { // Setup string validFilePath = TestHelper.GetTestDataPath(TestDataPath.Ringtoets.Common.IO, - Path.Combine("Structures", "CorrectFiles", "12_Kunstwerken_OO_Aquo.shp")); + Path.Combine("Structures", "CorrectFiles", "Kunstwerken.shp")); using (new FileStream(validFilePath, FileMode.Open)) { @@ -179,7 +179,7 @@ { // Setup string validFilePath = TestHelper.GetTestDataPath(TestDataPath.Ringtoets.Common.IO, - Path.Combine("Structures", "CorrectFiles", "12_Kunstwerken_OO_Aquo.shp")); + Path.Combine("Structures", "CorrectFiles", "Kunstwerken.shp")); using (var reader = new StructuresReader(validFilePath)) { @@ -193,11 +193,11 @@ [Test] - public void GetNextStructure_ShapefileWithoutAttributeKUNST_OMSC_NamesEqualAttributeKBWIDENT() + public void GetNextStructure_ShapefileWithoutAttributeKWKNAAM_NamesEqualAttributeKWKIDENT() { // Setup string validFilePath = TestHelper.GetTestDataPath(TestDataPath.Ringtoets.Common.IO, - Path.Combine("Structures", "StructuresWithoutKUNST_OMSC", "12_Kunstwerken_OO_Aquo.shp")); + Path.Combine("Structures", "StructuresWithoutKWKNAAM", "Kunstwerken.shp")); IList structures = new List(); using (var reader = new StructuresReader(validFilePath)) @@ -220,11 +220,11 @@ } [Test] - public void GetNextStructure_ShapefileAttributeKUNST_OMSCSometimesNullOrWhitespace_GetSixStructuresWithCorrectAttributes() + public void GetNextStructure_ShapefileAttributeKWKNAAMSometimesNullOrWhitespace_GetSixStructuresWithCorrectAttributes() { // Setup string validFilePath = TestHelper.GetTestDataPath(TestDataPath.Ringtoets.Common.IO, - Path.Combine("Structures", "StructuresSomeWithEmptyKUNST_OMSC", "12_Kunstwerken_OO_Aquo.shp")); + Path.Combine("Structures", "StructuresSomeWithEmptyKWKNAAM", "Kunstwerken.shp")); IList structures = new List(); using (var reader = new StructuresReader(validFilePath)) @@ -249,11 +249,11 @@ } [Test] - public void GetNextStructure_ShapefileAttributeKBWIDENTValuesAreNull_ThrowLineParseException() + public void GetNextStructure_ShapefileAttributeKWKIDENTValuesAreNull_ThrowLineParseException() { // Setup string validFilePath = TestHelper.GetTestDataPath(TestDataPath.Ringtoets.Common.IO, - Path.Combine("Structures", "StructuresWithNullKBWIDENT", "12_Kunstwerken_OO_Aquo.shp")); + Path.Combine("Structures", "StructuresWithNullKWKIDENT", "Kunstwerken.shp")); using (var reader = new StructuresReader(validFilePath)) @@ -271,7 +271,7 @@ { // Setup string validFilePath = TestHelper.GetTestDataPath(TestDataPath.Ringtoets.Common.IO, - Path.Combine("Structures", "CorrectFiles", "12_Kunstwerken_OO_Aquo.shp")); + Path.Combine("Structures", "CorrectFiles", "Kunstwerken.shp")); IList structures = new List(); using (var reader = new StructuresReader(validFilePath))