Add an optional parameter to XmlUtils.WriteNode to preserve specific namespaces #144
3 fail, 231 skipped, 4 595 pass in 11m 36s
45 files 45 suites 11m 36s ⏱️
4 829 tests 4 595 ✅ 231 💤 3 ❌
14 005 runs 13 373 ✅ 627 💤 5 ❌
Results for commit b5efcc9.
Annotations
Check warning on line 0 in SIL.WritingSystems.Tests.SldrTests
github-actions / LibPalaso Tests
1 out of 3 runs failed: LanguageTags_OlderCachedLangTagsSldrOffline_UseEmbeddedLangTags (SIL.WritingSystems.Tests.SldrTests)
./test-results\results_net462_20241030210033.trx [took 0s]
Raw output
System.IO.DirectoryNotFoundException : Could not find a part of the path 'C:\Users\runneradmin\AppData\Local\Temp\SldrCacheTest\langtags.json'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
at SIL.WritingSystems.Tests.SldrTests.LanguageTags_OlderCachedLangTagsSldrOffline_UseEmbeddedLangTags() in D:\a\libpalaso\libpalaso\SIL.WritingSystems.Tests\SldrTests.cs:line 461
Check warning on line 0 in SIL.WritingSystems.Tests.SldrTests
github-actions / LibPalaso Tests
1 out of 3 runs failed: MoveTmpToCache_DraftApproved_RemovesUid (SIL.WritingSystems.Tests.SldrTests)
./test-results\results_net462_20241030210033.trx [took 0s]
Raw output
System.IO.DirectoryNotFoundException : Could not find a part of the path 'C:\Users\runneradmin\AppData\Local\Temp\SldrCacheTest\en-e2ccb575.ldml'. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
at SIL.WritingSystems.Tests.SldrTests.MoveTmpToCache_DraftApproved_RemovesUid() in D:\a\libpalaso\libpalaso\SIL.WritingSystems.Tests\SldrTests.cs:line 385
Check warning on line 0 in SIL.Tests.Xml.XmlUtilsTests
github-actions / LibPalaso Tests
All 3 runs failed: WriteNode_PreserveNamespacesArePreserved (SIL.Tests.Xml.XmlUtilsTests)
./test-results\results_net462_20241030210613.trx [took 0s]
./test-results\results_net48_20241030210712.trx [took 0s]
./test-results\results_net8.0_20241030210800.trx [took 0s]
Raw output
Expected string length 136 but was 131. Strings differ at index 87.
Expected: "...="bold"\r\n\t\t\t xml:space="preserve"> </span>\r\n\t</text>\r\n</root>"
But was: "...="bold"\r\n\t\t\tspace="preserve"> </span>\r\n\t</text>\r\n</root>"
-------------------------------^
at SIL.Tests.Xml.XmlUtilsTests.WriteNode_PreserveNamespacesArePreserved() in D:\a\libpalaso\libpalaso\SIL.Core.Tests\Xml\XmlUtilsTests.cs:line 206
1) at SIL.Tests.Xml.XmlUtilsTests.WriteNode_PreserveNamespacesArePreserved() in D:\a\libpalaso\libpalaso\SIL.Core.Tests\Xml\XmlUtilsTests.cs:line 206