Giter Site home page Giter Site logo

Comments (8)

meg23 avatar meg23 commented on August 27, 2024

From [email protected] on September 09, 2009 23:54:21

Maybe split the tests in two. One folder for interface and one for default
implementations. That way you can still test the default implementations on a finer
granularity.

from esapi-java-legacy.

meg23 avatar meg23 commented on August 27, 2024

From [email protected] on October 31, 2010 22:57:37

Status: Accepted
Owner: [email protected]
Labels: Milestone-Release2.1

from esapi-java-legacy.

meg23 avatar meg23 commented on August 27, 2024

From chrisisbeef on November 20, 2010 13:14:10

Blockedon: 168

from esapi-java-legacy.

meg23 avatar meg23 commented on August 27, 2024

From chrisisbeef on November 20, 2010 13:14:34

Blockedon: -168 186

from esapi-java-legacy.

meg23 avatar meg23 commented on August 27, 2024

From chrisisbeef on November 20, 2010 13:14:55

Owner: chrisisbeef

from esapi-java-legacy.

meg23 avatar meg23 commented on August 27, 2024

From chrisisbeef on November 20, 2010 13:15:28

Labels: Component-Other Build-Maven

from esapi-java-legacy.

kwwall avatar kwwall commented on August 27, 2024

Previous comment had blocked on Google Code issue 186. That is now issue #196.

from esapi-java-legacy.

kwwall avatar kwwall commented on August 27, 2024

The original Google Code issue seems to imply that the reference implementation classes should not be tested at all, which is of course absurd. One cannot write meaningful unit tests in the absence of any implementation at all.

That said, if the objection is against testing implementation specific methods in a JUnit test meant to test interfaces, that I can agree with. As noted, the AuthenticatorTest class, which presumably is meant for testing the implementation of only the methods defined in the Authenticator interface, also includes a 'testSaveUsers()' test case that tests the implementation of FileBasedAuthenticator.saveUsers() method, a method which is not defined in the Authenticator interface. Clearly that 'testSaveUsers()' method should be moved to a implementation specific class, such as FileBasedAuthenticatorTests (which does not currently exist).

At this point, I do not think it is prudent to make these changes before the anticipated ESAPI 3.0 release, and for that reason, I have changed this to the 3.0 milestone.

from esapi-java-legacy.

Related Issues (20)

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.