Package org.apache.wicket.util.tester

Examples of org.apache.wicket.util.tester.Result


    tester.startPage(p);
  }

  public void assertNotContains(String message, String string)
  {
    Result r = tester.ifContains("^((?!" + string + ").)*$");
    if (r.wasFailed())
    {
      throw new ComparisonFailure("String [" + string
        + "] found in page, but shouldn't be there:  " + message, string, "@page");
    }
  }
View Full Code Here


    tester.startPage(p);
  }

  public void assertNotContains(String message, String string)
  {
    Result r = tester.ifContains("^((?!" + string + ").)*$");
    if (r.wasFailed())
    {
      throw new ComparisonFailure("String [" + string
        + "] found in page, but shouldn't be there:  " + message, string, "@page");
    }
  }
View Full Code Here

TOP

Related Classes of org.apache.wicket.util.tester.Result

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.