/** A clean way to specify which tests run on which platforms. */
 public boolean isPlatformSupported(DatabasePlatform platform) {
   boolean supported = false;
   boolean notSupported = false;
   if ((unsupportedPlatforms == null) && (supportedPlatforms == null)) {
     return true;
   }
   if (supportedPlatforms != null) {
     for (Iterator iterator = supportedPlatforms.iterator(); iterator.hasNext(); ) {
       Class platformClass = (Class) iterator.next();
       if (platformClass.isInstance(platform)) {
         supported = true;
       }
     }
   } else {
     supported = true;
   }
   if (unsupportedPlatforms != null) {
     for (Iterator iterator = unsupportedPlatforms.iterator(); iterator.hasNext(); ) {
       Class platformClass = (Class) iterator.next();
       if (platformClass.isInstance(platform)) {
         notSupported = true;
       }
     }
   }
   return supported && (!notSupported);
 }
 protected void setup() throws Exception {
   boolean jarsOnPath = true;
   try {
     Class.forName("oracle.sql.TIMESTAMP");
   } catch (Exception exception) {
     jarsOnPath = false;
   }
   if (jarsOnPath) {
     throw new TestProblemException("jdbc jar must not be on the classpath for this test to run.");
   }
 }
 /** .class. */
 public void test() throws Exception {
   TOPLINK.getName();
 }
 public CustomSQLSubQueryTest() {
   referenceClass = Employee.class;
   setName("CustomSQLSubQueryTest(" + referenceClass.getName() + ")");
   setDescription("The test runs a ReadAllQuery with a customSQL subquery to the database.");
 }