Get All Casings -> Get All Cases

make this recipe easier to search and consistent with case ops
This commit is contained in:
wesinator 2025-06-06 16:47:40 -04:00
parent c57556f49f
commit 4a68bf5268
4 changed files with 10 additions and 10 deletions

View file

@ -299,7 +299,7 @@
"From Case Insensitive Regex", "From Case Insensitive Regex",
"Add line numbers", "Add line numbers",
"Remove line numbers", "Remove line numbers",
"Get All Casings", "Get All Cases",
"To Table", "To Table",
"Reverse", "Reverse",
"Sort", "Sort",

View file

@ -9,15 +9,15 @@ import Operation from "../Operation.mjs";
/** /**
* Permutate String operation * Permutate String operation
*/ */
class GetAllCasings extends Operation { class GetAllCases extends Operation {
/** /**
* GetAllCasings constructor * GetAllCases constructor
*/ */
constructor() { constructor() {
super(); super();
this.name = "Get All Casings"; this.name = "Get All Cases";
this.module = "Default"; this.module = "Default";
this.description = "Outputs all possible casing variations of a string."; this.description = "Outputs all possible casing variations of a string.";
this.infoURL = ""; this.infoURL = "";
@ -50,4 +50,4 @@ class GetAllCasings extends Operation {
} }
} }
export default GetAllCasings; export default GetAllCases;

View file

@ -75,7 +75,7 @@ import "./tests/FromDecimal.mjs";
import "./tests/GenerateAllChecksums.mjs"; import "./tests/GenerateAllChecksums.mjs";
import "./tests/GenerateAllHashes.mjs"; import "./tests/GenerateAllHashes.mjs";
import "./tests/GenerateDeBruijnSequence.mjs"; import "./tests/GenerateDeBruijnSequence.mjs";
import "./tests/GetAllCasings.mjs"; import "./tests/GetAllCases.mjs";
import "./tests/GOST.mjs"; import "./tests/GOST.mjs";
import "./tests/Gunzip.mjs"; import "./tests/Gunzip.mjs";
import "./tests/Gzip.mjs"; import "./tests/Gzip.mjs";

View file

@ -1,5 +1,5 @@
/** /**
* GetAllCasings tests. * GetAllCases tests.
* *
* @author n1073645 [n1073645@gmail.com] * @author n1073645 [n1073645@gmail.com]
* @copyright Crown Copyright 2020 * @copyright Crown Copyright 2020
@ -14,7 +14,7 @@ TestRegister.addTests([
expectedOutput: "test\nTest\ntEst\nTEst\nteSt\nTeSt\ntESt\nTESt\ntesT\nTesT\ntEsT\nTEsT\nteST\nTeST\ntEST\nTEST", expectedOutput: "test\nTest\ntEst\nTEst\nteSt\nTeSt\ntESt\nTESt\ntesT\nTesT\ntEsT\nTEsT\nteST\nTeST\ntEST\nTEST",
recipeConfig: [ recipeConfig: [
{ {
"op": "Get All Casings", "op": "Get All Cases",
"args": [] "args": []
} }
] ]
@ -25,7 +25,7 @@ TestRegister.addTests([
expectedOutput: "t\nT", expectedOutput: "t\nT",
recipeConfig: [ recipeConfig: [
{ {
"op": "Get All Casings", "op": "Get All Cases",
"args": [] "args": []
} }
] ]
@ -36,7 +36,7 @@ TestRegister.addTests([
expectedOutput: "", expectedOutput: "",
recipeConfig: [ recipeConfig: [
{ {
"op": "Get All Casings", "op": "Get All Cases",
"args": [] "args": []
} }
] ]