Package com.codingcrayons.aspectfaces.annotation.registration.pointCut.properties

Examples of com.codingcrayons.aspectfaces.annotation.registration.pointCut.properties.ExtendedVariableValue


    assertFalse(value.equals(new ExtendedVariableValue(null)));
  }

  @Test
  public void testEqualsNullValue() {
    value = new ExtendedVariableValue(null);
    Variable var = new Variable("value", "value");
    assertFalse(value.equals(new ExtendedVariableValue(var)));
  }
View Full Code Here


    assertFalse(value.equals(new ExtendedVariableValue(var)));
  }

  @Test
  public void testEqualsBothNull() {
    value = new ExtendedVariableValue(null);
    assertTrue(value.equals(new ExtendedVariableValue(null)));
  }
View Full Code Here

  }

  @Test
  public void testEqualsObject() {
    Variable var = new Variable("value", "value");
    value = new ExtendedVariableValue(var);
    assertFalse(value.equals(new Object()));
  }
View Full Code Here

  }

  @Test
  public void testEqualsDifferentValue() {
    Variable var = new Variable("value", "value");
    value = new ExtendedVariableValue(var);
    Variable var2 = new Variable("value", "value");
    ExtendedVariableValue value2 = new ExtendedVariableValue(var2);
    assertTrue(value.equals(value2));
    Variable var3 = new Variable("value", "zvalue");
    ExtendedVariableValue value3 = new ExtendedVariableValue(var3);
    assertFalse(value.equals(value3));
  }
View Full Code Here

  public void testCreateDefault() {
    String name = "name";
    String value = "value";
    var = new Variable(name, value);
    assertEquals(var.getName(), name);
    assertEquals(var.getExtendedValue(), new ExtendedVariableValue(var));
    assertTrue(var.isRedefinable());
  }
View Full Code Here

    String name = "name";
    String value = "value";
    boolean redefinable = false;
    var = new Variable(name, value, redefinable);
    assertEquals(var.getName(), name);
    assertEquals(var.getExtendedValue(), new ExtendedVariableValue(var));
    assertFalse(var.isRedefinable());
  }
View Full Code Here

TOP

Related Classes of com.codingcrayons.aspectfaces.annotation.registration.pointCut.properties.ExtendedVariableValue

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.