Coder Social home page Coder Social logo

Comments (2)

rohansuri avatar rohansuri commented on May 31, 2024

Hi @JohannesLichtenberger, your project sounds interesting! I have some questions but I'll ask them later after learning more about your project.

The tests you mentioned are not to be run directly. They are used as base classes for other JUnit3 style tests present in com.github.rohansuri.art.acc (acc = Apache Commons Collections). For example the ARTStringTest that inherits AbstractNavigableMapTest. I will package them better to separate JUnit4 tests from JUnit3 tests. Both style of tests exist in the project because I inherited some of them from ACC which are in JUnit3 style.

The error message correctly complains:

junit.framework.AssertionFailedError: Class com.github.rohansuri.art.NavigableKeySetStringTest has no public constructor TestCase(String name) or TestCase()

which is a requirement for JUnit3 style tests. All the tests in *.acc have the required ctor and those can be directly run.

For some reason, the command gradle test testJUnit4 seems to correctly classify them and not run them as a top level test. I'd suggest you use gradle for the time being.

from adaptive-radix-tree.

JohannesLichtenberger avatar JohannesLichtenberger commented on May 31, 2024

Sadly it's going to be executed with JUnit 4 with gradle test or gradlew clean build --info --stacktrace --refresh-dependencies. Thanks for your interest in the project, that's great :-)

from adaptive-radix-tree.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.