示例#1
0
  /** Test of setEntry method, of class arda.md.javaclient.AttributeSet. */
  public void testSetEntry() {
    System.out.println("setEntry Begin");

    assertEquals(entry, instance.getEntry());
    System.out.println("old entry : " + instance.getEntry());

    instance.setEntry("entry2");
    assertFalse(entry.equals(instance.getEntry()));

    System.out.println("new entry : " + instance.getEntry());
    System.out.println("setEntry End");
  }
示例#2
0
  /** Test of getEntry method, of class arda.md.javaclient.AttributeSet. */
  public void testGetEntry() {
    System.out.println("getEntry Begin");

    assertEquals(entry, instance.getEntry());

    System.out.println("entry : " + entry);
    System.out.println("getEntry End");
  }
示例#3
0
  /** Test of getValue method, of class arda.md.javaclient.AttributeSet. */
  public void testGetValue() {
    System.out.println("getValue Begin");

    for (int i = 0; i < keys.length; i++) {
      String result = instance.getValue(keys[i]);
      assertEquals(values[i], result);
      System.out.println("key : " + keys[i]);
      System.out.println("value : " + values[i]);
    }

    System.out.println("getValue End");
  }
示例#4
0
  /** Test of getKeys method, of class arda.md.javaclient.AttributeSet. */
  public void testGetKeys() {
    System.out.println("getKeys Begin");

    String[] result = instance.getKeys();

    for (int i = 0; i < keys.length; i++) {
      assertEquals(keys[i], result[i]);
      System.out.println("key : " + result[i]);
    }

    System.out.println("getKeys End");
  }
示例#5
0
  /** Test of getValues method, of class arda.md.javaclient.AttributeSet. */
  public void testGetValues() {
    System.out.println("getValues Begin");

    String[] result = instance.getValues();

    for (int i = 0; i < values.length; i++) {
      assertEquals(values[i], result[i]);
      System.out.println("value : " + result[i]);
    }

    System.out.println("getValues End");
  }
示例#6
0
 /** Test of toString method, of class arda.md.javaclient.AttributeSet. */
 public void testToString() {
   System.out.println("toString Begin");
   System.out.println(instance.toString());
   System.out.println("toString End");
 }