[threeten-dev] TestNG for JTreg
Roger Riggs
Roger.Riggs at oracle.com
Mon Nov 26 13:55:21 PST 2012
ok.
Is the issue the behavior of TestNG or the "classpath" that TestNG is
invoked by jtreg?
Roger
On 11/26/2012 4:41 PM, Xueming Shen wrote:
> Hi
>
> It appears it would not be on the priority list of our jtreg (our test
> harness) feature list to
> support the "desired" by Stephen. I would suggest we go for
>
> http://cr.openjdk.java.net/~sherman/jdk8_threeten/test.javax.time
>
> for now. Some of the tests can be updated to use the public APIs
> fairly easily.
>
> If you guys agree, I can do a push to re-org the directory and package
> name first. And
> we go from there.
>
> -Sherman
>
> On 11/22/12 3:00 AM, Stephen Colebourne wrote:
>> 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
>
--
Thanks, Roger
Oracle Java Platform Group
Green Oracle <http://www.oracle.com/commitment> Oracle is committed to
developing practices and products that help protect the environment
More information about the threeten-dev
mailing list