Quodatum / xqlint

XQuery Quality Checker
https://www.npmjs.com/package/@quodatum/xqlint
Apache License 2.0
1 stars 0 forks source link

Test status #7

Closed apb2006 closed 1 year ago

apb2006 commented 2 years ago
grunt vows
Running "vows:all" (vows) task
vows bin argv [
    'test/completion_test.js',
    'test/formatting_test.js',
    'test/function_test.js',
    'test/highlighting_test.js',
    'test/lexer_test.js',
    'test/module_resolver_test.js',
    'test/namespace_test.js',
    'test/parser_test.js',
    'test/variable_test.js'
]
vows bin options {
    reporter: 'dot-matrix',
    matcher: /.*/
}
vows runner loading [
    '/config/workspace/xqlint/test/completion_test',
    '/config/workspace/xqlint/test/formatting_test',
    '/config/workspace/xqlint/test/function_test',
    '/config/workspace/xqlint/test/highlighting_test',
    '/config/workspace/xqlint/test/lexer_test',
    '/config/workspace/xqlint/test/module_resolver_test',
    '/config/workspace/xqlint/test/namespace_test',
    '/config/workspace/xqlint/test/parser_test',
    '/config/workspace/xqlint/test/variable_test'
]
[
   {
      "type": "lparen",
      "value": "("
   },
   {
      "type": "constant",
      "value": "1"
   },
   {
      "type": "text",
      "value": " "
   },
   {
      "type": "keyword",
      "value": "to"
   },
   {
      "type": "text",
      "value": " "
   },
   {
      "type": "constant",
      "value": "3"
   },
   {
      "type": "rparen",
      "value": ")"
   },
   {
      "type": "text",
      "value": "=>"
   },
   {
      "type": "constant",
      "value": "6"
   }
]
vows runner running Test Code Completion ···✗✗·✗✗·✗✗✗✗✗···✗resolve:  http://www.w3.org/2005/xpath-functions
resolve:  http://www.w3.org/2005/xpath-functions/array
resolve:  http://www.w3.org/2005/xpath-functions/map
resolve:  http://www.w3.org/2005/xpath-functions/math
resolve:  http://basex.org/modules/admin
resolve:  http://basex.org/modules/archive
resolve:  http://basex.org/modules/client
resolve:  http://basex.org/modules/convert
resolve:  http://basex.org/modules/csv
resolve:  http://basex.org/modules/inspect
resolve:  http://basex.org/modules/db
resolve:  http://basex.org/modules/fetch
resolve:  http://basex.org/modules/ft
resolve:  http://basex.org/modules/hash
resolve:  http://basex.org/modules/hof
resolve:  http://basex.org/modules/html
resolve:  http://basex.org/modules/index
resolve:  http://basex.org/modules/jobs
resolve:  http://basex.org/modules/json
resolve:  http://basex.org/modules/lazy
resolve:  http://basex.org/modules/out
resolve:  http://basex.org/modules/proc
resolve:  http://basex.org/modules/prof
resolve:  http://basex.org/modules/random
resolve:  http://basex.org/modules/repo
resolve:  http://basex.org/modules/session
resolve:  http://basex.org/modules/sessions
resolve:  http://basex.org/modules/sql
resolve:  http://basex.org/modules/strings
resolve:  http://basex.org/modules/unit
resolve:  http://basex.org/modules/update
resolve:  http://basex.org/modules/user
resolve:  http://basex.org/modules/util
resolve:  http://basex.org/modules/validate
resolve:  http://basex.org/modules/web
resolve:  http://basex.org/modules/ws
resolve:  http://basex.org/modules/xslt
resolve:  http://basex.org/modules/xquery
resolve:  http://expath.org/ns/binary
resolve:  http://expath.org/ns/crypto
resolve:  http://expath.org/ns/file
resolve:  http://expath.org/ns/geo
resolve:  http://expath.org/ns/http-client
resolve:  http://expath.org/ns/request
resolve:  http://expath.org/ns/rest
resolve:  http://expath.org/ns/zip
resolve:  http://www.28msec.com/modules/http-response
✗resolve:  http://www.w3.org/2005/xpath-functions
resolve:  http://www.w3.org/2005/xpath-functions/array
resolve:  http://www.w3.org/2005/xpath-functions/map
resolve:  http://www.w3.org/2005/xpath-functions/math
resolve:  http://basex.org/modules/admin
resolve:  http://basex.org/modules/archive
resolve:  http://basex.org/modules/client
resolve:  http://basex.org/modules/convert
resolve:  http://basex.org/modules/csv
resolve:  http://basex.org/modules/inspect
resolve:  http://basex.org/modules/db
resolve:  http://basex.org/modules/fetch
resolve:  http://basex.org/modules/ft
resolve:  http://basex.org/modules/hash
resolve:  http://basex.org/modules/hof
resolve:  http://basex.org/modules/html
resolve:  http://basex.org/modules/index
resolve:  http://basex.org/modules/jobs
resolve:  http://basex.org/modules/json
resolve:  http://basex.org/modules/lazy
resolve:  http://basex.org/modules/out
resolve:  http://basex.org/modules/proc
resolve:  http://basex.org/modules/prof
resolve:  http://basex.org/modules/random
resolve:  http://basex.org/modules/repo
resolve:  http://basex.org/modules/session
resolve:  http://basex.org/modules/sessions
resolve:  http://basex.org/modules/sql
resolve:  http://basex.org/modules/strings
resolve:  http://basex.org/modules/unit
resolve:  http://basex.org/modules/update
resolve:  http://basex.org/modules/user
resolve:  http://basex.org/modules/util
resolve:  http://basex.org/modules/validate
resolve:  http://basex.org/modules/web
resolve:  http://basex.org/modules/ws
resolve:  http://basex.org/modules/xslt
resolve:  http://basex.org/modules/xquery
resolve:  http://expath.org/ns/binary
resolve:  http://expath.org/ns/crypto
resolve:  http://expath.org/ns/file
resolve:  http://expath.org/ns/geo
resolve:  http://expath.org/ns/http-client
resolve:  http://expath.org/ns/request
resolve:  http://expath.org/ns/rest
resolve:  http://expath.org/ns/zip
resolve:  http://www.28msec.com/modules/http-response
·resolve:  http://www.w3.org/2005/xpath-functions
resolve:  http://www.w3.org/2005/xpath-functions/array
resolve:  http://www.w3.org/2005/xpath-functions/map
resolve:  http://www.w3.org/2005/xpath-functions/math
resolve:  http://basex.org/modules/admin
resolve:  http://basex.org/modules/archive
resolve:  http://basex.org/modules/client
resolve:  http://basex.org/modules/convert
resolve:  http://basex.org/modules/csv
resolve:  http://basex.org/modules/inspect
resolve:  http://basex.org/modules/db
resolve:  http://basex.org/modules/fetch
resolve:  http://basex.org/modules/ft
resolve:  http://basex.org/modules/hash
resolve:  http://basex.org/modules/hof
resolve:  http://basex.org/modules/html
resolve:  http://basex.org/modules/index
resolve:  http://basex.org/modules/jobs
resolve:  http://basex.org/modules/json
resolve:  http://basex.org/modules/lazy
resolve:  http://basex.org/modules/out
resolve:  http://basex.org/modules/proc
resolve:  http://basex.org/modules/prof
resolve:  http://basex.org/modules/random
resolve:  http://basex.org/modules/repo
resolve:  http://basex.org/modules/session
resolve:  http://basex.org/modules/sessions
resolve:  http://basex.org/modules/sql
resolve:  http://basex.org/modules/strings
resolve:  http://basex.org/modules/unit
resolve:  http://basex.org/modules/update
resolve:  http://basex.org/modules/user
resolve:  http://basex.org/modules/util
resolve:  http://basex.org/modules/validate
resolve:  http://basex.org/modules/web
resolve:  http://basex.org/modules/ws
resolve:  http://basex.org/modules/xslt
resolve:  http://basex.org/modules/xquery
resolve:  http://expath.org/ns/binary
resolve:  http://expath.org/ns/crypto
resolve:  http://expath.org/ns/file
resolve:  http://expath.org/ns/geo
resolve:  http://expath.org/ns/http-client
resolve:  http://expath.org/ns/request
resolve:  http://expath.org/ns/rest
resolve:  http://expath.org/ns/zip
resolve:  http://www.28msec.com/modules/http-response
·✗✗·  
  vows runner running Test Code Formatting ··  
  vows runner running Test Function declarations ·····  
  vows runner running Test Syntax Highlighting ··  
  vows runner running Test Module URI Resolver ·········✗✗·····✗·  
  vows runner running Test Namespace declarations ··············✗✗···✗  
  vows runner running Test Parser ·✗··········  
  vows runner running Test Variable declarations ·······················  
  vows runner finish 

      ✗ test var (4) 
        » Number of proposals // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test expr (1) 
        » Number of proposals // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test expr (3) 
        » Number of proposals // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test namespaces (1) 
        » Number of proposals // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test namespaces (3) 
        » Number of proposals // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test namespaces (4) 
        » Number of proposals // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test prefixes (1) 
        » Number of proposals // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test functions (1) 
        » Number of proposals // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test functions (2) 
        » Number of proposals // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test functions (5) 
        » Number of proposals // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test functions (6) 
        » Number of proposals // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test variables (1) 
        » Number of proposals // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test variables (2) 
        » Number of proposals // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test 11 
        » Number of warnings // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test 12 
        » Number of markers // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test 19 
      ReferenceError: source is not defined 
      at Object.test 19 (/config/workspace/xqlint/test/module_resolver_test.js:221:33) 
      at runTest (/config/workspace/xqlint/node_modules/vows/lib/vows.js:136:26) 
      at EventEmitter.<anonymous> (/config/workspace/xqlint/node_modules/vows/lib/vows.js:81:9) 
      at EventEmitter.emit (events.js:412:35) 
      at EventEmitter.options.Emitter.emit (/config/workspace/xqlint/node_modules/vows/lib/vows.js:241:24) 
      at /config/workspace/xqlint/node_modules/vows/lib/vows/suite.js:170:45 
      at processTicksAndRejections (internal/process/task_queues.js:77:11) 

      ✗ test unused namespace (4) 
        » Number of markers // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test unused namespace (5) 
        » Number of errors // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test module function names (3) 
      TypeError: Cannot read property 'message' of undefined 
      at Object.test module function names (3) (/config/workspace/xqlint/test/namespace_test.js:182:28) 
      at runTest (/config/workspace/xqlint/node_modules/vows/lib/vows.js:136:26) 
      at EventEmitter.<anonymous> (/config/workspace/xqlint/node_modules/vows/lib/vows.js:81:9) 
      at EventEmitter.emit (events.js:412:35) 
      at EventEmitter.options.Emitter.emit (/config/workspace/xqlint/node_modules/vows/lib/vows.js:241:24) 
      at /config/workspace/xqlint/node_modules/vows/lib/vows/suite.js:170:45 
      at processTicksAndRejections (internal/process/task_queues.js:77:11) 

      ✗ /config/workspace/xqlint/test/queries/basex/array2.xq 
        » lexical analysis failed 
  while expecting ['default', 'descending'] 
  after successfully scanning 2 characters beginning at line 11, column 1: 
  ...declare variable $varname := expr; 

  ... // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 
  ✗ Errored » 86 honored ∙ 18 broken ∙ 2 errored (4.484s) 
  Warning: Task "vows:all" failed. Use --force to continue.

