Package com.jitcaforwin.trackinfoanalyzer.log.status

Examples of com.jitcaforwin.trackinfoanalyzer.log.status.Warning.toChar()


    LogStatus warning = new Warning();
    assertFalse(warning.isOk());
    assertTrue(warning.isWarning());
    assertFalse(warning.isUnknown());
   
    assertEquals(LogStatus.WARNING, warning.toChar());
   
    assertFalse(warning.hasToBeUpdated(new Ok()));
    assertFalse(warning.hasToBeUpdated(new Warning()));
    assertTrue(warning.hasToBeUpdated(new Error()));
    assertFalse(warning.hasToBeUpdated(new Unkown()));
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.