Package org.jtester.hamcrest.iassert.object.impl

Examples of org.jtester.hamcrest.iassert.object.impl.StringAssert


   * @param value
   *            字符串变量
   * @return
   */
  public IStringAssert string(String value) {
    return new StringAssert(value);
  }
View Full Code Here


   * a parameter string will be asserted
   *
   * @return
   */
  public IStringAssert string() {
    return new StringAssert();
  }
View Full Code Here

  }

  public IStringAssert toStringAssert() {
    IStringAssert matcher = null;
    if (this.type == AssertType.AssertStyle) {
      matcher = new StringAssert(String.valueOf(this.value));
    } else {
      matcher = new StringAssert(true);
    }
    return (IStringAssert) matcher;
  }
View Full Code Here

TOP

Related Classes of org.jtester.hamcrest.iassert.object.impl.StringAssert

Copyright © 2018 www.massapicom. 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.