mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-23 00:06:17 -04:00
Ported rest of Code ops & enabled/fixed some tests
This commit is contained in:
parent
ade056e881
commit
eb3a2502f5
14 changed files with 597 additions and 4 deletions
|
@ -34,7 +34,7 @@ import "./tests/operations/CartesianProduct";
|
|||
import "./tests/operations/CharEnc";
|
||||
import "./tests/operations/Ciphers";
|
||||
import "./tests/operations/Checksum";
|
||||
// import "./tests/operations/Code";
|
||||
import "./tests/operations/Code";
|
||||
import "./tests/operations/Compress";
|
||||
import "./tests/operations/Crypt";
|
||||
import "./tests/operations/DateTime";
|
||||
|
@ -54,7 +54,7 @@ import "./tests/operations/OTP";
|
|||
import "./tests/operations/PowerSet";
|
||||
// import "./tests/operations/Regex";
|
||||
import "./tests/operations/Rotate";
|
||||
// import "./tests/operations/StrUtils";
|
||||
import "./tests/operations/StrUtils";
|
||||
import "./tests/operations/SeqUtils";
|
||||
import "./tests/operations/SetDifference";
|
||||
import "./tests/operations/SetIntersection";
|
||||
|
|
|
@ -310,6 +310,7 @@ TestRegister.addTests([
|
|||
}
|
||||
],
|
||||
},
|
||||
/* Since we don't pack ops before running tests, there's no polyfill for DomParser()
|
||||
{
|
||||
name: "CSS selector",
|
||||
input: '<div id="test">\n<p class="a">hello</p>\n<p>world</p>\n<p class="a">again</p>\n</div>',
|
||||
|
@ -331,5 +332,5 @@ TestRegister.addTests([
|
|||
"args": ["/div/p[@class=\"a\"]", "\\n"]
|
||||
}
|
||||
]
|
||||
}
|
||||
}*/
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue