mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-11-25 00:17:42 -05:00
style: use one spelling across the codebase
The repo mixed variants such as center/centre and color/colour, so a name could be spelled either way and searches missed half the hits. Standardize on the US spelling, matching .NET's own APIs (Color, Center). Wire values owned by other systems keep their spelling: the material ledger's "Cancelled" hold status and GitHub's "cancelled" job status. No behavior change beyond the spelling of a few status messages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2a128c5a11
commit
4d55e11318
230 files changed
+864
-864
No files matched your search
Binary file not shown.
@@ -174,7 +174,7 @@ def main(argv=None):
|
||||
print("PASS: exactly six Irregular results, all valid and fully placed")
|
||||
return 0
|
||||
except KeyboardInterrupt:
|
||||
print("FAIL: cancelled; owned subprocess tree terminated", file=sys.stderr)
|
||||
print("FAIL: canceled; owned subprocess tree terminated", file=sys.stderr)
|
||||
return 130
|
||||
except (GateError, OSError, ValueError, KeyError, zipfile.BadZipFile,
|
||||
subprocess.SubprocessError) as error:
|
||||
|
||||
@@ -27,7 +27,7 @@ class CIResultsTests(unittest.TestCase):
|
||||
def test_synthetic_failure_blocks_aggregate(self):
|
||||
self.assertNotEqual(self.check("success", "failure").returncode, 0)
|
||||
|
||||
def test_cancelled_dependency_blocks_aggregate(self):
|
||||
def test_canceled_dependency_blocks_aggregate(self):
|
||||
for results in [("cancelled", "success"), ("success", "cancelled")]:
|
||||
with self.subTest(results=results):
|
||||
self.assertNotEqual(self.check(*results).returncode, 0)
|
||||
|
||||
@@ -61,12 +61,12 @@
|
||||
},
|
||||
{
|
||||
"project": "OpenNest.WinForms.Tests",
|
||||
"method": "OpenNest.WinForms.Tests.Forms.ImportBomToSetFormTests.ImportBom_OpensTheEditorPrefilled_AndCancellingItStoresNoSet",
|
||||
"method": "OpenNest.WinForms.Tests.Forms.ImportBomToSetFormTests.ImportBom_OpensTheEditorPrefilled_AndCancelingItStoresNoSet",
|
||||
"minimum_cases": 1
|
||||
},
|
||||
{
|
||||
"project": "OpenNest.WinForms.Tests",
|
||||
"method": "OpenNest.WinForms.Tests.Forms.ImportBomToSetFormTests.DecliningTheLibraryWrites_OrCancelling_StoresNothing",
|
||||
"method": "OpenNest.WinForms.Tests.Forms.ImportBomToSetFormTests.DecliningTheLibraryWrites_OrCanceling_StoresNothing",
|
||||
"minimum_cases": 1
|
||||
}
|
||||
],
|
||||
@@ -170,12 +170,12 @@
|
||||
},
|
||||
{
|
||||
"project": "OpenNest.FrontEnd.Tests",
|
||||
"method": "OpenNest.FrontEnd.Tests.NestingPipelineTests.Console_CancelledOrdinaryFillDoesNotOverwriteOutput",
|
||||
"method": "OpenNest.FrontEnd.Tests.NestingPipelineTests.Console_CanceledOrdinaryFillDoesNotOverwriteOutput",
|
||||
"minimum_cases": 1
|
||||
},
|
||||
{
|
||||
"project": "OpenNest.FrontEnd.Tests",
|
||||
"method": "OpenNest.FrontEnd.Tests.NestingPipelineTests.Console_CancelledSolveDoesNotSave",
|
||||
"method": "OpenNest.FrontEnd.Tests.NestingPipelineTests.Console_CanceledSolveDoesNotSave",
|
||||
"minimum_cases": 1
|
||||
},
|
||||
{
|
||||
@@ -230,7 +230,7 @@
|
||||
},
|
||||
{
|
||||
"project": "OpenNest.WinForms.Tests",
|
||||
"method": "OpenNest.WinForms.Tests.Forms.AutoNestFormStockOptionsTests.BlankAndCancelledRowsDoNotBecomeStockOptions",
|
||||
"method": "OpenNest.WinForms.Tests.Forms.AutoNestFormStockOptionsTests.BlankAndCanceledRowsDoNotBecomeStockOptions",
|
||||
"minimum_cases": 1
|
||||
},
|
||||
{
|
||||
@@ -270,7 +270,7 @@
|
||||
},
|
||||
{
|
||||
"project": "OpenNest.WinForms.Tests",
|
||||
"method": "OpenNest.WinForms.Tests.Forms.NestValidationFormTests.CompletionClosesWithoutCancellingSuccessfulJob",
|
||||
"method": "OpenNest.WinForms.Tests.Forms.NestValidationFormTests.CompletionClosesWithoutCancelingSuccessfulJob",
|
||||
"minimum_cases": 1
|
||||
},
|
||||
{
|
||||
@@ -983,7 +983,7 @@
|
||||
"required_tests": [
|
||||
{
|
||||
"project": "OpenNest.FrontEnd.Tests",
|
||||
"method": "OpenNest.FrontEnd.Tests.McpEngineHarnessProcessTests.AlreadyCancelled_DoesNotStartChild",
|
||||
"method": "OpenNest.FrontEnd.Tests.McpEngineHarnessProcessTests.AlreadyCanceled_DoesNotStartChild",
|
||||
"minimum_cases": 1
|
||||
},
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user