[threeten-dev] TestNG for JTreg

Roger Riggs Roger.Riggs at Oracle.com
Mon Nov 26 09:50:03 PST 2012


Hi,

The distinction between "TCK" tests and unit tests are the "TCK" tests 
verify the specification,
which is the javadoc.  Unit tests can test anything.

With few exceptions TCK tests are developed by Sun/Oracle separately 
from OpenJDK.

In the case of Threeten, ThreeTen is providing tests of the 
specification as well as unit
tests and they need to be distinguished.

Roger


On 11/22/2012 02:01 PM, Xueming Shen wrote:
>
>
> On 11/22/2012 3:00 AM, Stephen Colebourne wrote:
>> I also do not see any distinction in OpenJDK tests between TCK and 
>> non-TCK. How is that generally done? Stephen 
>
>
> TCK tests are NOT included in OpenJDK repository. None of the tests in 
> OpenJDK repository
> is TCK test, they are all unit test. TCK has their own separate 
> repository and is a separate
> product, not part of the OpenJDK, they might also have different 
> license as well (don't count
> this on me). The reason I believe we have those tck tests in threeten 
> repository is that they
> also serve as unit test. TCK team will need to pick them up and 
> include them into the TCK
> repository later. So in theory, those tck tests are the same as those 
> non-tck tests, from jdk
> repository point to view. However it appears that we have an agreement 
> with the TCK team
> that those tck tests should be kept separately from those non-tck 
> tests and can be "picked
> up" easilywithout modification, so it can be dropped "directly" into 
> their repository.
>
> Dmitry, correct me if I'm wrong on the tck tests.
>
> -Sherman




More information about the threeten-dev mailing list