Commit d8c473f
[FaultInjection] FaultInjection: Adds XML documentation, stylecop.json, and updates test packages (#5677)
## Summary
This PR adds missing XML documentation, the stylecop.json configuration
file, and updates test framework packages.
### Changes
**1. Add XML documentation to undocumented public members (#5661)**
- `FaultInjector` class-level summary
- `FaultInjector.GetFaultInjectionClientOptions()`
- `FaultInjector.GetApplicationContext()`
- `FaultInjectionServerErrorResultBuilder.WithSuppressServiceRequest()`
- `FaultInjectionServerErrorResultBuilder.WithInjectionRate()`
- `FaultInjectionApplicationContext` class-level summary
- `FaultInjectionApplicationContext.GetAllRuleExecutionsByRuleId()`
- `FaultInjectionApplicationContext.GetAllRuleExecutionsByActivityId()`
- `FaultInjectionApplicationContext.TryGetRuleExecutionsByRuleId()`
**2. Add missing `stylecop.json` (#5662)**
- Created `stylecop.json` in `FaultInjection/src/` matching the main
SDK's configuration.
- The csproj already referenced this file via `<AdditionalFiles>` but it
didn't exist.
**3. Update test framework packages (#5668)**
- `Microsoft.NET.Test.Sdk`: 17.1.0 → 17.12.0
- `MSTest.TestAdapter`: 2.2.8 → 3.7.3
- `MSTest.TestFramework`: 2.2.8 → 3.7.3
- `coverlet.collector`: 3.1.2 → 6.0.4
### Testing
- Build verified locally with `dotnet build`
Parent tracking issue: #5652
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Kiran Kumar Kolli <kirankk@microsoft.com>1 parent 7952123 commit d8c473f
5 files changed
Lines changed: 66 additions & 5 deletions
File tree
- Microsoft.Azure.Cosmos/FaultInjection
- src
- implementation
- tests
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
62 | 62 | | |
63 | 63 | | |
64 | 64 | | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
65 | 70 | | |
66 | 71 | | |
67 | 72 | | |
68 | 73 | | |
69 | 74 | | |
70 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
71 | 82 | | |
72 | 83 | | |
73 | 84 | | |
| |||
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
10 | 13 | | |
11 | 14 | | |
12 | 15 | | |
| |||
16 | 19 | | |
17 | 20 | | |
18 | 21 | | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
19 | 27 | | |
20 | 28 | | |
21 | 29 | | |
| |||
33 | 41 | | |
34 | 42 | | |
35 | 43 | | |
36 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
37 | 48 | | |
38 | 49 | | |
39 | 50 | | |
| |||
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
| |||
44 | 48 | | |
45 | 49 | | |
46 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
47 | 55 | | |
48 | 56 | | |
49 | 57 | | |
50 | 58 | | |
51 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
52 | 64 | | |
53 | 65 | | |
54 | 66 | | |
55 | 67 | | |
56 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
57 | 75 | | |
58 | 76 | | |
59 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
0 commit comments