Aborted due to warnings.

Execution Time (2022-02-10 10:56:32 UTC-0)
vows:all  7s  ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 99%
Total 7s
apb2006 commented 2 years ago
abc@0a437dc3696e:~/workspace/xqlint$ grunt vows
Running "vows:all" (vows) task
vows bin argv [
    'test/apb.js',
    'test/apb2.js',
    'test/completion_test.js',
    'test/formatting_test.js',
    'test/function_test.js',
    'test/highlighting_test.js',
    'test/lexer_test.js',
    'test/module_resolver_test.js',
    'test/namespace_test.js',
    'test/parser_test.js',
    'test/variable_test.js'
]
vows bin options {
    reporter: 'dot-matrix',
    matcher: /.*/
}
vows runner loading [
    '/config/workspace/xqlint/test/apb',
    '/config/workspace/xqlint/test/apb2',
    '/config/workspace/xqlint/test/completion_test',
    '/config/workspace/xqlint/test/formatting_test',
    '/config/workspace/xqlint/test/function_test',
    '/config/workspace/xqlint/test/highlighting_test',
    '/config/workspace/xqlint/test/lexer_test',
    '/config/workspace/xqlint/test/module_resolver_test',
    '/config/workspace/xqlint/test/namespace_test',
    '/config/workspace/xqlint/test/parser_test',
    '/config/workspace/xqlint/test/variable_test'
]
48  Number of proposals
[]
[
   {
      "type": "lparen",
      "value": "("
   },
   {
      "type": "constant",
      "value": "1"
   },
   {
      "type": "text",
      "value": " "
   },
   {
      "type": "keyword",
      "value": "to"
   },
   {
      "type": "text",
      "value": " "
   },
   {
      "type": "constant",
      "value": "3"
   },
   {
      "type": "rparen",
      "value": ")"
   },
   {
      "type": "text",
      "value": "=>"
   },
   {
      "type": "constant",
      "value": "6"
   }
]
vows runner running Test Code Completion ···✗✗·✗✗·✗✗✗✗✗···✗resolve:  http://www.w3.org/2005/xpath-functions
resolve:  http://www.w3.org/2005/xpath-functions/array
resolve:  http://www.w3.org/2005/xpath-functions/map
resolve:  http://www.w3.org/2005/xpath-functions/math
resolve:  http://basex.org/modules/admin
resolve:  http://basex.org/modules/archive
resolve:  http://basex.org/modules/client
resolve:  http://basex.org/modules/convert
resolve:  http://basex.org/modules/csv
resolve:  http://basex.org/modules/inspect
resolve:  http://basex.org/modules/db
resolve:  http://basex.org/modules/fetch
resolve:  http://basex.org/modules/ft
resolve:  http://basex.org/modules/hash
resolve:  http://basex.org/modules/hof
resolve:  http://basex.org/modules/html
resolve:  http://basex.org/modules/index
resolve:  http://basex.org/modules/jobs
resolve:  http://basex.org/modules/json
resolve:  http://basex.org/modules/lazy
resolve:  http://basex.org/modules/out
resolve:  http://basex.org/modules/proc
resolve:  http://basex.org/modules/prof
resolve:  http://basex.org/modules/random
resolve:  http://basex.org/modules/repo
resolve:  http://basex.org/modules/session
resolve:  http://basex.org/modules/sessions
resolve:  http://basex.org/modules/sql
resolve:  http://basex.org/modules/strings
resolve:  http://basex.org/modules/unit
resolve:  http://basex.org/modules/update
resolve:  http://basex.org/modules/user
resolve:  http://basex.org/modules/util
resolve:  http://basex.org/modules/validate
resolve:  http://basex.org/modules/web
resolve:  http://basex.org/modules/ws
resolve:  http://basex.org/modules/xslt
resolve:  http://basex.org/modules/xquery
resolve:  http://expath.org/ns/binary
resolve:  http://expath.org/ns/crypto
resolve:  http://expath.org/ns/file
resolve:  http://expath.org/ns/geo
resolve:  http://expath.org/ns/http-client
resolve:  http://expath.org/ns/request
resolve:  http://expath.org/ns/rest
resolve:  http://expath.org/ns/zip
resolve:  http://www.28msec.com/modules/http-response
✗resolve:  http://www.w3.org/2005/xpath-functions
resolve:  http://www.w3.org/2005/xpath-functions/array
resolve:  http://www.w3.org/2005/xpath-functions/map
resolve:  http://www.w3.org/2005/xpath-functions/math
resolve:  http://basex.org/modules/admin
resolve:  http://basex.org/modules/archive
resolve:  http://basex.org/modules/client
resolve:  http://basex.org/modules/convert
resolve:  http://basex.org/modules/csv
resolve:  http://basex.org/modules/inspect
resolve:  http://basex.org/modules/db
resolve:  http://basex.org/modules/fetch
resolve:  http://basex.org/modules/ft
resolve:  http://basex.org/modules/hash
resolve:  http://basex.org/modules/hof
resolve:  http://basex.org/modules/html
resolve:  http://basex.org/modules/index
resolve:  http://basex.org/modules/jobs
resolve:  http://basex.org/modules/json
resolve:  http://basex.org/modules/lazy
resolve:  http://basex.org/modules/out
resolve:  http://basex.org/modules/proc
resolve:  http://basex.org/modules/prof
resolve:  http://basex.org/modules/random
resolve:  http://basex.org/modules/repo
resolve:  http://basex.org/modules/session
resolve:  http://basex.org/modules/sessions
resolve:  http://basex.org/modules/sql
resolve:  http://basex.org/modules/strings
resolve:  http://basex.org/modules/unit
resolve:  http://basex.org/modules/update
resolve:  http://basex.org/modules/user
resolve:  http://basex.org/modules/util
resolve:  http://basex.org/modules/validate
resolve:  http://basex.org/modules/web
resolve:  http://basex.org/modules/ws
resolve:  http://basex.org/modules/xslt
resolve:  http://basex.org/modules/xquery
resolve:  http://expath.org/ns/binary
resolve:  http://expath.org/ns/crypto
resolve:  http://expath.org/ns/file
resolve:  http://expath.org/ns/geo
resolve:  http://expath.org/ns/http-client
resolve:  http://expath.org/ns/request
resolve:  http://expath.org/ns/rest
resolve:  http://expath.org/ns/zip
resolve:  http://www.28msec.com/modules/http-response
·resolve:  http://www.w3.org/2005/xpath-functions
resolve:  http://www.w3.org/2005/xpath-functions/array
resolve:  http://www.w3.org/2005/xpath-functions/map
resolve:  http://www.w3.org/2005/xpath-functions/math
resolve:  http://basex.org/modules/admin
resolve:  http://basex.org/modules/archive
resolve:  http://basex.org/modules/client
resolve:  http://basex.org/modules/convert
resolve:  http://basex.org/modules/csv
resolve:  http://basex.org/modules/inspect
resolve:  http://basex.org/modules/db
resolve:  http://basex.org/modules/fetch
resolve:  http://basex.org/modules/ft
resolve:  http://basex.org/modules/hash
resolve:  http://basex.org/modules/hof
resolve:  http://basex.org/modules/html
resolve:  http://basex.org/modules/index
resolve:  http://basex.org/modules/jobs
resolve:  http://basex.org/modules/json
resolve:  http://basex.org/modules/lazy
resolve:  http://basex.org/modules/out
resolve:  http://basex.org/modules/proc
resolve:  http://basex.org/modules/prof
resolve:  http://basex.org/modules/random
resolve:  http://basex.org/modules/repo
resolve:  http://basex.org/modules/session
resolve:  http://basex.org/modules/sessions
resolve:  http://basex.org/modules/sql
resolve:  http://basex.org/modules/strings
resolve:  http://basex.org/modules/unit
resolve:  http://basex.org/modules/update
resolve:  http://basex.org/modules/user
resolve:  http://basex.org/modules/util
resolve:  http://basex.org/modules/validate
resolve:  http://basex.org/modules/web
resolve:  http://basex.org/modules/ws
resolve:  http://basex.org/modules/xslt
resolve:  http://basex.org/modules/xquery
resolve:  http://expath.org/ns/binary
resolve:  http://expath.org/ns/crypto
resolve:  http://expath.org/ns/file
resolve:  http://expath.org/ns/geo
resolve:  http://expath.org/ns/http-client
resolve:  http://expath.org/ns/request
resolve:  http://expath.org/ns/rest
resolve:  http://expath.org/ns/zip
resolve:  http://www.28msec.com/modules/http-response
·✗✗·  
  vows runner running Test Code Formatting ··  
  vows runner running Test Function declarations ·····  
  vows runner running Test Syntax Highlighting ··  
  vows runner running Test Module URI Resolver ·········✗✗·····resolve:  http://www.w3.org/2005/xpath-functions
