mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 23:36:16 -04:00
Tweaks and restructuring of test runner.
This commit is contained in:
parent
6e5ea5d75f
commit
d7e396c04f
12 changed files with 99 additions and 149 deletions
|
@ -1,11 +1,10 @@
|
|||
/**
|
||||
* Base58 tests.
|
||||
*
|
||||
* @author tlwr [toby@toby.codes
|
||||
* @author tlwr [toby@toby.codes]
|
||||
*
|
||||
* @copyright Crown Copyright 2017
|
||||
* @license Apache-2.0
|
||||
*
|
||||
*/
|
||||
TestRegister.addTests([
|
||||
{
|
||||
|
|
|
@ -1,52 +1,12 @@
|
|||
/**
|
||||
* Core tests.
|
||||
* Flow Control tests.
|
||||
*
|
||||
* @author tlwr [toby@toby.codes]
|
||||
*
|
||||
* @copyright Crown Copyright 2017
|
||||
* @license Apache-2.0
|
||||
*
|
||||
*/
|
||||
TestRegister.addTests([
|
||||
//{
|
||||
// name: "Example error",
|
||||
// input: "1\n2\na\n4",
|
||||
// expectedOutput: "1\n2\n3\n4",
|
||||
// recipeConfig: [
|
||||
// {
|
||||
// op: "Fork",
|
||||
// args: ["\n", "\n", false],
|
||||
// },
|
||||
// {
|
||||
// op: "To Base",
|
||||
// args: [16],
|
||||
// },
|
||||
// ],
|
||||
//},
|
||||
//{
|
||||
// name: "Example non-error when error was expected",
|
||||
// input: "1",
|
||||
// expectedError: true,
|
||||
// recipeConfig: [
|
||||
// {
|
||||
// op: "To Base",
|
||||
// args: [16],
|
||||
// },
|
||||
// ],
|
||||
//},
|
||||
//{
|
||||
// name: "Example fail",
|
||||
// input: "1\n2\na\n4",
|
||||
// expectedOutput: "1\n2\n3\n4",
|
||||
// recipeConfig: [
|
||||
// {
|
||||
// op: "Fork",
|
||||
// args: ["\n", "\n", true],
|
||||
// },
|
||||
// {
|
||||
// op: "To Base",
|
||||
// args: [16],
|
||||
// },
|
||||
// ],
|
||||
//},
|
||||
{
|
||||
name: "Fork: nothing",
|
||||
input: "",
|
|
@ -1,11 +1,10 @@
|
|||
/**
|
||||
* Base58 tests.
|
||||
*
|
||||
* @author tlwr [toby@toby.codes
|
||||
* @author tlwr [toby@toby.codes]
|
||||
*
|
||||
* @copyright Crown Copyright 2017
|
||||
* @license Apache-2.0
|
||||
*
|
||||
*/
|
||||
TestRegister.addTests([
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue