[threeten-dev] TestNG for JTreg
Stephen Colebourne
scolebourne at joda.org
Thu Nov 22 03:00:39 PST 2012
On 22 November 2012 06:43, Xueming Shen <xueming.shen at oracle.com> wrote:
> http://cr.openjdk.java.net/~sherman/jdk8_threeten/test.javax.time
>
> This is the current "working" version, which puts all tests under
> <jdk>/test/javax/time and categorizes the tests into "test", the
> "normal" unit tests, and "tck" the tck tests. The tests for package-private
> classes/interfaces (mainly the "format" packages) will need to be updated.
>
> The "alternative", which is what Stephen is asking, is
>
> http://cr.openjdk.java.net/~sherman/jdk8_threeten/test.javax.time2,
Clearly I prefer the second. I believe that non-TCK tests should have
the ability to test the package-scope API.
However, I do note from the OpenJDK source tree that this isn't how
the current tests work. Obviously OpenJDK has a different
heritage/style to the rest of the world...
I also do not see any distinction in OpenJDK tests between TCK and
non-TCK. How is that generally done?
Stephen
More information about the threeten-dev
mailing list