resolve:  http://www.w3.org/2005/xpath-functions/array
resolve:  http://www.w3.org/2005/xpath-functions/map
resolve:  http://www.w3.org/2005/xpath-functions/math
resolve:  http://basex.org/modules/admin
resolve:  http://basex.org/modules/archive
resolve:  http://basex.org/modules/client
resolve:  http://basex.org/modules/convert
resolve:  http://basex.org/modules/csv
resolve:  http://basex.org/modules/inspect
resolve:  http://basex.org/modules/db
resolve:  http://basex.org/modules/fetch
resolve:  http://basex.org/modules/ft
resolve:  http://basex.org/modules/hash
resolve:  http://basex.org/modules/hof
resolve:  http://basex.org/modules/html
resolve:  http://basex.org/modules/index
resolve:  http://basex.org/modules/jobs
resolve:  http://basex.org/modules/json
resolve:  http://basex.org/modules/lazy
resolve:  http://basex.org/modules/out
resolve:  http://basex.org/modules/proc
resolve:  http://basex.org/modules/prof
resolve:  http://basex.org/modules/random
resolve:  http://basex.org/modules/repo
resolve:  http://basex.org/modules/session
resolve:  http://basex.org/modules/sessions
resolve:  http://basex.org/modules/sql
resolve:  http://basex.org/modules/strings
resolve:  http://basex.org/modules/unit
resolve:  http://basex.org/modules/update
resolve:  http://basex.org/modules/user
resolve:  http://basex.org/modules/util
resolve:  http://basex.org/modules/validate
resolve:  http://basex.org/modules/web
resolve:  http://basex.org/modules/ws
resolve:  http://basex.org/modules/xslt
resolve:  http://basex.org/modules/xquery
resolve:  http://expath.org/ns/binary
resolve:  http://expath.org/ns/crypto
resolve:  http://expath.org/ns/file
resolve:  http://expath.org/ns/geo
resolve:  http://expath.org/ns/http-client
resolve:  http://expath.org/ns/request
resolve:  http://expath.org/ns/rest
resolve:  http://expath.org/ns/zip
resolve:  http://xbrl.io/modules/bizql/profiles/sec/networks
··  
  vows runner running Test Namespace declarations ··············✗✗····  
  vows runner running Test Parser ·······✗···  
  vows runner running Test Variable declarations ·······················  
  vows runner finish 

      ✗ test var (4) 
        » Number of proposals // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test expr (1) 
        » Number of proposals // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test expr (3) 
        » Number of proposals // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test namespaces (1) 
        » Number of proposals // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test namespaces (3) 
        » Number of proposals // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test namespaces (4) 
        » Number of proposals // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test prefixes (1) 
        » Number of proposals // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test functions (1) 
        » Number of proposals // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test functions (2) 
        » Number of proposals // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test functions (5) 
        » Number of proposals // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test functions (6) 
        » Number of proposals // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test variables (1) 
        » Number of proposals // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test variables (2) 
        » Number of proposals // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test 11 
        » Number of warnings // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test 12 
        » Number of markers // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test unused namespace (4) 
        » Number of markers // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ test unused namespace (5) 
        » Number of errors // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 

      ✗ /config/workspace/xqlint/test/queries/update/fun.xq 
        » Check for static errors // /config/workspace/xqlint/node_modules/vows/lib/assert/macros.js:14 
  ✗ Broken » 87 honored ∙ 18 broken (4.628s) 
