function testBlockAddItem() {
  var rad = new vsaq.questionnaire.items.RadioItem('radio1_id', [], 'radio1');
  block.addItem(rad);
  assertContains('Item not added.', rad, block.containerItems);
  assertEquals(rad.container, block.container.lastChild);
}
/**
 * Tests adding of containerItems to blocks.
 */
Tests adding of containerItems to blocks.
Tests adding of containerItems to blocks .
function testBlockAddItem() {
  var rad = new vsaq.questionnaire.items.RadioItem('radio1_id', [], 'radio1');
  block.addItem(rad);
  assertContains('Item not added.', rad, block.containerItems);
  assertEquals(rad.container, block.container.lastChild);
}
function testBlockAddItem ( ) { var rad = new vsaq . questionnaire . items . RadioItem ( 'radio1_id' , [ ] , 'radio1' ) ; block . addItem ( rad ) ; assertContains ( 'Item not added.' , rad , block . containerItems ) ; assertEquals ( rad . container , block . container . lastChild ) ; }
Tests adding of containerItems to blocks.
Tests adding of containerItems to blocks .