Package uk.ac.uea.threadr

Examples of uk.ac.uea.threadr.ThreadTest.test()


    logger.fine(String.format("Testing: %s", clazz.getName()));
   
    /* Use every test provided to see if the class is thread safe. */
    for (Object t : tests) {
      ThreadTest test = (ThreadTest)t;
      ThreadSafety result = test.test(clazz);
      if (result != ThreadSafety.THREAD) {
        /* Any test that is not thread safe is failed. */
        failedTests.add(test.getClass());
      }
      /* If a result was returned, and it's worse than the stored one. */
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.