apb2006 commented 2 years ago

grunt vows

Running "vows:all" (vows) task
vows bin argv [
    'test/completion_test.js',
    'test/formatting_test.js',
    'test/function_test.js',
    'test/highlighting_test.js',
    'test/module_resolver_test.js',
    'test/namespace_test.js',
    'test/parser_test.js',
    'test/variable_test.js'
]
vows bin options {
    reporter: 'dot-matrix',
    matcher: /.*/
}
vows runner loading [
    'C:/Users/andy/git/xqlint/test/completion_test',
    'C:/Users/andy/git/xqlint/test/formatting_test',
    'C:/Users/andy/git/xqlint/test/function_test',
    'C:/Users/andy/git/xqlint/test/highlighting_test',
    'C:/Users/andy/git/xqlint/test/module_resolver_test',
    'C:/Users/andy/git/xqlint/test/namespace_test',
    'C:/Users/andy/git/xqlint/test/parser_test',
    'C:/Users/andy/git/xqlint/test/variable_test'
]
vows runner running Test Code Completion ···✗✗·✗✗·✗✗✗✗✗···✗✗··✗✗·  
  vows runner running Test Code Formatting ··
  vows runner running Test Function declarations ·····  
  vows runner running Test Syntax Highlighting ✗✗
  vows runner running Test Module URI Resolver ✗✗·········[
  {
    pos: { sl: 4, sc: 11, el: 4, ec: 21 },
    type: 'error',
    level: 'error',
    message: '[XPST0008] "chars#1": undeclared function'
  }
]
✗·······  
  vows runner running Test Namespace declarations ···✗········✗·✗✗····  
  vows runner running Test Parser ···········
  vows runner running Test Variable declarations ·······················  
  vows runner finish

      ✗ test var (4)
        » Number of proposals // C:\Users\andy\git\xqlint\node_modules\vows\lib\assert\macros.js:14

      ✗ test expr (1)
        » Number of proposals // C:\Users\andy\git\xqlint\node_modules\vows\lib\assert\macros.js:14

      ✗ test expr (3)
        » Number of proposals // C:\Users\andy\git\xqlint\node_modules\vows\lib\assert\macros.js:14

      ✗ test namespaces (1)
        » Number of proposals // C:\Users\andy\git\xqlint\node_modules\vows\lib\assert\macros.js:14

      ✗ test namespaces (3)
        » Number of proposals // C:\Users\andy\git\xqlint\node_modules\vows\lib\assert\macros.js:14

      ✗ test namespaces (4)
        » Number of proposals // C:\Users\andy\git\xqlint\node_modules\vows\lib\assert\macros.js:14

      ✗ test prefixes (1)
        » Number of proposals // C:\Users\andy\git\xqlint\node_modules\vows\lib\assert\macros.js:14

      ✗ test functions (1)
        » Number of proposals // C:\Users\andy\git\xqlint\node_modules\vows\lib\assert\macros.js:14

      ✗ test functions (2)
        » Number of proposals // C:\Users\andy\git\xqlint\node_modules\vows\lib\assert\macros.js:14

      ✗ test functions (5)
        » Number of proposals // C:\Users\andy\git\xqlint\node_modules\vows\lib\assert\macros.js:14

      ✗ test functions (6)
        » Number of proposals // C:\Users\andy\git\xqlint\node_modules\vows\lib\assert\macros.js:14

      ✗ test variables (1)
        » Number of proposals // C:\Users\andy\git\xqlint\node_modules\vows\lib\assert\macros.js:14

      ✗ test variables (2)
        » Number of proposals // C:\Users\andy\git\xqlint\node_modules\vows\lib\assert\macros.js:14

      ✗ test: Comments
      TypeError: input.charCodeAt is not a function 
      at match (C:\Users\andy\git\xqlint\lib\lexers\XQueryTokenizer.js:1515:39)
      at matchW (C:\Users\andy\git\xqlint\lib\lexers\XQueryTokenizer.js:1460:14)
      at lookahead1W (C:\Users\andy\git\xqlint\lib\lexers\XQueryTokenizer.js:1473:12)
      at XQueryTokenizer.parse_start (C:\Users\andy\git\xqlint\lib\lexers\XQueryTokenizer.js:114:5)
      at exports.Lexer.getLineTokens (C:\Users\andy\git\xqlint\lib\lexers\lexer.js:45:51)
      at Object.test: Comments (C:\Users\andy\git\xqlint\test\highlighting_test.js:32:28)
      at runTest (C:\Users\andy\git\xqlint\node_modules\vows\lib\vows.js:136:26)
      at EventEmitter.<anonymous> (C:\Users\andy\git\xqlint\node_modules\vows\lib\vows.js:81:9)
      at EventEmitter.emit (node:events:538:35)
      at EventEmitter.options.Emitter.emit (C:\Users\andy\git\xqlint\node_modules\vows\lib\vows.js:241:24) 

      ✗ test: bug fix (2)
      TypeError: input.charCodeAt is not a function 
      at match (C:\Users\andy\git\xqlint\lib\lexers\XQueryTokenizer.js:1515:39)
      at matchW (C:\Users\andy\git\xqlint\lib\lexers\XQueryTokenizer.js:1460:14)
      at lookahead1W (C:\Users\andy\git\xqlint\lib\lexers\XQueryTokenizer.js:1473:12)
      at XQueryTokenizer.parse_start (C:\Users\andy\git\xqlint\lib\lexers\XQueryTokenizer.js:114:5)
      at exports.Lexer.getLineTokens (C:\Users\andy\git\xqlint\lib\lexers\lexer.js:45:51)
      at Object.test: bug fix (2) (C:\Users\andy\git\xqlint\test\highlighting_test.js:75:28)
      at runTest (C:\Users\andy\git\xqlint\node_modules\vows\lib\vows.js:136:26)
      at EventEmitter.<anonymous> (C:\Users\andy\git\xqlint\node_modules\vows\lib\vows.js:81:9)
      at EventEmitter.emit (node:events:538:35)
      at EventEmitter.options.Emitter.emit (C:\Users\andy\git\xqlint\node_modules\vows\lib\vows.js:241:24) 

      ✗ test 1
      ReferenceError: sctx is not defined 
      at Object.test 1 (C:\Users\andy\git\xqlint\test\module_resolver_test.js:13:117)
      at runTest (C:\Users\andy\git\xqlint\node_modules\vows\lib\vows.js:136:26)
      at EventEmitter.<anonymous> (C:\Users\andy\git\xqlint\node_modules\vows\lib\vows.js:81:9)
      at EventEmitter.emit (node:events:538:35)
      at EventEmitter.options.Emitter.emit (C:\Users\andy\git\xqlint\node_modules\vows\lib\vows.js:241:24)
      at C:\Users\andy\git\xqlint\node_modules\vows\lib\vows\suite.js:170:45
      at processTicksAndRejections (node:internal/process/task_queues:78:11) 

      ✗ test 1a
      ReferenceError: sctx is not defined 
      at Object.test 1a (C:\Users\andy\git\xqlint\test\module_resolver_test.js:18:135)
      at runTest (C:\Users\andy\git\xqlint\node_modules\vows\lib\vows.js:136:26)
      at EventEmitter.<anonymous> (C:\Users\andy\git\xqlint\node_modules\vows\lib\vows.js:81:9)
      at EventEmitter.emit (node:events:538:35)
      at EventEmitter.options.Emitter.emit (C:\Users\andy\git\xqlint\node_modules\vows\lib\vows.js:241:24)
      at C:\Users\andy\git\xqlint\node_modules\vows\lib\vows\suite.js:170:45
      at processTicksAndRejections (node:internal/process/task_queues:78:11) 

      ✗ test 12
        » Number of markers // C:\Users\andy\git\xqlint\node_modules\vows\lib\assert\macros.js:14

      ✗ test XQST0047 (4)
        » Number of markers // C:\Users\andy\git\xqlint\node_modules\vows\lib\assert\macros.js:14

      ✗ test unused namespace (2)
        » Number of markers // C:\Users\andy\git\xqlint\node_modules\vows\lib\assert\macros.js:14

      ✗ test unused namespace (4)
        » Number of markers // C:\Users\andy\git\xqlint\node_modules\vows\lib\assert\macros.js:14

      ✗ test unused namespace (5)
        » Number of errors // C:\Users\andy\git\xqlint\node_modules\vows\lib\assert\macros.js:14
  ✗ Errored » 84 honored ∙ 18 broken ∙ 4 errored (0.528s)
