Unit tests for OpenJDK?

Alan Bateman Alan.Bateman at oracle.com
Sun Apr 27 19:30:14 UTC 2014

On 27/04/2014 11:17, Harry Simons wrote:
> :
> 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!
I don't think the JCK is exactly what you are looking for. In other to 
properly test a custom file system provider then the test suite needs to 
know about its URI scheme and syntax, file path syntax, at least 
something about its capabilities and features, and often other details 
related to configuration and setup. If your file system provider 
replaces or interposes on the default provider then the tests in the jdk 
repository will exercise it. If your file system provider is very 
different then I think you will need to write tests, this is why we 
created separate tests for the zip provider for example. As I suggested 
in previous, there might be an opportunity to hook up with others that 
are developing their own file system implementations and maybe something 
could come of this that would be useful to others.


More information about the discuss mailing list