Update Safe Exam Browser Patch to 3.10.0.826

This commit is contained in:
2025-09-16 16:32:31 +02:00
parent 4827ae1afc
commit dd82d45ed8
320 changed files with 8445 additions and 5295 deletions

View File

@@ -35,7 +35,6 @@ namespace SafeExamBrowser.I18n.UnitTests
}
[TestMethod]
[ExpectedException(typeof(XmlException))]
public void MustFailWithInvalidData()
{
var location = Assembly.GetAssembly(typeof(XmlTextResourceTests)).Location;
@@ -43,7 +42,7 @@ namespace SafeExamBrowser.I18n.UnitTests
var stream = new FileStream(path, FileMode.Open, FileAccess.Read);
var sut = new XmlTextResource(stream);
sut.LoadText();
Assert.ThrowsExactly<XmlException>(() => sut.LoadText());
}
[TestMethod]
@@ -75,10 +74,9 @@ namespace SafeExamBrowser.I18n.UnitTests
}
[TestMethod]
[ExpectedException(typeof(ArgumentNullException))]
public void MustNotAcceptNullAsPath()
{
new XmlTextResource(null);
Assert.ThrowsExactly<ArgumentNullException>(() => new XmlTextResource(null));
}
[TestMethod]