apb2006 commented 1 year ago

88 honored ∙ 16 broken ∙ 2 errored (1.164s)

✗ test: Comments
      TypeError: input.charCodeAt is not a function 
      at match (C:\Users\andy\git\quodatum\xqlint\lib\lexers\XQueryTokenizer.js:1515:39)
      at matchW (C:\Users\andy\git\quodatum\xqlint\lib\lexers\XQueryTokenizer.js:1460:14)
      at lookahead1W (C:\Users\andy\git\quodatum\xqlint\lib\lexers\XQueryTokenizer.js:1473:12)
      at XQueryTokenizer.parse_start (C:\Users\andy\git\quodatum\xqlint\lib\lexers\XQueryTokenizer.js:114:5)
      at exports.Lexer.getLineTokens (C:\Users\andy\git\quodatum\xqlint\lib\lexers\lexer.js:45:51)
      at Object.test: Comments (C:\Users\andy\git\quodatum\xqlint\test\highlighting_test.js:32:28)
      at runTest (C:\Users\andy\git\quodatum\xqlint\node_modules\vows\lib\vows.js:136:26)
      at EventEmitter.<anonymous> (C:\Users\andy\git\quodatum\xqlint\node_modules\vows\lib\vows.js:81:9)
      at EventEmitter.emit (node:events:525:35)
      at EventEmitter.options.Emitter.emit (C:\Users\andy\git\quodatum\xqlint\node_modules\vows\lib\vows.js:241:24) 

      ✗ test: bug fix (2)
      TypeError: input.charCodeAt is not a function 
      at match (C:\Users\andy\git\quodatum\xqlint\lib\lexers\XQueryTokenizer.js:1515:39)
      at matchW (C:\Users\andy\git\quodatum\xqlint\lib\lexers\XQueryTokenizer.js:1460:14)
      at lookahead1W (C:\Users\andy\git\quodatum\xqlint\lib\lexers\XQueryTokenizer.js:1473:12)
      at XQueryTokenizer.parse_start (C:\Users\andy\git\quodatum\xqlint\lib\lexers\XQueryTokenizer.js:114:5)
      at exports.Lexer.getLineTokens (C:\Users\andy\git\quodatum\xqlint\lib\lexers\lexer.js:45:51)
      at Object.test: bug fix (2) (C:\Users\andy\git\quodatum\xqlint\test\highlighting_test.js:75:28)
      at runTest (C:\Users\andy\git\quodatum\xqlint\node_modules\vows\lib\vows.js:136:26)
      at EventEmitter.<anonymous> (C:\Users\andy\git\quodatum\xqlint\node_modules\vows\lib\vows.js:81:9)
      at EventEmitter.emit (node:events:525:35)
      at EventEmitter.options.Emitter.emit (C:\Users\andy\git\quodatum\xqlint\node_modules\vows\lib\vows.js:241:24) 

      ✗ test XQST0047 (4)
        » Number of markers // C:\Users\andy\git\quodatum\xqlint\node_modules\vows\lib\assert\macros.js:14

      ✗ test unused namespace (2)
        » Number of markers // C:\Users\andy\git\quodatum\xqlint\node_modules\vows\lib\assert\macros.js:14

      ✗ test unused namespace (4)
        » Number of markers // C:\Users\andy\git\quodatum\xqlint\node_modules\vows\lib\assert\macros.js:14

      ✗ test unused namespace (5)
        » Number of errors // C:\Users\andy\git\quodatum\xqlint\node_modules\vows\lib\assert\macros.js:14
  ✗ Errored » 88 honored ∙ 16 broken ∙ 2 errored (1.164s)
