Skip to content

Commit

Permalink
chore(common/web): replace three commented-out test cases with it.skip()
Browse files Browse the repository at this point in the history
  • Loading branch information
markcsinclair committed Dec 10, 2024
1 parent 952af47 commit 255e1f5
Showing 1 changed file with 54 additions and 54 deletions.
108 changes: 54 additions & 54 deletions common/web/types/tests/kvk/kvk-file-writer.tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,60 +68,60 @@ describe('Test of KVK-File-Writer', () => {
const binary: BUILDER_KVK_FILE = writer['build'](vk);
checkBuilderKvkFile(binary, vk);
});
// it('can handle a null associatedKeyboard', () => {
// const vk_associatedKeyboard: string = null;
// const vk = initVisualKeyboard([
// initVisualKeyboardKey(0),
// initVisualKeyboardKey(1),
// initVisualKeyboardKey(2),
// ],
// undefined,
// BUILDER_KVK_HEADER_FLAGS.kvkhNone,
// vk_associatedKeyboard,
// DEFAULT_KVK_FONT,
// DEFAULT_KVK_FONT,
// undefined,
// );
// const writer = new KvkFileWriter;
// const binary: BUILDER_KVK_FILE = writer['build'](vk);
// checkBuilderKvkFile(binary, vk);
// });
// it('can handle a null ansiFont name', () => {
// const vk_ansiFont_name: string = null;
// const vk = initVisualKeyboard([
// initVisualKeyboardKey(0),
// initVisualKeyboardKey(1),
// initVisualKeyboardKey(2),
// ],
// undefined,
// BUILDER_KVK_HEADER_FLAGS.kvkhNone,
// "associatedKeyboard",
// { name: vk_ansiFont_name, size: -12 },
// DEFAULT_KVK_FONT,
// undefined,
// );
// const writer = new KvkFileWriter;
// const binary: BUILDER_KVK_FILE = writer['build'](vk);
// checkBuilderKvkFile(binary, vk);
// });
// it('can handle a null unicodeFont name', () => {
// const vk_unicodeFont_name: string = null;
// const vk = initVisualKeyboard([
// initVisualKeyboardKey(0),
// initVisualKeyboardKey(1),
// initVisualKeyboardKey(2),
// ],
// undefined,
// BUILDER_KVK_HEADER_FLAGS.kvkhNone,
// "associatedKeyboard",
// DEFAULT_KVK_FONT,
// { name: vk_unicodeFont_name, size: -12 },
// undefined,
// );
// const writer = new KvkFileWriter;
// const binary: BUILDER_KVK_FILE = writer['build'](vk);
// checkBuilderKvkFile(binary, vk);
// });
it.skip('can handle a null associatedKeyboard', () => {
const vk_associatedKeyboard: string = null;
const vk = initVisualKeyboard([
initVisualKeyboardKey(0),
initVisualKeyboardKey(1),
initVisualKeyboardKey(2),
],
undefined,
BUILDER_KVK_HEADER_FLAGS.kvkhNone,
vk_associatedKeyboard,
DEFAULT_KVK_FONT,
DEFAULT_KVK_FONT,
undefined,
);
const writer = new KvkFileWriter;
const binary: BUILDER_KVK_FILE = writer['build'](vk);
checkBuilderKvkFile(binary, vk);
});
it.skip('can handle a null ansiFont name', () => {
const vk_ansiFont_name: string = null;
const vk = initVisualKeyboard([
initVisualKeyboardKey(0),
initVisualKeyboardKey(1),
initVisualKeyboardKey(2),
],
undefined,
BUILDER_KVK_HEADER_FLAGS.kvkhNone,
"associatedKeyboard",
{ name: vk_ansiFont_name, size: -12 },
DEFAULT_KVK_FONT,
undefined,
);
const writer = new KvkFileWriter;
const binary: BUILDER_KVK_FILE = writer['build'](vk);
checkBuilderKvkFile(binary, vk);
});
it.skip('can handle a null unicodeFont name', () => {
const vk_unicodeFont_name: string = null;
const vk = initVisualKeyboard([
initVisualKeyboardKey(0),
initVisualKeyboardKey(1),
initVisualKeyboardKey(2),
],
undefined,
BUILDER_KVK_HEADER_FLAGS.kvkhNone,
"associatedKeyboard",
DEFAULT_KVK_FONT,
{ name: vk_unicodeFont_name, size: -12 },
undefined,
);
const writer = new KvkFileWriter;
const binary: BUILDER_KVK_FILE = writer['build'](vk);
checkBuilderKvkFile(binary, vk);
});
it('can handle a null vkey', () => {
const vkk_vkey: number = null;
const vk = initVisualKeyboard([
Expand Down

0 comments on commit 255e1f5

Please sign in to comment.