Skip to content

The TestDotParser test in the solver module fails. #51

@GRIGAeo

Description

@GRIGAeo

Steps to Reproduce - From the project root, run the command ./gradlew --continue :solver:test

Only the TestDotParser test fails, and 4 other tests are skipped.

path to the test source code - solver/src/test/kotlin/TestDotParser.kt
path to the file with the expected result - solver/src/test/resources/dotParserTest/simpleLoop.dot
path to the file with the actual result - solver/build/reports/tests/test/classes/TestDotParser.html (lines: 76-84)

Expected result:
start -> 0:
0 -> 0 [label = "("];
0 -> 0 [label = ")"];

Actual result:
start -> 0:
0 -> 0 [label = (];
0 -> 0 [label = )];
In the actual result, the parentheses are not enclosed in quotes

The tests were run on the GNU Linux Ubuntu 24.04.3 LTS operating system, Java version - openjdk 21.0.10, gradle version - 9.0

The attempt to solve the problem in the most obvious way — by removing the quotes in the file with the expected result — led to nothing.

screenshots with data about the failing test:

  1. output about the test failure / test failure output
Image
  1. file with the expected result
Image
  1. fragment of the report file about the mismatch between the expected and actual results
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions