Ejemplo n.º 1
0
  public void test19() throws Throwable {

    if (debug) System.out.printf("%nRandoopTest0.test19");

    com.es.zumeh.client.model.Password var0 = new com.es.zumeh.client.model.Password();
    boolean var2 = var0.checkPasswords("");
    boolean var4 = var0.checkPasswords("");
    java.lang.String var5 = var0.getPassword();
    // The following exception was thrown during execution.
    // This behavior will recorded for regression testing.
    try {
      var0.setPassword("");
      fail("Expected exception of type java.lang.Exception");
    } catch (java.lang.Exception e) {
      // Expected exception.
    }

    // Regression assertion (captures the current behavior of the code)
    assertTrue(var2 == false);

    // Regression assertion (captures the current behavior of the code)
    assertTrue(var4 == false);

    // Regression assertion (captures the current behavior of the code)
    assertTrue("'" + var5 + "' != '" + "" + "'", var5.equals(""));
  }
Ejemplo n.º 2
0
  public void test7() throws Throwable {

    if (debug) System.out.printf("%nRandoopTest0.test7");

    com.es.zumeh.client.model.Password var0 = new com.es.zumeh.client.model.Password();
    java.lang.String var1 = var0.getPassword();
    boolean var3 = var0.checkPasswords("");

    // Regression assertion (captures the current behavior of the code)
    assertTrue("'" + var1 + "' != '" + "" + "'", var1.equals(""));

    // Regression assertion (captures the current behavior of the code)
    assertTrue(var3 == false);
  }
Ejemplo n.º 3
0
  public void test5() throws Throwable {

    if (debug) System.out.printf("%nRandoopTest0.test5");

    com.es.zumeh.client.model.Password var0 = new com.es.zumeh.client.model.Password();
    var0.setPassword("hi!");
    var0.setPassword("hi!");
    java.lang.String var5 = var0.getPassword();

    // Regression assertion (captures the current behavior of the code)
    assertTrue(
        "'" + var5 + "' != '" + "aff97160474a056e838c1f721af01edf" + "'",
        var5.equals("aff97160474a056e838c1f721af01edf"));
  }
Ejemplo n.º 4
0
  public void test14() throws Throwable {

    if (debug) System.out.printf("%nRandoopTest0.test14");

    com.es.zumeh.client.model.Password var0 = new com.es.zumeh.client.model.Password();
    java.lang.String var1 = var0.getPassword();
    var0.setPassword("aff97160474a056e838c1f721af01edf");
    java.lang.String var4 = var0.getPassword();

    // Regression assertion (captures the current behavior of the code)
    assertTrue("'" + var1 + "' != '" + "" + "'", var1.equals(""));

    // Regression assertion (captures the current behavior of the code)
    assertTrue(
        "'" + var4 + "' != '" + "33efbb43f502e2933fbfc8c508980152" + "'",
        var4.equals("33efbb43f502e2933fbfc8c508980152"));
  }
Ejemplo n.º 5
0
  public void test25() throws Throwable {

    if (debug) System.out.printf("%nRandoopTest0.test25");

    com.es.zumeh.client.model.Password var0 = new com.es.zumeh.client.model.Password();
    boolean var2 = var0.checkPasswords("hi!");
    java.lang.String var3 = var0.getPassword();
    java.lang.String var4 = var0.getPassword();
    boolean var6 = var0.checkPasswords("33efbb43f502e2933fbfc8c508980152");

    // Regression assertion (captures the current behavior of the code)
    assertTrue(var2 == false);

    // Regression assertion (captures the current behavior of the code)
    assertTrue("'" + var3 + "' != '" + "" + "'", var3.equals(""));

    // Regression assertion (captures the current behavior of the code)
    assertTrue("'" + var4 + "' != '" + "" + "'", var4.equals(""));

    // Regression assertion (captures the current behavior of the code)
    assertTrue(var6 == false);
  }