psdi.unittest

Class JUnitTestListener

  • java.lang.Object
    • org.junit.runner.notification.RunListener
      • psdi.unittest.JUnitTestListener


  • public class JUnitTestListener
    extends org.junit.runner.notification.RunListener
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.util.List getResults() 
      void testFailure(org.junit.runner.notification.Failure f) 
      void testFinished(org.junit.runner.Description desc) 
      void testStarted(org.junit.runner.Description desc) 
      • Methods inherited from class org.junit.runner.notification.RunListener

        testIgnored, testRunFinished, testRunStarted
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JUnitTestListener

        public JUnitTestListener(java.lang.String suiteId,
                                 java.lang.String utid,
                                 java.lang.Class clazz,
                                 JUnitTestRunner.JFilter filter,
                                 TestRealTimeClientRemote trtc,
                                 java.lang.String ownerName,
                                 java.lang.String ownerEmail)
        Parameters:
        utid - the unit test case id
        clazz - the junit class name
        filter -
        trtc -
    • Method Detail

      • testStarted

        public void testStarted(org.junit.runner.Description desc)
                         throws java.lang.Exception
        Overrides:
        testStarted in class org.junit.runner.notification.RunListener
        Throws:
        java.lang.Exception
      • testFinished

        public void testFinished(org.junit.runner.Description desc)
        Overrides:
        testFinished in class org.junit.runner.notification.RunListener
      • testFailure

        public void testFailure(org.junit.runner.notification.Failure f)
        Overrides:
        testFailure in class org.junit.runner.notification.RunListener
      • getResults

        public java.util.List getResults()