apb2006 commented 1 year ago

Seems to be a vows issue running highlighting_test.js with other tests.

vows test\highlighting_test.js --dot-matrix 
··  
  ✓ OK » 2 honored (0.010s) 
apb2006 commented 1 year ago

93 honored ∙ 11 broken (1.068s) - broken are all completer tests

grunt vows
Running "vows:all" (vows) task
vows bin argv [
    'test/completion_test.js',
    'test/formatting_test.js',
    'test/function_test.js',
    'test/module_resolver_test.js',
    'test/namespace_test.js',
    'test/parser_test.js',
    'test/variable_test.js'
]
vows bin options {
    reporter: 'dot-matrix',
    matcher: /.*/
}
vows runner loading [
    'C:/Users/andy/git/quodatum/xqlint/test/completion_test',
    'C:/Users/andy/git/quodatum/xqlint/test/formatting_test',
    'C:/Users/andy/git/quodatum/xqlint/test/function_test',
    'C:/Users/andy/git/quodatum/xqlint/test/module_resolver_test',
    'C:/Users/andy/git/quodatum/xqlint/test/namespace_test',
    'C:/Users/andy/git/quodatum/xqlint/test/parser_test',
    'C:/Users/andy/git/quodatum/xqlint/test/variable_test'
]
vows runner running Test Code Completion ······✗✗·✗✗✗✗✗···✗✗··✗✗·  
  vows runner running Test Code Formatting ··  
  vows runner running Test Function declarations ·····  
  vows runner running Test Module URI Resolver ···········[]
