All files / contracts/_enums field-test-case-type.enum.ts

100% Statements 113/113
100% Branches 1/1
100% Functions 0/0
100% Lines 113/113

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 1141x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x  
/**
 * `dynamo-e2e` Layer-A (Wave-1) — minden lehetséges per-field test-case-szignatúra.
 *
 * Egy enum-érték EGY TEST-CASE-KATEGÓRIÁT azonosít, ami minden field-type-on
 * eltérő konkrét bemenetet jelent (pl. `oversize`: text-en "a".repeat(maxLen+1),
 * number-en `Number.MAX_SAFE_INTEGER + 1`, slider-en `max + step`, stb.).
 *
 * A discriminated-union-narrowing miatt minden konkrét test-case-set ezt az
 * enum-ot használja kulcsként (`DyE2E_FieldTestCaseSet_DataModel`).
 *
 * @see ../_models/data-models/field-test-case.data-model.ts
 */
export enum DyE2E_FieldTestCase_Type {
  // ─── Üres / üres-ekvivalens bemenetek ────────────────────────────
  emptyInput = 'empty-input',
  singleWhitespace = 'single-whitespace',
  multiWhitespace = 'multi-whitespace',
  onlyWhitespace = 'only-whitespace',
 
  // ─── Méret-határ menti bemenetek ─────────────────────────────────
  exactMin = 'exact-min',
  belowMin = 'below-min',
  exactMax = 'exact-max',
  aboveMax = 'above-max',
  oversize = 'oversize',
  undersize = 'undersize',
 
  // ─── Tartalmi karakter-osztályok ─────────────────────────────────
  ascii = 'ascii',
  unicodeBasic = 'unicode-basic',
  unicodeEmoji = 'unicode-emoji',
  unicodeRtl = 'unicode-rtl',
  unicodeCombining = 'unicode-combining',
  controlChars = 'control-chars',
  htmlEntities = 'html-entities',
  xssTag = 'xss-tag',
  sqlInjectionShape = 'sql-injection-shape',
  jsonShape = 'json-shape',
  pathTraversalShape = 'path-traversal-shape',
  /** Zero-width / láthatatlan karakterek (ZWSP/ZWNJ/ZWJ/BOM) — normalize/sanitization-check. */
  zeroWidthChars = 'zero-width-chars',
  /** Homoglyph / confusable (pl. cyrillic 'а' a latin 'a' helyett) — dup-bypass / spoofing-check. */
  homoglyph = 'homoglyph',
  /** Template-injection alak (`${7*7}` / `{{7*7}}` / `#{7*7}`) — server-side eval-check. */
  templateInjectionShape = 'template-injection-shape',
  /** CRLF / header-injection alak (`\r\nSet-Cookie:...`) — header-szennyezés-check. */
  crlfInjectionShape = 'crlf-injection-shape',
 
  // ─── Szöveges semantic-edge ─────────────────────────────────────
  singleChar = 'single-char',
  twoChars = 'two-chars',
  sentence = 'sentence',
  multiline = 'multiline',
  trailingSpaces = 'trailing-spaces',
  leadingSpaces = 'leading-spaces',
  /** Case-variáció (`VALUE` vs `value`) — case-insensitivity / dup-bypass-check. */
  caseVariant = 'case-variant',
 
  // ─── Numerikus edge ──────────────────────────────────────────────
  zero = 'zero',
  one = 'one',
  negativeOne = 'negative-one',
  decimalWhenInt = 'decimal-when-int',
  intWhenDecimal = 'int-when-decimal',
  scientific = 'scientific',
  infinity = 'infinity',
  nan = 'nan',
  veryLarge = 'very-large',
  verySmall = 'very-small',
  positiveSign = 'positive-sign',
 
  // ─── Date / time edge ────────────────────────────────────────────
  todayIso = 'today-iso',
  leapYearFeb29 = 'leap-year-feb-29',
  beforeY2K = 'before-y2k',
  beforeUnixEpoch = 'before-unix-epoch',
  farFuture = 'far-future',
  midnight = 'midnight',
  noon = 'noon',
  endOfDay = 'end-of-day',
  dstSpringForward = 'dst-spring-forward',
  dstFallBack = 'dst-fall-back',
 
  // ─── Range / kétértékű edge ──────────────────────────────────────
  startEqualsEnd = 'start-equals-end',
  startAfterEnd = 'start-after-end',
  startBeforeMin = 'start-before-min',
  endAfterMax = 'end-after-max',
 
  // ─── Selection edge ──────────────────────────────────────────────
  firstOption = 'first-option',
  lastOption = 'last-option',
  disabledOption = 'disabled-option',
  noneSelected = 'none-selected',
  allSelected = 'all-selected',
  multipleSelected = 'multiple-selected',
  duplicateSelection = 'duplicate-selection',
 
  // ─── Boolean edge ────────────────────────────────────────────────
  toggleOnce = 'toggle-once',
  toggleTwice = 'toggle-twice',
  rapidToggle = 'rapid-toggle',
 
  // ─── Interakcios edge (Wave-1: descriptor csak, runner Wave-3) ──
  doubleClick = 'double-click',
  triplePaste = 'triple-paste',
  keyboardOnly = 'keyboard-only',
  blurWithoutChange = 'blur-without-change',
 
  // ─── Wave-2b reserved ────────────────────────────────────────────
  /** Wave-2b placeholder — ismeretlen / consumer-defined eset. */
  custom = 'custom',
}