[threeten-dev] TestNG for JTreg

Xueming Shen xueming.shen at oracle.com
Wed Nov 21 14:12:32 PST 2012


Hi,

The proposed change is to remove the tests on package-private 
classes/constructors/methods
from the zone area.

http://cr.openjdk.java.net/~sherman/jdk8_threeten/test_tz

All tests now can be run smoothly and are passed under JTreg+TestNG, 
except those
for the "format" packages.

The directory structure under test/javax/time need to be re-orged to 
exactly as their
package hierarchy, for example, if we change the package hierarchy as

javax.time                  ->   javaxtime
javax.time.zone          ->   javaxtime.zone
javax.time.calendrical ->   javaxtime.calendrical
javax.time.format       ->   javaxtime.format
     tck/javax.time         ->   javaxtime.tck
     tck/javax.time.zone ->   javaxtime.tck.zone
...

The directory structure under test/javax/time needs to be

javaxtime
          zone
          calendrical
          format
          tck
               zone
               format
               calendrical
               chrono
...

I have a simple script to update the package/import lines for the tests.

So after push the changes showed in above webrev, we can figure out
the package names for the tests, if "javaxtime" is not good enough for
you guys.

-Sherman


More information about the threeten-dev mailing list