function testBoxItem() {
  var el = box.container;

  assertEquals(String(goog.dom.TagName.DIV), el.tagName);
  var desc = goog.dom.getFirstElementChild(el);
  assertTrue('Class not set',
      goog.dom.classlist.contains(desc, 'vsaq-question-title'));
  assertEquals(CAPTION, goog.dom.getTextContent(desc));

  var area = goog.dom.getNextElementSibling(desc);
  assertEquals(ID, area.id);
  assertEquals('', area.value);
}
/**
 * Tests whether box items are rendered correctly.
 */
Tests whether box items are rendered correctly.
Tests whether box items are rendered correctly .
function testBoxItem() {
  var el = box.container;
  assertEquals(String(goog.dom.TagName.DIV), el.tagName);
  var desc = goog.dom.getFirstElementChild(el);
  assertTrue('Class not set',
      goog.dom.classlist.contains(desc, 'vsaq-question-title'));
  assertEquals(CAPTION, goog.dom.getTextContent(desc));
  var area = goog.dom.getNextElementSibling(desc);
  assertEquals(ID, area.id);
  assertEquals('', area.value);
}
function testBoxItem ( ) { var el = box . container ; assertEquals ( String ( goog . dom . TagName . DIV ) , el . tagName ) ; var desc = goog . dom . getFirstElementChild ( el ) ; assertTrue ( 'Class not set' , goog . dom . classlist . contains ( desc , 'vsaq-question-title' ) ) ; assertEquals ( CAPTION , goog . dom . getTextContent ( desc ) ) ; var area = goog . dom . getNextElementSibling ( desc ) ; assertEquals ( ID , area . id ) ; assertEquals ( '' , area . value ) ; }
Tests whether box items are rendered correctly.
Tests whether box items are rendered correctly .