[threeten-dev] TestNG for JTreg
Xueming Shen
xueming.shen at oracle.com
Wed Nov 21 22:43:48 PST 2012
Hi,
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,
in which the unit tests will keep their "javax.time..." package and
the tck tests go into "tck.javax.time". jonathan.gibbons is kindly
looking into the possibility of making it work in jtreg+testng setup.
However, I would assume even we can make it work now, if (which
is still a big IF) we decide to move the javax.time into java.time, I doubt
this mechanism might be broken again.
-Sherman
More information about the threeten-dev
mailing list