Examples of ExtendedVariableValue


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

  @Test
  public void testGetValue() {
    String stringValue = "value";
    Variable var = new Variable(stringValue, stringValue);
    value = new ExtendedVariableValue(var);
    assertEquals(value.getValue(), stringValue);
  }
View Full Code Here

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

  @Test
  public void testToString() {
    String stringValue = "value";
    Variable var = new Variable(stringValue, stringValue);
    value = new ExtendedVariableValue(var);
    assertEquals(value.toString(), stringValue);
  }
View Full Code Here

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

  @Test
  public void testFirstToUpper() {
    String expected = "Value";
    String stringValue = "value";
    Variable var = new Variable(stringValue, stringValue);
    value = new ExtendedVariableValue(var);
    assertEquals(value.firstToUpper(), expected);
    assertEquals(value.getValue(), stringValue);
  }
View Full Code Here

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

  @Test
  public void testFirstToLower() {
    String expected = "vALUE";
    String stringValue = "VALUE";
    Variable var = new Variable(stringValue, stringValue);
    value = new ExtendedVariableValue(var);
    assertEquals(value.firstToLower(), expected);
    assertEquals(value.getValue(), stringValue);
  }
View Full Code Here

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

  @Test
  public void testEscapeExpression() {
    String expected = "\\\\\\\\value";
    String stringValue = "\\value";
    Variable var = new Variable(stringValue, stringValue);
    value = new ExtendedVariableValue(var);
    assertEquals(value.escapeExpression(), expected);
  }
View Full Code Here

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

  @Test
  public void testShortClassNameSimpleName() {
    String className = "Foo";
    Variable var = new Variable(className, className);
    value = new ExtendedVariableValue(var);
    assertEquals(value.shortClassName().toString(), className);
  }
View Full Code Here

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

  @Test
  public void testShortClassNamePackageName() {
    String className = "bar.Foo";
    Variable var = new Variable(className, className);
    value = new ExtendedVariableValue(var);
    assertEquals(value.shortClassName().toString(), "Foo");
  }
View Full Code Here

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

  }

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

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

  }

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

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

  }

  @Test
  public void testEqualsNullValueOther() {
    Variable var = new Variable("value", "value");
    value = new ExtendedVariableValue(var);
    assertFalse(value.equals(new ExtendedVariableValue(null)));
  }
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.