[PR #500] [MERGED] Add ThrowExceptionWhenMatcherFails option to all Matchers #945

Closed
opened 2025-12-29 08:34:05 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/wiremock/WireMock.Net/pull/500
Author: @StefH
Created: 8/8/2020
Status: Merged
Merged: 8/13/2020
Merged by: @StefH

Base: masterHead: JsonMatcherFixes


📝 Commits (9)

📊 Changes

29 files changed (+1798 additions, -1607 deletions)

View changed files

📝 src/WireMock.Net.Abstractions/Admin/Settings/SettingsModel.cs (+7 -2)
📝 src/WireMock.Net/Matchers/CSharpCodeMatcher.cs (+5 -1)
📝 src/WireMock.Net/Matchers/ContentTypeMatcher.cs (+74 -72)
📝 src/WireMock.Net/Matchers/ExactMatcher.cs (+63 -58)
📝 src/WireMock.Net/Matchers/ExactObjectMatcher.cs (+82 -77)
📝 src/WireMock.Net/Matchers/IMatcher.cs (+22 -17)
📝 src/WireMock.Net/Matchers/JSONPathMatcher.cs (+109 -98)
📝 src/WireMock.Net/Matchers/JmesPathMatcher.cs (+99 -82)
📝 src/WireMock.Net/Matchers/JsonMatcher.cs (+164 -168)
📝 src/WireMock.Net/Matchers/LinqMatcher.cs (+140 -132)
📝 src/WireMock.Net/Matchers/RegexMatcher.cs (+12 -4)
📝 src/WireMock.Net/Matchers/Request/RequestMessageParamMatcher.cs (+1 -1)
📝 src/WireMock.Net/Matchers/SimMetricsMatcher.cs (+130 -124)
📝 src/WireMock.Net/Matchers/WildcardMatcher.cs (+64 -62)
📝 src/WireMock.Net/Matchers/XPathMatcher.cs (+84 -77)
📝 src/WireMock.Net/Serialization/MatcherMapper.cs (+15 -13)
📝 src/WireMock.Net/Server/WireMockServer.Admin.cs (+24 -12)
📝 src/WireMock.Net/Settings/IWireMockServerSettings.cs (+7 -0)
📝 src/WireMock.Net/Settings/WireMockServerSettings.cs (+4 -0)
📝 src/WireMock.Net/Settings/WireMockServerSettingsParser.cs (+2 -1)

...and 9 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/wiremock/WireMock.Net/pull/500 **Author:** [@StefH](https://github.com/StefH) **Created:** 8/8/2020 **Status:** ✅ Merged **Merged:** 8/13/2020 **Merged by:** [@StefH](https://github.com/StefH) **Base:** `master` ← **Head:** `JsonMatcherFixes` --- ### 📝 Commits (9) - [`1e3ac4d`](https://github.com/wiremock/WireMock.Net/commit/1e3ac4d8416954f43468a8b741cf14b8ae4a4a6b) . - [`d87c34b`](https://github.com/wiremock/WireMock.Net/commit/d87c34ba27ed254b942cd072613c903e6f575136) ut - [`c79ddd1`](https://github.com/wiremock/WireMock.Net/commit/c79ddd1542b4d7b8cf42065a344035087f31a506) IMatcher.ThrowException - [`23693fd`](https://github.com/wiremock/WireMock.Net/commit/23693fd603e141f266b4b44e6af0abbc8eff9b46) settings - [`0c24146`](https://github.com/wiremock/WireMock.Net/commit/0c2414658c0f3a47f35ea103ff29df556366f98a) more tests - [`b1cd36c`](https://github.com/wiremock/WireMock.Net/commit/b1cd36ca700ad9aec6901ae8b597d362b9b0e8ed) linq matcher throw - [`7e5a811`](https://github.com/wiremock/WireMock.Net/commit/7e5a811f8c0160a92a41a02a9fc333254c8f95f2) . - [`d7255b8`](https://github.com/wiremock/WireMock.Net/commit/d7255b860b430f12851c0d1637b3b1c156a532e2) . - [`c83204a`](https://github.com/wiremock/WireMock.Net/commit/c83204a9cd7da7d6e19045d1cdffa25eb323b611) Merge branch 'JsonMatcherFixes' of https://github.com/WireMock-Net/WireMock.Net into JsonMatcherFixes ### 📊 Changes **29 files changed** (+1798 additions, -1607 deletions) <details> <summary>View changed files</summary> 📝 `src/WireMock.Net.Abstractions/Admin/Settings/SettingsModel.cs` (+7 -2) 📝 `src/WireMock.Net/Matchers/CSharpCodeMatcher.cs` (+5 -1) 📝 `src/WireMock.Net/Matchers/ContentTypeMatcher.cs` (+74 -72) 📝 `src/WireMock.Net/Matchers/ExactMatcher.cs` (+63 -58) 📝 `src/WireMock.Net/Matchers/ExactObjectMatcher.cs` (+82 -77) 📝 `src/WireMock.Net/Matchers/IMatcher.cs` (+22 -17) 📝 `src/WireMock.Net/Matchers/JSONPathMatcher.cs` (+109 -98) 📝 `src/WireMock.Net/Matchers/JmesPathMatcher.cs` (+99 -82) 📝 `src/WireMock.Net/Matchers/JsonMatcher.cs` (+164 -168) 📝 `src/WireMock.Net/Matchers/LinqMatcher.cs` (+140 -132) 📝 `src/WireMock.Net/Matchers/RegexMatcher.cs` (+12 -4) 📝 `src/WireMock.Net/Matchers/Request/RequestMessageParamMatcher.cs` (+1 -1) 📝 `src/WireMock.Net/Matchers/SimMetricsMatcher.cs` (+130 -124) 📝 `src/WireMock.Net/Matchers/WildcardMatcher.cs` (+64 -62) 📝 `src/WireMock.Net/Matchers/XPathMatcher.cs` (+84 -77) 📝 `src/WireMock.Net/Serialization/MatcherMapper.cs` (+15 -13) 📝 `src/WireMock.Net/Server/WireMockServer.Admin.cs` (+24 -12) 📝 `src/WireMock.Net/Settings/IWireMockServerSettings.cs` (+7 -0) 📝 `src/WireMock.Net/Settings/WireMockServerSettings.cs` (+4 -0) 📝 `src/WireMock.Net/Settings/WireMockServerSettingsParser.cs` (+2 -1) _...and 9 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 08:34:05 +01:00
adam closed this issue 2025-12-29 08:34:05 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WireMock.Net#945