Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement TextGrid#toString for easier debugging, etc. #16

Closed
psibre opened this issue Jun 20, 2018 · 0 comments · Fixed by #17
Closed

Implement TextGrid#toString for easier debugging, etc. #16

psibre opened this issue Jun 20, 2018 · 0 comments · Fixed by #17
Milestone

Comments

@psibre
Copy link
Member

psibre commented Jun 20, 2018

Expected behavior

TextGrid#toString should be implemented for human inspection.

Actual behavior (with the stacktrace!)

This is not really helpful:

Gradle suite > Gradle test > org.m2ci.msp.jtgt.io.TextGridSerializerTest.testEquals FAILED
    java.lang.AssertionError: expected [org.m2ci.msp.jtgt.TextGrid@3538da99] but found [org.m2ci.msp.jtgt.TextGrid@41086e4c]
        at org.testng.Assert.fail(Assert.java:94)
        at org.testng.Assert.failNotEquals(Assert.java:494)
        at org.testng.Assert.assertEquals(Assert.java:123)
        at org.testng.Assert.assertEquals(Assert.java:165)
        at org.m2ci.msp.jtgt.io.TextGridSerializerTest.testEquals(TextGridSerializerTest.java:69)

Steps to reproduce the behavior

Checkout 122a8e4 and run ./gradlew check.

Additional information

Indicate any necessary additional information

@psibre psibre added this to the v0.6 milestone Jun 20, 2018
@psibre psibre mentioned this issue Jun 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant