test/jdk/sun/management/jdp/JdpOffTestCase.java
changeset 49464 7ea4724a959c
parent 47216 71c04702a3d5
equal deleted inserted replaced
49463:ccb003941743 49464:7ea4724a959c
    52     protected void onSocketTimeOut(SocketTimeoutException e) throws Exception {
    52     protected void onSocketTimeOut(SocketTimeoutException e) throws Exception {
    53         log.fine("No packages received. Test passed!");
    53         log.fine("No packages received. Test passed!");
    54         testPassed = true;
    54         testPassed = true;
    55     }
    55     }
    56 
    56 
       
    57     /**
       
    58      * The socket did not timeout and no valid JDP packets were received.
       
    59      */
       
    60     @Override
       
    61     protected void shutdown() throws Exception {
       
    62         log.fine("Test timed out. Test passed!");
       
    63         testPassed = true;
       
    64     }
    57 
    65 
    58     /**
    66     /**
    59      * This method is executed after a correct Jdp packet, coming from this VM has been received.
    67      * This method is executed after a correct Jdp packet, coming from this VM has been received.
    60      *
    68      *
    61      * @param payload A dictionary containing the data if the received Jdp packet.
    69      * @param payload A dictionary containing the data if the received Jdp packet.