RFR: 8193154: methods in java.time's TCKZoneRules OpenJDK test miss @Test annotation

Vivek Theeyarath vivek.theeyarath at oracle.com
Sun May 27 07:25:09 UTC 2018


Hi Lance,

               Thanks for the feedback. I did notice the @Test at the class level. The motivation behind the fix was a comment in the bug saying not having the annotation at the method level affects correct processing of TCKZoneRules and inclusion of test methods into master test list where this test has been ported to. So, I am assuming this would still help. But for that, I agree with you that this may not be needed.

 

Regards

Vivek

From: Lance Andersen 
Sent: Saturday, May 26, 2018 6:06 PM
To: Vivek Theeyarath <vivek.theeyarath at oracle.com>
Cc: core-libs-dev <core-libs-dev at openjdk.java.net>
Subject: Re: RFR: 8193154: methods in java.time's TCKZoneRules OpenJDK test miss @Test annotation

 

Hi Vivek,

 

The original test has the @Test annotation on the class which indicates that all public methods are test methods:

 

http://testng.org/doc/documentation-main.html#class-level

 

So adding @Test to each method is OK but not needed.

 

HTH

 

Best

Lance

 

 

On May 26, 2018, at 3:51 AM, Vivek Theeyarath <HYPERLINK "mailto:vivek.theeyarath at oracle.com"vivek.theeyarath at oracle.com> wrote:

 

Hi All,

              Please review fix for https://bugs.openjdk.java.net/browse/JDK-8193154 . 



http://cr.openjdk.java.net/~vtheeyarath/8193154/webrev.00/ 



The test ran fine with Mach5 http://java.se.oracle.com:10065/mdash/jobs/root-jdk-dev-20180526-0645-24095 



Regards

Vivek

 

http://oracle.com/us/design/oracle-email-sig-198324.gif

HYPERLINK "http://oracle.com/us/design/oracle-email-sig-198324.gif"
Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
Oracle Java Engineering 
1 Network Drive 
Burlington, MA 01803
HYPERLINK "mailto:Lance.Andersen at oracle.com"Lance.Andersen at oracle.com

 





 


More information about the core-libs-dev mailing list