RFR (S): 6380601: MISC_REGRESSION tests need to be more resilient to ps cmd problems
Alan Bateman
Alan.Bateman at oracle.com
Mon Jan 13 06:13:55 PST 2014
On 13/01/2014 13:57, Yekaterina Kantserova wrote:
>
>
> Sorry, I've not explained in more details. I have sun/tools tests in
> the same project in Eclipse and there I get a compilation error if I
> have 2 classes with the same name. I've used this standard for several
> fixes, for example sun/tools/jstatd. Do you think it's OK to keep
> these names?
I don't have a strong opinion on the test names, I was just pointing out
that the names duplicates information in directory name. As most of the
tests are in the unnamed package then it will be awkward if you attempt
to being them into the same IDE project. If you do need unique names
then I would go for something like BasicJMapTest and BasicJStackTest.
The names in sun/tools/jstatd look okay because they test something
specific. However, this is all subjective and not something to spend
much time on.
Just another comment on @library, does /lib/testlibrary work? I though a
recent change to jtreg meant that absolute paths works relative to the
test root (which allows tests to move without needing to change the
relative path to the library).
-Alan.
More information about the serviceability-dev
mailing list