admin@glassfish.java.net

New Test class

From: Byron Nevins <byron.nevins_at_oracle.com>
Date: Thu, 19 May 2011 16:51:01 -0700

Guess what happens if you run Admin DevTests when AS_DEBUG is set to true?

Correct! Bad Things. And you will waste your time investigating it.

That's why I added a new test class, Assumptions.java.

This is the very first test that gets run. It currently has one test --
if AS_DEBUG is true -- it fails.

I wanted it to force the tests to stop -- but we have no way of doing
that (an exercise for someone -- signal ant to stop running the rest of
the tests).

It prints out a clearly explained failure about AS_DEBUG so you can
quickly solve the problem.

Add any assumptions about the environment or whatever in this class...

-- 
Oracle <http://www.oracle.com>
Byron Nevins | Principal MTS
Phone: +1 6503958992 <tel:+1%206503958992>
Green Oracle <http://www.oracle.com/commitment> Oracle is committed to 
developing practices and products that help protect the environment