PS F:\Development\projects\license_checker> fvm dart test
00:00 +0: loading test\lib\src\check_license_test.dart
00:00 +0: test\lib\src\check_license_test.dart: Check License should check the license and return the display for one package
00:00 +1: test\lib\src\check_license_test.dart: Check License should check the license of all dependencies of a package
00:00 +2: test\lib\src\check_license_test.dart: Check License should check the license of all dependencies of a package
00:00 +3: test\lib\src\check_license_test.dart: Check License should check the license of all dependencies of a package
00:00 +4: test\lib\src\check_license_test.dart: Check License should check the license of all dependencies of a package
00:00 +4: test\lib\src\commands\utils_test.dart: Load Config should properly load config
Loading config from test/lib/src/fixtures/valid_config.yaml ...
00:00 +5: test\lib\src\commands\utils_test.dart: Load Config should properly load config
00:00 +6: test\lib\src\commands\utils_test.dart: Load Config should properly load config
00:00 +7: test\lib\src\commands\utils_test.dart: Load Config should properly load config
00:00 +8: test\lib\src\commands\utils_test.dart: Load Config should properly load config
00:00 +9: test\lib\src\commands\utils_test.dart: Load Config should properly load config
00:00 +10: test\lib\src\commands\utils_test.dart: Load Config should properly load config
00:00 +11: test\lib\src\config_test.dart: No config file found
00:00 +11: test\lib\src\commands\utils_test.dart: Load Config should return null if config can not be loaded due to invalid format
Loading config from test/lib/src/fixtures/invalid_permitted_config.yaml ...
`permittedLicenses` is not defined as a list
00:00 +12: test\lib\src\config_test.dart: No config file found
00:00 +12: test\lib\src\commands\utils_test.dart: Load Config should return null if config can not be loaded because the file does not exist
Loading config from test/lib/src/fixtures/nonexistant_file.yaml ...
test/lib/src/fixtures/nonexistant_file.yaml file not found in current directory.
00:00 +13: test\lib\src\config_test.dart: No config file found
00:00 +14: test\lib\src\config_test.dart: Valid Config Parse minimal valid config
00:00 +15: test\lib\src\config_test.dart: Valid Config Parse valid config with everything defined
00:00 +16: test\lib\src\config_test.dart: Valid Config Parse valid config with no rejected licenses
00:00 +17: test\lib\src\config_test.dart: Valid Config Parse valid config and ignore non string licenses
00:00 +18: test\lib\src\config_test.dart: Valid Config Parse valid config with copyright notice overrides
00:00 +19: test\lib\src\config_test.dart: Valid Config Parse valid config with license overrides
00:00 +20: test\lib\src\config_test.dart: Valid Config Parse valid config with source overrides
00:00 +21: test\lib\src\config_test.dart: Invalid Config throw format exception on invalid permitted license config
00:00 +22: test\lib\src\dependency_checker_test.dart: General tests should get the package name from Package
00:00 +23: test\lib\src\dependency_checker_test.dart: General tests should get the package name from Package
00:00 +24: test\lib\src\dependency_checker_test.dart: General tests should get the package name from Package
00:00 +25: test\lib\src\dependency_checker_test.dart: General tests should get the package name from Package
00:00 +26: test\lib\src\dependency_checker_test.dart: General tests should get the package name from Package
00:00 +27: test\lib\src\dependency_checker_test.dart: General tests should get the package name from Package
00:00 +28: test\lib\src\dependency_checker_test.dart: General tests should get the package name from Package
00:00 +29: test\lib\src\dependency_checker_test.dart: General tests should get the package name from Package
00:00 +30: test\lib\src\dependency_checker_test.dart: General tests should get the package name from Package
00:00 +31: test\lib\src\dependency_checker_test.dart: General tests should get the package name from Package
00:00 +32: test\lib\src\dependency_checker_test.dart: General tests should get the package name from Package
00:00 +33: test\lib\src\dependency_checker_test.dart: General tests should get the package name from Package
00:00 +34: test\lib\src\dependency_checker_test.dart: General tests should get the package name from Package
00:00 +35: test\lib\src\dependency_checker_test.dart: General tests should get the package name from Package
00:00 +36: test\lib\src\config_test.dart: Invalid Config throw format exception when package source override is not defined with string values
00:00 +37: test\lib\src\dependency_checker_test.dart: General tests should get a license file
00:00 +38: test\lib\src\dependency_checker_test.dart: General tests should get a license file
00:00 +38 -1: test\lib\src\format_test.dart: Colorize formatting functions should color no license info as gray with blue background
00:00 +39 -1: test\lib\src\format_test.dart: Colorize formatting functions should color needs approval in yellow
00:00 +40 -1: test\lib\src\format_test.dart: Colorize formatting functions should color approved in green
00:00 +41 -1: test\lib\src\format_test.dart: Colorize formatting functions should color rejected in red
00:00 +42 -1: test\lib\src\format_test.dart: Colorize formatting functions should color unknown source in red
00:00 +43 -1: test\lib\src\format_test.dart: Colorize formatting functions should color known source in default style
00:00 +44 -1: test\lib\src\format_test.dart: Colorize formatting functions should color unknown copyright in red
00:00 +45 -1: test\lib\src\format_test.dart: Colorize formatting functions should color known copyright in default style
00:00 +46 -1: test\lib\src\format_test.dart: Colorize formatting functions should color permitted license name in green
00:00 +47 -1: test\lib\src\format_test.dart: Colorize formatting functions should color approved license name in green
00:00 +48 -1: test\lib\src\format_test.dart: Colorize formatting functions should color rejected license name in red
00:00 +49 -1: test\lib\src\format_test.dart: Colorize formatting functions should color unknown license name in red
00:00 +50 -1: test\lib\src\format_test.dart: Colorize formatting functions should color no license in gray with blue background with proper text
00:00 +51 -1: test\lib\src\format_test.dart: Colorize formatting functions should color license name that needs approval in yellow
00:00 +52 -1: test\lib\src\format_test.dart: License table formatting should properly format a row
00:00 +53 -1: test\lib\src\format_test.dart: License table formatting should properly format the table
00:00 +54 -1: test\lib\src\format_test.dart: Disclaimer table formatting should properly format a row
00:00 +54 -1: test\lib\src\dependency_checker_test.dart: General tests should get a license file [E]
Expected: 'F:\\Development\\projects\\license_checker/test/lib/src/fixtures/dodgers/LICENSE'
Actual: 'F:\\Development\\projects\\license_checker\\test\\lib\\src\\fixtures\\dodgers\\LICENSE'
Which: is different.
Expected: ... se_checker/test/lib/ ...
Actual: ... se_checker\\test\\li ...
^
Differ at offset 42
package:matcher expect
test\lib\src\dependency_checker_test.dart 88:9 main.<fn>.<fn>
00:00 +55 -1: test\lib\src\dependency_checker_test.dart: General tests should get the license name
00:00 +56 -1: test\lib\src\dependency_checker_test.dart: General tests should get the license name
00:00 +57 -1: test\lib\src\dependency_checker_test.dart: General tests should get the license name
00:00 +58 -1: test\lib\src\dependency_checker_test.dart: General tests should get the license name
00:00 +59 -1: test\lib\src\dependency_checker_test.dart: General tests should get the license name
00:00 +60 -1: test\lib\src\dependency_checker_test.dart: General tests should get the license name
00:00 +61 -1: test\lib\src\dependency_checker_test.dart: General tests should get the license name
00:00 +62 -1: test\lib\src\dependency_checker_test.dart: General tests should get the license name
00:00 +63 -1: test\lib\src\dependency_checker_test.dart: General tests should get the license name
00:00 +64 -1: test\lib\src\dependency_checker_test.dart: General tests should get the license name
00:00 +65 -1: test\lib\src\dependency_checker_test.dart: General tests should get the license name
00:00 +66 -1: test\lib\src\dependency_checker_test.dart: General tests should get the license name
00:00 +67 -1: test\lib\src\dependency_checker_test.dart: General tests should get the license name
00:00 +68 -1: test\lib\src\dependency_checker_test.dart: General tests should get the license name
00:00 +69 -1: test\lib\src\dependency_checker_test.dart: General tests should get the license name
00:00 +70 -1: test\lib\src\dependency_checker_test.dart: General tests should get the license name
00:01 +71 -1: test\lib\src\dependency_checker_test.dart: General tests should get the license status based on the config
00:01 +72 -1: test\lib\src\dependency_checker_test.dart: General tests should extract the copyright from the license
00:01 +72 -2: test\lib\src\dependency_checker_test.dart: General tests should extract the copyright from the license [E]
Expected: '2022 Los Angeles'
Actual: 'unknown-copyright'
Which: is different.
Expected: 2022 Los A ...
Actual: unknown-co ...
^
Differ at offset 0
package:matcher expect
test\lib\src\dependency_checker_test.dart 88:9 main.<fn>.<fn>
00:01 +72 -2: test\lib\src\dependency_checker_test.dart: General tests should return the location of the source
00:01 +73 -2: test\lib\src\dependency_checker_test.dart: No license file should get the package name from Package
00:01 +74 -2: test\lib\src\dependency_checker_test.dart: No license file should return that no file was found
00:01 +75 -2: test\lib\src\dependency_checker_test.dart: No license file should return no-file as the license name
00:01 +76 -2: test\lib\src\dependency_checker_test.dart: No license file should return no license as the status
00:01 +77 -2: test\lib\src\dependency_checker_test.dart: No license file should return unknown-copyright
00:01 +78 -2: test\lib\src\dependency_checker_test.dart: No license file should return the location of the source
00:01 +79 -2: test\lib\src\dependency_checker_test.dart: Unknown license file should get the package name from Package
00:01 +80 -2: test\lib\src\dependency_checker_test.dart: Unknown license file should return the license file
00:01 +80 -3: test\lib\src\dependency_checker_test.dart: Unknown license file should return the license file [E]
Expected: 'F:\\Development\\projects\\license_checker/test/lib/src/fixtures/mets/LICENSE'
Actual: 'F:\\Development\\projects\\license_checker\\test\\lib\\src\\fixtures\\mets\\LICENSE'
Which: is different.
Expected: ... se_checker/test/lib/ ...
Actual: ... se_checker\\test\\li ...
^
Differ at offset 42
package:matcher expect
test\lib\src\dependency_checker_test.dart 226:9 main.<fn>.<fn>
00:01 +80 -3: test\lib\src\dependency_checker_test.dart: Unknown license file should return unknown-license as license name
00:01 +81 -3: test\lib\src\dependency_checker_test.dart: Unknown license file should return that this package has unknown license status
00:01 +82 -3: test\lib\src\dependency_checker_test.dart: Unknown license file should return that this package has approved license status
00:01 +83 -3: test\lib\src\dependency_checker_test.dart: Approved Package should get the package name from Package
00:01 +84 -3: test\lib\src\dependency_checker_test.dart: Approved Package should return the license file
00:01 +84 -4: test\lib\src\dependency_checker_test.dart: Approved Package should return the license file [E]
Expected: 'F:\\Development\\projects\\license_checker/test/lib/src/fixtures/mlb/LICENSE'
Actual: 'F:\\Development\\projects\\license_checker\\test\\lib\\src\\fixtures\\mlb\\LICENSE'
Which: is different.
Expected: ... se_checker/test/lib/ ...
Actual: ... se_checker\\test\\li ...
^
Differ at offset 42
package:matcher expect
test\lib\src\dependency_checker_test.dart 314:9 main.<fn>.<fn>
00:01 +84 -4: test\lib\src\dependency_checker_test.dart: Approved Package should return the license name
00:01 +85 -4: test\lib\src\dependency_checker_test.dart: Approved Package should return that this particular package was explicitly approved
00:01 +86 -4: test\lib\src\dependency_checker_test.dart: Approved Package should return parsed copyright (the license copyright that needs to be corrected)
00:01 +86 -5: test\lib\src\dependency_checker_test.dart: Approved Package should return parsed copyright (the license copyright that needs to be corrected) [E]
Expected: '1989 Free Software Foundation, Inc.'
Actual: 'unknown-copyright'
Which: is different.
Expected: 1989 Free ...
Actual: unknown-co ...
^
Differ at offset 0
package:matcher expect
test\lib\src\dependency_checker_test.dart 314:9 main.<fn>.<fn>
00:01 +86 -5: test\lib\src\dependency_checker_test.dart: Approved Package should return unknown-source as the source location
00:01 +87 -5: test\lib\src\dependency_checker_test.dart: Approved Package should return needs approval, if a previously approved package change it's license
00:01 +88 -5: test\lib\src\dependency_checker_test.dart: Not a package with pubspec.yaml should get the package name from Package
00:01 +89 -5: test\lib\src\dependency_checker_test.dart: Not a package with pubspec.yaml should return the license file
00:01 +89 -6: test\lib\src\dependency_checker_test.dart: Not a package with pubspec.yaml should return the license file [E]
Expected: 'F:\\Development\\projects\\license_checker/test/lib/src/fixtures/padres/LICENSE'
Actual: 'F:\\Development\\projects\\license_checker\\test\\lib\\src\\fixtures\\padres\\LICENSE'
Which: is different.
Expected: ... se_checker/test/lib/ ...
Actual: ... se_checker\\test\\li ...
^
Differ at offset 42
package:matcher expect
test\lib\src\dependency_checker_test.dart 384:9 main.<fn>.<fn>
00:01 +89 -6: test\lib\src\dependency_checker_test.dart: Not a package with pubspec.yaml should return the license name
00:01 +90 -6: test\lib\src\dependency_checker_test.dart: Not a package with pubspec.yaml should return that this license is rejected
00:01 +91 -6: test\lib\src\dependency_checker_test.dart: Not a package with pubspec.yaml should return unknown-copyright
00:01 +92 -6: test\lib\src\dependency_checker_test.dart: Not a package with pubspec.yaml should throw an exception for pubspec.yaml file
00:01 +93 -6: Some tests failed.
Consider enabling the flag chain-stack-traces to receive more detailed exceptions.
For example, 'dart test --chain-stack-traces'.
PS F:\Development\projects\license_checker>
When running
dart testwith Dart 3.1.0 on Windows I get the following 6 test failures:Test logs