function testTipItem() {
  var el = tip.container;
  assertEquals(String(goog.dom.TagName.DIV), el.tagName);
  assertEquals(TIP_ID, tip.id);
  assertContains('Tip', goog.dom.getTextContent(el));
  assertContains(CAPTION, goog.dom.getTextContent(el));
  assertNotContains('Warning', goog.dom.getTextContent(el));

  el = warn_tip.container;
  assertEquals(String(goog.dom.TagName.DIV), el.tagName);
  assertEquals(WARN_ID, warn_tip.id);
  assertNotContains('Tip', goog.dom.getTextContent(el));
  assertContains(CAPTION, goog.dom.getTextContent(el));
  assertContains('Warning', goog.dom.getTextContent(el));
  assertContains('vsaq-bubble-medium', el.innerHTML);

  el = why_tip.container;
  assertEquals(String(goog.dom.TagName.DIV), el.tagName);
  assertEquals(WHY_ID, why_tip.id);
  assertNotContains('Tip', goog.dom.getTextContent(el));
  assertContains(CAPTION, goog.dom.getTextContent(el));
  assertContains('Warning', goog.dom.getTextContent(el));
  assertContains('vsaq-bubble-medium', el.innerHTML);

  assertEquals(NAME_ID, name_tip.id);
  assertEquals(NAME, name_tip.name);

  assertEquals(TODO_ID, todo_tip.id);
  assertEquals(TODO, todo_tip.todo);

  assertEquals(CUSTOMTITLE_ID, custom_title_tip.id);
  assertEquals(CUSTOMTITLE_TEXT, custom_title_tip.customTitle);
}
/**
 * Tests whether tip items are rendered correctly.
 */
Tests whether tip items are rendered correctly.
Tests whether tip items are rendered correctly .
function testTipItem() {
  var el = tip.container;
  assertEquals(String(goog.dom.TagName.DIV), el.tagName);
  assertEquals(TIP_ID, tip.id);
  assertContains('Tip', goog.dom.getTextContent(el));
  assertContains(CAPTION, goog.dom.getTextContent(el));
  assertNotContains('Warning', goog.dom.getTextContent(el));
  el = warn_tip.container;
  assertEquals(String(goog.dom.TagName.DIV), el.tagName);
  assertEquals(WARN_ID, warn_tip.id);
  assertNotContains('Tip', goog.dom.getTextContent(el));
  assertContains(CAPTION, goog.dom.getTextContent(el));
  assertContains('Warning', goog.dom.getTextContent(el));
  assertContains('vsaq-bubble-medium', el.innerHTML);
  el = why_tip.container;
  assertEquals(String(goog.dom.TagName.DIV), el.tagName);
  assertEquals(WHY_ID, why_tip.id);
  assertNotContains('Tip', goog.dom.getTextContent(el));
  assertContains(CAPTION, goog.dom.getTextContent(el));
  assertContains('Warning', goog.dom.getTextContent(el));
  assertContains('vsaq-bubble-medium', el.innerHTML);
  assertEquals(NAME_ID, name_tip.id);
  assertEquals(NAME, name_tip.name);
  assertEquals(TODO_ID, todo_tip.id);
  assertEquals(TODO, todo_tip.todo);
  assertEquals(CUSTOMTITLE_ID, custom_title_tip.id);
  assertEquals(CUSTOMTITLE_TEXT, custom_title_tip.customTitle);
}
function testTipItem ( ) { var el = tip . container ; assertEquals ( String ( goog . dom . TagName . DIV ) , el . tagName ) ; assertEquals ( TIP_ID , tip . id ) ; assertContains ( 'Tip' , goog . dom . getTextContent ( el ) ) ; assertContains ( CAPTION , goog . dom . getTextContent ( el ) ) ; assertNotContains ( 'Warning' , goog . dom . getTextContent ( el ) ) ; el = warn_tip . container ; assertEquals ( String ( goog . dom . TagName . DIV ) , el . tagName ) ; assertEquals ( WARN_ID , warn_tip . id ) ; assertNotContains ( 'Tip' , goog . dom . getTextContent ( el ) ) ; assertContains ( CAPTION , goog . dom . getTextContent ( el ) ) ; assertContains ( 'Warning' , goog . dom . getTextContent ( el ) ) ; assertContains ( 'vsaq-bubble-medium' , el . innerHTML ) ; el = why_tip . container ; assertEquals ( String ( goog . dom . TagName . DIV ) , el . tagName ) ; assertEquals ( WHY_ID , why_tip . id ) ; assertNotContains ( 'Tip' , goog . dom . getTextContent ( el ) ) ; assertContains ( CAPTION , goog . dom . getTextContent ( el ) ) ; assertContains ( 'Warning' , goog . dom . getTextContent ( el ) ) ; assertContains ( 'vsaq-bubble-medium' , el . innerHTML ) ; assertEquals ( NAME_ID , name_tip . id ) ; assertEquals ( NAME , name_tip . name ) ; assertEquals ( TODO_ID , todo_tip . id ) ; assertEquals ( TODO , todo_tip . todo ) ; assertEquals ( CUSTOMTITLE_ID , custom_title_tip . id ) ; assertEquals ( CUSTOMTITLE_TEXT , custom_title_tip . customTitle ) ; }
Tests whether tip items are rendered correctly.
Tests whether tip items are rendered correctly .