········  
  vows runner running Test Namespace declarations ····················  
  vows runner running Test Parser ···········  
  vows runner running Test Variable declarations ·······················  
  vows runner finish

      ✗ test expr (3)
        » Number of proposals // C:\Users\andy\git\quodatum\xqlint\node_modules\vows\lib\assert\macros.js:14   

      ✗ test namespaces (1)
        » Number of proposals // C:\Users\andy\git\quodatum\xqlint\node_modules\vows\lib\assert\macros.js:14   

      ✗ test namespaces (3)
        » Number of proposals // C:\Users\andy\git\quodatum\xqlint\node_modules\vows\lib\assert\macros.js:14   

      ✗ test namespaces (4)
        » Number of proposals // C:\Users\andy\git\quodatum\xqlint\node_modules\vows\lib\assert\macros.js:14   

      ✗ test prefixes (1)
        » Number of proposals // C:\Users\andy\git\quodatum\xqlint\node_modules\vows\lib\assert\macros.js:14   

      ✗ test functions (1)
        » Number of proposals // C:\Users\andy\git\quodatum\xqlint\node_modules\vows\lib\assert\macros.js:14   

      ✗ test functions (2)
        » Number of proposals // C:\Users\andy\git\quodatum\xqlint\node_modules\vows\lib\assert\macros.js:14   

      ✗ test functions (5)
        » Number of proposals // C:\Users\andy\git\quodatum\xqlint\node_modules\vows\lib\assert\macros.js:14   

      ✗ test functions (6)
        » Number of proposals // C:\Users\andy\git\quodatum\xqlint\node_modules\vows\lib\assert\macros.js:14   

      ✗ test variables (1)
        » Number of proposals // C:\Users\andy\git\quodatum\xqlint\node_modules\vows\lib\assert\macros.js:14   

      ✗ test variables (2)
        » Number of proposals // C:\Users\andy\git\quodatum\xqlint\node_modules\vows\lib\assert\macros.js:14   
  ✗ Broken » 93 honored ∙ 11 broken (1.068s)
  Warning: Task "vows:all" failed. Use --force to continue.

