Skip to content

Use unix line endings in source code files #71

Use unix line endings in source code files

Use unix line endings in source code files #71

GitHub Actions / qrcode-tests-nodejs_18 succeeded Oct 20, 2024 in 0s

99 passed, 0 failed and 0 skipped

Tests passed successfully

✅ test-results.xml

99 tests were completed in 170ms with 99 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
test/e2e/toCanvas.test.js 3✅ 5ms
test/e2e/toDataURL.test.js 3✅ 7ms
test/e2e/toFile.test.js 6✅ 2ms
test/e2e/toFileStream.test.js 3✅ 2ms
test/e2e/toString.test.js 8✅ 11ms
test/unit/core/alignment-pattern.test.js 2✅ 13ms
test/unit/core/alphanumeric-data.test.js 1✅ 18ms
test/unit/core/bit-buffer.test.js 1✅ 1ms
test/unit/core/bit-matrix.test.js 1✅ 1ms
test/unit/core/byte-data.test.js 2✅ 1ms
test/unit/core/error-correction-code.test.js 2✅ 1ms
test/unit/core/error-correction-level.test.js 2✅ 4ms
test/unit/core/finder-pattern.test.js 1✅ 2ms
test/unit/core/format-info.test.js 1✅ 1ms
test/unit/core/galois-field.test.js 1✅ 2ms
test/unit/core/kanji-data.test.js 1✅ 7ms
test/unit/core/mask-pattern.test.js 9✅ 2ms
test/unit/core/mode.test.js 6✅ 2ms
test/unit/core/numeric-data.test.js 1✅ 2ms
test/unit/core/polynomial.test.js 2✅ 1ms
test/unit/core/qrcode.test.js 4✅ 1ms
test/unit/core/reed-solomon-encoder.test.js 1✅ 1ms
test/unit/core/regex.test.js 2✅ 0ms
test/unit/core/segments.test.js 3✅ 1ms
test/unit/core/utils.test.js 4✅ 1ms
test/unit/core/version.test.js 5✅ 7ms
test/unit/helper/sjis.test.js 1✅ 22ms
test/unit/renderer/canvas.test.js 5✅ 1ms
test/unit/renderer/png.test.js 5✅ 1ms
test/unit/renderer/svg.test.js 3✅ 1ms
test/unit/renderer/terminal.test.js 3✅ 1ms
test/unit/renderer/utf8.test.js 3✅ 0ms
test/unit/renderer/utils.test.js 4✅ 0ms

✅ test/e2e/toCanvas.test.js

test/e2e/toCanvas.test.js
  ✅ toCanvas - no promise available
  ✅ toCanvas
  ✅ toCanvas with specified canvas element

✅ test/e2e/toDataURL.test.js

test/e2e/toDataURL.test.js
  ✅ toDataURL - no promise available
  ✅ toDataURL - image/png
  ✅ Canvas toDataURL - image/png

✅ test/e2e/toFile.test.js

test/e2e/toFile.test.js
  ✅ toFile - no promise available
  ✅ toFile
  ✅ toFile png
  ✅ toFile svg
  ✅ toFile utf8
  ✅ toFile manual segments

✅ test/e2e/toFileStream.test.js

test/e2e/toFileStream.test.js
  ✅ toFileStream png
  ✅ toFileStream png with write error
  ✅ toFileStream png with qrcode error

✅ test/e2e/toString.test.js

test/e2e/toString.test.js
  ✅ toString - no promise available
  ✅ toString
  ✅ toString (browser)
  ✅ toString svg
  ✅ toString browser svg
  ✅ toString utf8
  ✅ toString terminal
  ✅ toString byte-input

✅ test/unit/core/alignment-pattern.test.js

test/unit/core/alignment-pattern.test.js
  ✅ Alignment pattern - Row/Col coords
  ✅ Alignment pattern - Positions

✅ test/unit/core/alphanumeric-data.test.js

test/unit/core/alphanumeric-data.test.js
  ✅ Alphanumeric Data

✅ test/unit/core/bit-buffer.test.js

test/unit/core/bit-buffer.test.js
  ✅ Bit Buffer

✅ test/unit/core/bit-matrix.test.js

test/unit/core/bit-matrix.test.js
  ✅ Bit Matrix

✅ test/unit/core/byte-data.test.js

test/unit/core/byte-data.test.js
  ✅ Byte Data: String Input
  ✅ Byte Data: Byte Input

