public void ReadEmptyResx() { using (var resXReader = new ResXResourceReader(_xmlEmpty)) { int count = resXReader.Count(); int expected = 0; Assert.AreEqual(expected, count); } }
public void GetTheThreeElements() { using (var resXReader = new ResXResourceReader(_xmlWithThreeValues)) { int count = resXReader.Count(); int expected = 3; Assert.AreEqual(expected, count); } }
public void ReadNullFileWithException() { using (var resXReader = new ResXResourceReader(null)) resXReader.Count(); }