Skip to content

Commit 04caa52

Browse files
authored
remove support for hashing parameters (#1449)
1 parent 53de020 commit 04caa52

File tree

59 files changed

+10
-566
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+10
-566
lines changed

docs/mdsource/hashing-parameters.include.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/mdsource/parameterised-fixie.source.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,4 @@ include: ignore-parameters
5959

6060
## IgnoreParametersForVerified with override parameters
6161

62-
The parameters passed to IgnoreParametersForVerified can be used pass custom parameters to [UseParameters](#UseParameters).
63-
64-
65-
## Hashing parameters
66-
67-
include: hashing-parameters
62+
The parameters passed to IgnoreParametersForVerified can be used pass custom parameters to [UseParameters](#UseParameters).

docs/mdsource/parameterised-mstest.source.md

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,4 @@ snippet: IgnoreParametersForVerifiedCustomParamsMSTest
5353

5454
### Fluent
5555

56-
snippet: IgnoreParametersForVerifiedCustomParamsFluentMSTest
57-
58-
59-
## Hashing parameters
60-
61-
include: hashing-parameters
56+
snippet: IgnoreParametersForVerifiedCustomParamsFluentMSTest

docs/mdsource/parameterised-nunit.source.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -80,19 +80,4 @@ snippet: IgnoreParametersForVerifiedCustomParamsNunit
8080

8181
### Fluent
8282

83-
snippet: IgnoreParametersForVerifiedCustomParamsFluentNunit
84-
85-
86-
## Hashing parameters
87-
88-
include: hashing-parameters
89-
90-
91-
### Instance
92-
93-
snippet: UseParametersHashInstanceNunit
94-
95-
96-
### Fluent
97-
98-
snippet: UseParametersHashFluentNunit
83+
snippet: IgnoreParametersForVerifiedCustomParamsFluentNunit

docs/mdsource/parameterised-tunit.source.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -68,19 +68,4 @@ snippet: IgnoreParametersForVerifiedCustomParamsTUnit
6868

6969
### Fluent
7070

71-
snippet: IgnoreParametersForVerifiedCustomParamsFluentTUnit
72-
73-
74-
## Hashing parameters
75-
76-
include: hashing-parameters
77-
78-
79-
### Instance
80-
81-
snippet: UseParametersHashInstanceTUnit
82-
83-
84-
### Fluent
85-
86-
snippet: UseParametersHashFluentTUnit
71+
snippet: IgnoreParametersForVerifiedCustomParamsFluentTUnit

docs/mdsource/parameterised-xunitv2.source.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -100,19 +100,4 @@ snippet: IgnoreParametersForVerifiedCustomParamsXunit
100100

101101
### Fluent
102102

103-
snippet: IgnoreParametersForVerifiedCustomParamsFluentXunit
104-
105-
106-
## Hashing parameters
107-
108-
include: hashing-parameters
109-
110-
111-
### Instance
112-
113-
snippet: UseParametersHashInstanceXunit
114-
115-
116-
### Fluent
117-
118-
snippet: UseParametersHashFluentXunit
103+
snippet: IgnoreParametersForVerifiedCustomParamsFluentXunit

docs/mdsource/parameterised-xunitv3.source.md

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -80,19 +80,4 @@ snippet: IgnoreParametersForVerifiedCustomParamsXunit
8080

8181
### Fluent
8282

83-
snippet: IgnoreParametersForVerifiedCustomParamsFluentXunit
84-
85-
86-
## Hashing parameters
87-
88-
include: hashing-parameters
89-
90-
91-
### Instance
92-
93-
snippet: UseParametersHashInstanceXunitV3
94-
95-
96-
### Fluent
97-
98-
snippet: UseParametersHashFluentXunitV3
83+
snippet: IgnoreParametersForVerifiedCustomParamsFluentXunit

docs/parameterised-fixie.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -200,14 +200,3 @@ For the fluent case:
200200
## IgnoreParametersForVerified with override parameters
201201

202202
The parameters passed to IgnoreParametersForVerified can be used pass custom parameters to [UseParameters](#UseParameters).
203-
204-
205-
## Hashing parameters
206-
207-
Parameters can be hashed as an alternative to being stringified. This is useful when the parameters are large and could potentially generate file names that exceed allowances of the OS.<!-- include: hashing-parameters. path: /docs/mdsource/hashing-parameters.include.md -->
208-
209-
Hashing parameter is achieved by using `HashParameters`.
210-
211-
[Overriding text used for parameters](#overriding-text-used-for-parameters) is respected when generating the hash.
212-
213-
[XxHash64](https://learn.microsoft.com/en-us/dotnet/api/system.io.hashing.xxhash64) is used to perform the hash.<!-- endInclude -->

docs/parameterised-mstest.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -176,14 +176,3 @@ public Task IgnoreParametersForVerifiedFluentCustomParams(string arg) =>
176176
```
177177
<sup><a href='/src/Verify.MSTest.Tests/Snippets/ParametersSample.cs#L63-L72' title='Snippet source file'>snippet source</a> | <a href='#snippet-IgnoreParametersForVerifiedCustomParamsFluentMSTest' title='Start of snippet'>anchor</a></sup>
178178
<!-- endSnippet -->
179-
180-
181-
## Hashing parameters
182-
183-
Parameters can be hashed as an alternative to being stringified. This is useful when the parameters are large and could potentially generate file names that exceed allowances of the OS.<!-- include: hashing-parameters. path: /docs/mdsource/hashing-parameters.include.md -->
184-
185-
Hashing parameter is achieved by using `HashParameters`.
186-
187-
[Overriding text used for parameters](#overriding-text-used-for-parameters) is respected when generating the hash.
188-
189-
[XxHash64](https://learn.microsoft.com/en-us/dotnet/api/system.io.hashing.xxhash64) is used to perform the hash.<!-- endInclude -->

docs/parameterised-nunit.md

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -270,47 +270,3 @@ public Task IgnoreParametersForVerifiedCustomParamsFluent(string arg) =>
270270
```
271271
<sup><a href='/src/Verify.NUnit.Tests/Snippets/ParametersSample.cs#L87-L95' title='Snippet source file'>snippet source</a> | <a href='#snippet-IgnoreParametersForVerifiedCustomParamsFluentNunit' title='Start of snippet'>anchor</a></sup>
272272
<!-- endSnippet -->
273-
274-
275-
## Hashing parameters
276-
277-
Parameters can be hashed as an alternative to being stringified. This is useful when the parameters are large and could potentially generate file names that exceed allowances of the OS.<!-- include: hashing-parameters. path: /docs/mdsource/hashing-parameters.include.md -->
278-
279-
Hashing parameter is achieved by using `HashParameters`.
280-
281-
[Overriding text used for parameters](#overriding-text-used-for-parameters) is respected when generating the hash.
282-
283-
[XxHash64](https://learn.microsoft.com/en-us/dotnet/api/system.io.hashing.xxhash64) is used to perform the hash.<!-- endInclude -->
284-
285-
286-
### Instance
287-
288-
<!-- snippet: UseParametersHashInstanceNunit -->
289-
<a id='snippet-UseParametersHashInstanceNunit'></a>
290-
```cs
291-
[TestCase("Value1")]
292-
[TestCase("Value2")]
293-
public Task HashParametersUsage(string arg)
294-
{
295-
var settings = new VerifySettings();
296-
settings.HashParameters();
297-
return Verify(arg, settings);
298-
}
299-
```
300-
<sup><a href='/src/Verify.NUnit.Tests/Snippets/ParametersHashSample.cs#L4-L15' title='Snippet source file'>snippet source</a> | <a href='#snippet-UseParametersHashInstanceNunit' title='Start of snippet'>anchor</a></sup>
301-
<!-- endSnippet -->
302-
303-
304-
### Fluent
305-
306-
<!-- snippet: UseParametersHashFluentNunit -->
307-
<a id='snippet-UseParametersHashFluentNunit'></a>
308-
```cs
309-
[TestCase("Value1")]
310-
[TestCase("Value2")]
311-
public Task HashParametersUsageFluent(string arg) =>
312-
Verify(arg)
313-
.HashParameters();
314-
```
315-
<sup><a href='/src/Verify.NUnit.Tests/Snippets/ParametersHashSample.cs#L17-L25' title='Snippet source file'>snippet source</a> | <a href='#snippet-UseParametersHashFluentNunit' title='Start of snippet'>anchor</a></sup>
316-
<!-- endSnippet -->

0 commit comments

Comments
 (0)