✅ test/unit/core/error-correction-code.test.js

test/unit/core/error-correction-code.test.js
  ✅ Error correction codewords
  ✅ Error correction blocks

✅ test/unit/core/error-correction-level.test.js

test/unit/core/error-correction-level.test.js
  ✅ Error level from input value
  ✅ Error level validity

✅ test/unit/core/finder-pattern.test.js

test/unit/core/finder-pattern.test.js
  ✅ Finder pattern

✅ test/unit/core/format-info.test.js

test/unit/core/format-info.test.js
  ✅ Format encoded info

✅ test/unit/core/galois-field.test.js

test/unit/core/galois-field.test.js
  ✅ Galois Field

✅ test/unit/core/kanji-data.test.js

test/unit/core/kanji-data.test.js
  ✅ Kanji Data

✅ test/unit/core/mask-pattern.test.js

test/unit/core/mask-pattern.test.js
  ✅ Mask pattern - Pattern references
  ✅ MaskPattern validity
  ✅ MaskPattern from value
  ✅ Mask pattern - Apply mask
  ✅ Mask pattern - Penalty N1
  ✅ Mask pattern - Penalty N2
  ✅ Mask pattern - Penalty N3
  ✅ Mask pattern - Penalty N4
  ✅ Mask pattern - Best mask

✅ test/unit/core/mode.test.js

test/unit/core/mode.test.js
  ✅ Mode bits
  ✅ Char count bits
  ✅ Best mode
  ✅ Is valid
  ✅ From value
  ✅ To string

✅ test/unit/core/numeric-data.test.js

test/unit/core/numeric-data.test.js
  ✅ Numeric Data

✅ test/unit/core/polynomial.test.js

test/unit/core/polynomial.test.js
  ✅ Generator polynomial
  ✅ Polynomial

✅ test/unit/core/qrcode.test.js

test/unit/core/qrcode.test.js
  ✅ QRCode interface
  ✅ QRCode error correction
  ✅ QRCode version
  ✅ QRCode capacity

✅ test/unit/core/reed-solomon-encoder.test.js

test/unit/core/reed-solomon-encoder.test.js
  ✅ Reed-Solomon encoder

✅ test/unit/core/regex.test.js

test/unit/core/regex.test.js
  ✅ Regex
  ✅ Regex test

✅ test/unit/core/segments.test.js

test/unit/core/segments.test.js
  ✅ Segments from array
  ✅ Segments optimization
  ✅ Segments raw split

✅ test/unit/core/utils.test.js

test/unit/core/utils.test.js
  ✅ Symbol size
  ✅ Symbol codewords
  ✅ BCH Digit
  ✅ Set/Get SJIS function

✅ test/unit/core/version.test.js

test/unit/core/version.test.js
  ✅ Version validity
  ✅ Version from value
  ✅ Version capacity
  ✅ Version best match
  ✅ Version encoded info

✅ test/unit/helper/sjis.test.js

test/unit/helper/sjis.test.js
  ✅ SJIS from char

✅ test/unit/renderer/canvas.test.js

test/unit/renderer/canvas.test.js
  ✅ CanvasRenderer interface
  ✅ CanvasRenderer render
  ✅ CanvasRenderer render to provided canvas
  ✅ CanvasRenderer renderToDataURL
  ✅ CanvasRenderer renderToDataURL to provided canvas

✅ test/unit/renderer/png.test.js

test/unit/renderer/png.test.js
  ✅ PNG renderer interface
  ✅ PNG render
  ✅ PNG renderToDataURL
  ✅ PNG renderToFile
  ✅ PNG renderToFileStream

✅ test/unit/renderer/svg.test.js

test/unit/renderer/svg.test.js
  ✅ svgrender interface
  ✅ Svg render
  ✅ Svg renderToFile

✅ test/unit/renderer/terminal.test.js

test/unit/renderer/terminal.test.js
  ✅ TerminalRenderer interface
  ✅ TerminalRenderer render big
  ✅ TerminalRenderer render small

✅ test/unit/renderer/utf8.test.js

test/unit/renderer/utf8.test.js
  ✅ Utf8Renderer interface
  ✅ Utf8Renderer render
  ✅ Utf8 renderToFile

✅ test/unit/renderer/utils.test.js

test/unit/renderer/utils.test.js
  ✅ Utils getOptions
  ✅ Utils getScale
  ✅ Utils getImageWidth
  ✅ Utils qrToImageData