Unit tests for OpenJDK?
Mario Torre
neugens.limasoftware at gmail.com
Sun Apr 27 12:10:15 UTC 2014
Hi Harry,
The JCK is a bit funny, you can have access to it, but how I let other to
say :) and yes, its a complicated process.
Some test are in the JDK tree, but you may find helpful to run non official
test suites like mauve.
Interestingly, the winehq page seems to do a better job than the OpenJDK
wiki in listing the options:
http://wiki.winehq.org/JavaTestSuite
Mauve covers a lot of areas very well, I believe the filesystem is one of
those.
Of course, I totally understand your pain, we have the same problem, and
the only way to be 100% is to apply for the JCK.
Cheers,
Mario
Il 27/apr/2014 12:18 "Harry Simons" <simonsharry at gmail.com> ha scritto:
> Thanks for your response.
>
> Looks like, without a formal form-submission and form-approval process I
> will not be given JCK.
>
> May I ask the members in the community that without free and easy access to
> JCK to one and all, how on earth could an applications developer (like
> myself) possibly ever finish writing (complete with unit testing!) a custom
> file-system based on the FileSystemProvider API which Java itself provides?
>
> If not the full JCK, I think the powers-that-be should provide to all
> application developers, freely and easily, at least a subset of the JCK
> that covers nontrivial API such as FileSystemProvider!
>
> Wonder, how other developers like myself would handle this situation.
>
>
> On Sun, Apr 27, 2014 at 2:30 PM, Andrew Haley <aph at redhat.com> wrote:
>
> > On 04/27/2014 09:55 AM, Harry Simons wrote:
> >
> > > I downloaded OpenJDK 7u40 source bundle, and was expecting to find in
> it
> > > tons and tons of unit tests for, well, at least all public methods of
> all
> > > of its public classes.
> > >
> > > However, under the openjdk/jdk/test/ directory of the downloaded
> bundle,
> > > are sitting merely *regression* tests -- or, tests created for
> *specific*
> > > bugs.
> > >
> > > I'd like to know if OpenJDK comes with its unit tests or not? And, if
> > yes,
> > > where can I find them? If not, why are they not being shared openly.
> >
> > Because the JCK is shipped separately.
> >
> > http://openjdk.java.net/groups/conformance/JckAccess/
> >
> > Andrew.
> >
> >
>
More information about the discuss
mailing list