Aborted due to warnings.
apb2006 commented 1 year ago
      ✗ test functions (1)
        » Number of proposals // C:\Users\andy\git\quodatum\xqlint\node_modules\vows\lib\assert\macros.js:14

      ✗ test functions (2)
        » Number of proposals // C:\Users\andy\git\quodatum\xqlint\node_modules\vows\lib\assert\macros.js:14

      ✗ test functions (5)
        » Number of proposals // C:\Users\andy\git\quodatum\xqlint\node_modules\vows\lib\assert\macros.js:14

      ✗ test functions (6)
        » Number of proposals // C:\Users\andy\git\quodatum\xqlint\node_modules\vows\lib\assert\macros.js:14

      ✗ test variables (1)
        » Number of proposals // C:\Users\andy\git\quodatum\xqlint\node_modules\vows\lib\assert\macros.js:14

      ✗ test variables (2)
        » Number of proposals // C:\Users\andy\git\quodatum\xqlint\node_modules\vows\lib\assert\macros.js:14

      ✗ test 12
        » Number of markers // C:\Users\andy\git\quodatum\xqlint\node_modules\vows\lib\assert\macros.js:14
  ✗ Broken » 98 honored ∙ 7 broken (0.995s)
apb2006 commented 1 year ago
vows -v
vows bin argv []
vows bin options {
    reporter: 'dot-matrix',
    matcher: /.*/
}
vows bin discovering folder structure
vows bin discovered ./test
vows runner loading [
    'C:/Users/andy/git/quodatum/xqlint/test/completion_test',
    'C:/Users/andy/git/quodatum/xqlint/test/function_test',
    'C:/Users/andy/git/quodatum/xqlint/test/module_resolver_test',
    'C:/Users/andy/git/quodatum/xqlint/test/namespace_test',
    'C:/Users/andy/git/quodatum/xqlint/test/parser_test',
    'C:/Users/andy/git/quodatum/xqlint/test/stylecheck_test',
    'C:/Users/andy/git/quodatum/xqlint/test/syntax_test',
    'C:/Users/andy/git/quodatum/xqlint/test/variable_test'
]
vows runner running Test Code Completion ·······················  
  vows runner running Test Function declarations ·····  
  vows runner running Test Module URI Resolver ···········TEST12 []
········  
  vows runner running Test Namespace declarations ····················  
  vows runner running Test Parser ···········  
  vows runner running Test Code Formatting ··  
  vows runner running StringConstructor ·
  vows runner running Test Variable declarations ·······················  
  vows runner finish
✓ OK » 104 honored (1.041s)