Commit 33e714f
committed
fix(tests): clean NUnit 3->4 conversion from release/9.3 baseline
Re-checkout all 261 test files from origin/release/9.3 and run
scripts/tests/convert_nunit.py with corrected comparison logic.
This fixes swapped argument order in Greater/Less assertions that
were introduced during the SDK migration rebase (43d1fd5).
The previous conversion incorrectly produced:
Assert.That(0, Is.GreaterThan(value)) // WRONG - always false
Now correctly produces:
Assert.That(value, Is.GreaterThan(0)) // CORRECT
Also restores 3 test files that were unintentionally deleted during
the SDK migration:
- Lib/src/ScrChecks/ScrChecksTests/SentenceFinalPunctCapitalizationCheckUnitTest.cs
- Src/Common/ViewsInterfaces/ViewsInterfacesTests/ExtraComInterfacesTests.cs
- Src/FwCoreDlgs/FwCoreDlgsTests/FwWritingSystemSetupDlgTests.cs1 parent f486c60 commit 33e714f
File tree
58 files changed
+4468
-6426
lines changed- Lib/src/ScrChecks/ScrChecksTests
- Src
- CacheLight/CacheLightTests
- Common
- Controls
- DetailControls/DetailControlsTests
- XMLViews/XMLViewsTests
- FieldWorks/FieldWorksTests
- Framework/FrameworkTests
- FwUtils/FwUtilsTests
- RootSite/RootSiteTests
- ScriptureUtils/ScriptureUtilsTests
- SimpleRootSite/SimpleRootSiteTests
- ViewsInterfaces/ViewsInterfacesTests
- Properties
- FwCoreDlgs/FwCoreDlgsTests
- FwParatextLexiconPlugin/FwParatextLexiconPluginTests/Properties
- LexText
- Discourse/DiscourseTests
- Properties
- FlexPathwayPlugin/FlexPathwayPluginTests
- Interlinear/ITextDllTests
- LexTextControls/LexTextControlsTests
- Lexicon/LexEdDllTests/Properties
- Morphology/MorphologyEditorDllTests
- Properties
- ParatextImport/ParatextImportTests
- ImportTests
- UnicodeCharEditor/UnicodeCharEditorTests
- Utilities
- MessageBoxExLib/MessageBoxExLibTests
- SfmToXml/Sfm2XmlTests/Properties
- XCore/xCoreInterfaces/xCoreInterfacesTests
- Properties
- xWorks/xWorksTests
- scripts/tests
- specs/007-test-modernization-vstest
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
58 files changed
+4468
-6426
lines changedLines changed: 866 additions & 1638 deletions
Large diffs are not rendered by default.
Lines changed: 13 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | 7 | | |
9 | | - | |
| 8 | + | |
10 | 9 | | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
33 | | - | |
| 35 | + | |
| 36 | + | |
34 | 37 | | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
| 38 | + | |
40 | 39 | | |
41 | 40 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
| 41 | + | |
47 | 42 | | |
48 | 43 | | |
49 | 44 | | |
| |||
68 | 63 | | |
69 | 64 | | |
70 | 65 | | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
| 66 | + | |
| 67 | + | |
75 | 68 | | |
76 | 69 | | |
77 | 70 | | |
78 | 71 | | |
79 | 72 | | |
80 | 73 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
| 74 | + | |
| 75 | + | |
86 | 76 | | |
87 | 77 | | |
88 | 78 | | |
| |||
Lines changed: 127 additions & 0 deletions
| 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 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
586 | 586 | | |
587 | 587 | | |
588 | 588 | | |
589 | | - | |
| 589 | + | |
590 | 590 | | |
591 | 591 | | |
592 | 592 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
181 | | - | |
| 181 | + | |
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
| |||
187 | 187 | | |
188 | 188 | | |
189 | 189 | | |
190 | | - | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| |||
0 commit comments