2017-12-16 01:46:21 +01:00
|
|
|
/**
|
|
|
|
* NetBIOS tests.
|
|
|
|
*
|
|
|
|
* @author bwhitn [brian.m.whitney@outlook.com]
|
|
|
|
*
|
|
|
|
* @copyright Crown Copyright 2017
|
|
|
|
* @license Apache-2.0
|
|
|
|
*/
|
2018-05-17 17:34:00 +02:00
|
|
|
import TestRegister from "../../TestRegister";
|
2017-12-16 01:46:21 +01:00
|
|
|
|
|
|
|
TestRegister.addTests([
|
|
|
|
{
|
|
|
|
name: "Encode NetBIOS name",
|
|
|
|
input: "The NetBIOS name",
|
|
|
|
expectedOutput: "FEGIGFCAEOGFHEECEJEPFDCAGOGBGNGF",
|
|
|
|
recipeConfig: [
|
|
|
|
{
|
|
|
|
op: "Encode NetBIOS Name",
|
|
|
|
args: [65],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: "Decode NetBIOS Name",
|
|
|
|
input: "FEGIGFCAEOGFHEECEJEPFDCAGOGBGNGF",
|
|
|
|
expectedOutput: "The NetBIOS name",
|
|
|
|
recipeConfig: [
|
|
|
|
{
|
|
|
|
op: "Decode NetBIOS Name",
|
|
|
|
args: [65],
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
]);
|