예제 #1
0
 public void testToString() {
   String str = buf.toString();
   assertTrue(str.indexOf("Double") >= 0 || str.indexOf("double") >= 0);
   assertTrue(str.indexOf("" + buf.position()) >= 0);
   assertTrue(str.indexOf("" + buf.limit()) >= 0);
   assertTrue(str.indexOf("" + buf.capacity()) >= 0);
 }
 @TestTargetNew(
     level = TestLevel.PARTIAL_COMPLETE,
     notes = "",
     method = "toString",
     args = {})
 public void testToString() {
   String str = buf.toString();
   assertTrue(str.indexOf("Double") >= 0 || str.indexOf("double") >= 0);
   assertTrue(str.indexOf("" + buf.position()) >= 0);
   assertTrue(str.indexOf("" + buf.limit()) >= 0);
   assertTrue(str.indexOf("" + buf.capacity()) >= 0);
 }