Skip to content

Request to update junit version #607

Closed

Description

@FObermaier

I tend to use IntelliJ IDEA Community as java editor, especially when working with this project.
This editor does not play with junit v3.7 and requires at least v3.8 so I kindly request to update junit to this version.

Thanks.

Activity

  1. jnh5y commented on Oct 1, 2020

    @jnh5y
    Contributor

    Looks like 3.8.2 is the latest in the 3.x line.

    Does anyone happen to know if Junit 4.x would be compatible without code changes?

  2. mprins commented on Oct 2, 2020

    @mprins
    Contributor
  3. FObermaier commented on Oct 5, 2020

    @FObermaier
    ContributorAuthor

    I updated to v4.13 and rebuild the solution. It built without any severe problems, there are some deprecation warnings about using junit.framework.Assert class.

    I don't know if the list is complete but here are some classes:

    • KMLReaderTest
    • BufferValidator
    • GeometryOperationValidator

    See: #609

  4. dr-jts commented on Oct 5, 2020

    @dr-jts
    Contributor

    I there are some deprecation warnings about using junit.framework.Assert class.

    It would be nice to fix the deprecations. Any idea what a fix would be?

  5. mprins commented on Oct 5, 2020

    @mprins
    Contributor

    I think the Assert class now lives in org.junit.Assert https://junit.org/junit4/javadoc/4.13/org/junit/Assert.html

  6. jnh5y commented on Oct 5, 2020

    @jnh5y
    Contributor

    @mprins Thanks! @FObermaier I tried switching the imports and it seemed to work. Here's a quick commit that does it: jnh5y@ee9975e

  7. changed the title [-]Request to update junit to version v3.8[/-] [+]Request to update junit version[/+] on Oct 6, 2020
  8. added a commit that references this issue on Oct 6, 2020
  9. FObermaier commented on Oct 7, 2020

    @FObermaier
    ContributorAuthor

    Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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