Skip to content

Add API validation

Add API validation #3

GitHub Actions / Test Results (Test Files) succeeded Nov 30, 2023 in 0s

13 parse errors, 11 errors, 210 fail, 73 skipped, 1 517 pass in 2h 12m 37s

   145 files       13 errors  735 suites   2h 12m 37s ⏱️
1 811 tests 1 517 ✔️   73 💤 210  11 🔥
4 117 runs  3 428 ✔️ 214 💤 454  21 🔥

Results for commit f55fc0e.

Annotations

Check failure on line 0 in test-files/json/malformed-json.json

See this annotation in the file changed.

@github-actions github-actions / Test Results (Test Files)

Error processing result file

Unsupported file format: test-files/json/malformed-json.json
Raw output
test-files/json/malformed-json.json

Check failure on line 0 in test-files/junit-xml/non-junit.xml

See this annotation in the file changed.

@github-actions github-actions / Test Results (Test Files)

Error processing result file

Unsupported file format: test-files/junit-xml/non-junit.xml
Raw output
test-files/junit-xml/non-junit.xml

Check failure on line 0 in test-files/json/non-json.json

See this annotation in the file changed.

@github-actions github-actions / Test Results (Test Files)

Error processing result file

Unsupported file format: test-files/json/non-json.json
Raw output
test-files/json/non-json.json

Check failure on line 0 in test-files/junit-xml/pytest/corrupt-xml.xml

See this annotation in the file changed.

@github-actions github-actions / Test Results (Test Files)

Error processing result file

Premature end of data in tag skipped line 9, line 11, column 22 (corrupt-xml.xml, line 11)
Raw output
test-files/junit-xml/pytest/corrupt-xml.xml

Check failure on line 0 in test-files/json/empty.json

See this annotation in the file changed.

@github-actions github-actions / Test Results (Test Files)

Error processing result file

File is empty.
Raw output
test-files/json/empty.json

Check failure on line 0 in test-files/nunit/nunit3/jenkins/NUnit-issue17521.xml

See this annotation in the file changed.

@github-actions github-actions / Test Results (Test Files)

Error processing result file

Char 0x0 out of allowed range, line 33, column 16 (NUnit-issue17521.xml, line 33)
Raw output
test-files/nunit/nunit3/jenkins/NUnit-issue17521.xml

Check failure on line 0 in test-files/nunit/nunit3/jenkins/NUnit-issue47367.xml

See this annotation in the file changed.

@github-actions github-actions / Test Results (Test Files)

Error processing result file

attributes construct error, line 5, column 109 (NUnit-issue47367.xml, line 5)
Raw output
test-files/nunit/nunit3/jenkins/NUnit-issue47367.xml

Check failure on line 0 in test-files/xml/empty.xml

See this annotation in the file changed.

@github-actions github-actions / Test Results (Test Files)

Error processing result file

File is empty.
Raw output
test-files/xml/empty.xml

Check failure on line 0 in test-files/xml/non-xml.xml

See this annotation in the file changed.

@github-actions github-actions / Test Results (Test Files)

Error processing result file

Unsupported file format: test-files/xml/non-xml.xml
Raw output
test-files/xml/non-xml.xml

Check failure on line 0 in test-files/junit-xml/non-junit.xml

See this annotation in the file changed.

@github-actions github-actions / Test Results (Test Files)

Error processing result file

Invalid format.
Raw output
test-files/junit-xml/non-junit.xml

Check failure on line 0 in test-files/junit-xml/pytest/corrupt-xml.xml

See this annotation in the file changed.

@github-actions github-actions / Test Results (Test Files)

Error processing result file

Premature end of data in tag skipped line 9, line 11, column 22 (corrupt-xml.xml, line 11)
Raw output
test-files/junit-xml/pytest/corrupt-xml.xml

Check failure on line 0 in test-files/nunit/nunit3/jenkins/NUnit-issue17521.xml

See this annotation in the file changed.

@github-actions github-actions / Test Results (Test Files)

Error processing result file

Char 0x0 out of allowed range, line 33, column 16 (NUnit-issue17521.xml, line 33)
Raw output
test-files/nunit/nunit3/jenkins/NUnit-issue17521.xml

Check failure on line 0 in test-files/nunit/nunit3/jenkins/NUnit-issue47367.xml

See this annotation in the file changed.

@github-actions github-actions / Test Results (Test Files)

Error processing result file

attributes construct error, line 5, column 109 (NUnit-issue47367.xml, line 5)
Raw output
test-files/nunit/nunit3/jenkins/NUnit-issue47367.xml

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results (Test Files)

All 2 runs failed: GetBrowsersTest.BrowserNamesTest1.FailTest("IE")

test-files/nunit/nunit3/jenkins/NUnit-issue5674.xml [took 0s]
Raw output
at GetBrowsersTest.BrowserNamesTest1.FailTest(String browser) in C:\Users\Samw\Documents\Visual Studio 2008\Projects\GetBrowsersTest\GetBrowsersTest\BrowserNamesTest1.cs:line 27

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results (Test Files)

All 2 runs failed: GetBrowsersTest.BrowserNamesTest1.FailTest("FireFox")

test-files/nunit/nunit3/jenkins/NUnit-issue5674.xml [took 0s]
Raw output
at GetBrowsersTest.BrowserNamesTest1.FailTest(String browser) in C:\Users\Samw\Documents\Visual Studio 2008\Projects\GetBrowsersTest\GetBrowsersTest\BrowserNamesTest1.cs:line 27

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results (Test Files)

All 2 runs failed: GetBrowsersTest.BrowserNamesTest1.FailTest("Safari")

test-files/nunit/nunit3/jenkins/NUnit-issue5674.xml [took 0s]
Raw output
at GetBrowsersTest.BrowserNamesTest1.FailTest(String browser) in C:\Users\Samw\Documents\Visual Studio 2008\Projects\GetBrowsersTest\GetBrowsersTest\BrowserNamesTest1.cs:line 27

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results (Test Files)

4 out of 14 runs failed: UnitTests.MainClassTest.TestPropertyValue

test-files/nunit/nunit3/jenkins/NUnit-sec1752-file.xml [took 0s]
test-files/nunit/nunit3/jenkins/NUnit-sec1752-https.xml [took 0s]

Check warning on line 21 in file:///home/runner/work/dart-code-metrics/dart-code-metrics/test/src/cli/cli_runner_test.dart

See this annotation in the file changed.

@github-actions github-actions / Test Results (Test Files)

Cli runner should have correct invocation failed

test-files/dart/json/tests.json [took 0s]
Raw output
Expected: 'metrics <command> [arguments] <directories> nope'
  Actual: 'metrics <command> [arguments] <directories>'
   Which: is different. Both strings start the same, but the actual value is missing the following trailing characters:  nope

package:test_api                        expect
test/src/cli/cli_runner_test.dart 22:7  main.<fn>.<fn>

Check failure on line 16 in file:///home/runner/work/dart-code-metrics/dart-code-metrics/test/src/cli/utils/detect_sdk_path_test.dart

See this annotation in the file changed.

@github-actions github-actions / Test Results (Test Files)

detectSdkPath should return `null` if running inside VM with error

test-files/dart/json/tests.json [took 0s]
Raw output
Exception: exception
test/src/cli/utils/detect_sdk_path_test.dart 21:7  main.<fn>.<fn>

Check failure on line 46 in file:///home/runner/work/dart-code-metrics/dart-code-metrics/test/src/cli/utils/detect_sdk_path_test.dart

See this annotation in the file changed.

@github-actions github-actions / Test Results (Test Files)

detectSdkPath should return null if sdk path is not found inside environment PATH variable with error

test-files/dart/json/tests.json [took 0s]
Raw output
Instance of 'Error'
test/src/cli/utils/detect_sdk_path_test.dart 67:9  main.<fn>.<fn>

Check warning on line 0 in MyProject.Tests.SampleFact

See this annotation in the file changed.

@github-actions github-actions / Test Results (Test Files)

All 4 runs failed: FailedTest (MyProject.Tests.SampleFact)

test-files/xunit/mstest/jenkinsci/testcase1.xml [took 0s]
test-files/xunit/mstest/jenkinsci/testcase3.xml [took 14s]
Raw output
Assert.True() Failure   at MyProject.Tests.SampleFact.FailedTest() in c:\Jenkins\jobs\my-project\workspace\MyProject\MyProject.Tests\SampleFact.cs:line 16

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results (Test Files)

All 2 runs failed: Unknown test

test-files/xunit/mstest/jenkinsci/testcase6.xml [took 36s]
Raw output
OK: TestProcess.Execution.ExitCode == 0
FAIL: Output differs from reference.
  Left:  data\ref
  Right: results\out

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results (Test Files)

All 2 runs failed: BakeDrawings

test-files/nunit/mstest/clicketyclackety.xml [took 0s]
Raw output
System.InvalidOperationException : Assert.Equals should not be used. Use Assert.AreEqual instead.
   at NUnit.Framework.Assert.Equals(Object a, Object b)
   at MyProject.Tests.Real.UserInput.BakeDrawingCommandTests.BakeDrawings()

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results (Test Files)

All 2 runs failed: SilentRun

test-files/nunit/mstest/clicketyclackety.xml [took 0s]
Raw output
System.NullReferenceException : Object reference not set to an instance of an object.
   at MyProject.Tests.Real.UserInput.ProjectInitCommandTests.SilentRun()

Check warning on line 0 in /

See this annotation in the file changed.

@github-actions github-actions / Test Results (Test Files)

All 2 runs failed: DiscardDrawingTests

test-files/nunit/mstest/clicketyclackety.xml [took 0s]
Raw output
System.IO.DirectoryNotFoundException : Could not find a part of the path 'C:\Users\USER\actions-runner\_work\MyProject\MyProject\SC\f4a8fa46-245d-4cd5-88c1-80fcfbda6369'.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileSystemEnumerableIterator`1.CommonInit()
   at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
   at System.IO.Directory.GetFiles(String path)
   at MyProject.Tests.Real.FlagTests.DiscardDrawingTests()