Examples of IAuthorEntity


Examples of org.apache.wookie.w3c.IAuthorEntity

  @Test
  public void author(){
    W3CWidget widget;
    String dir;
    String test;
    IAuthorEntity author;
   
    dir="lro";
    test="004";
    widget = getWidget(test,dir);
    author = widget.getAuthor();
    addResult("i18n"+dir+test, FormattingUtils.getFormattedWidgetAuthor(author), "םפללחק");
    test="008";
    widget = getWidget(test,dir);
    author = widget.getAuthor();
    addResult("i18n"+dir+test, FormattingUtils.getFormattedWidgetAuthor(author), "םפללחק");
    test="012";
    widget = getWidget(test,dir);
    author = widget.getAuthor();
    addResult("i18n"+dir+test, FormattingUtils.getFormattedWidgetAuthor(author), "םפללחק");
    test="017";
    widget = getWidget(test,dir);
    author = widget.getAuthor();
    addResult("i18n"+dir+test, FormattingUtils.getFormattedWidgetAuthor(author), "םפללחק");
    test="036";
    widget = getWidget(test,dir);
    author = widget.getAuthor();
    addResult("i18n"+dir+test, author.getHref(), "http://widget.example.org/");
    test="037";
    widget = getWidget(test,dir);
    author = widget.getAuthor();
    addResult("i18n"+dir+test,author.getEmail(), "םפללחק");
 
    dir="ltr";
    test="004";
    widget = getWidget(test,dir);
    author = widget.getAuthor();
    addResult("i18n"+dir+test, FormattingUtils.getFormattedWidgetAuthor(author), "The arrow should point right -->");
    test="008";
    widget = getWidget(test,dir);
    author = widget.getAuthor();
    addResult("i18n"+dir+test, FormattingUtils.getFormattedWidgetAuthor(author), "The arrow should point right -->");
    test="012";
    widget = getWidget(test,dir);
    author = widget.getAuthor();
    addResult("i18n"+dir+test, FormattingUtils.getFormattedWidgetAuthor(author), "The arrow should point right -->");
    test="017";
    widget = getWidget(test,dir);
    author = widget.getAuthor();
    addResult("i18n"+dir+test, FormattingUtils.getFormattedWidgetAuthor(author), "The arrow should point right -->");
    test="036";
    widget = getWidget(test,dir);
    author = widget.getAuthor();
    addResult("i18n"+dir+test, author.getHref(), "http://widget.example.org/");
    test="037";
    widget = getWidget(test,dir);
    author = widget.getAuthor();
    addResult("i18n"+dir+test, author.getEmail(), "The arrow should point right -->");
   
    dir="rlo";
    test="004";
    widget = getWidget(test,dir);
    author = widget.getAuthor();
    addResult("i18n"+dir+test, FormattingUtils.getFormattedWidgetAuthor(author), "PASSED");
    test="008";
    widget = getWidget(test,dir);
    author = widget.getAuthor();
    addResult("i18n"+dir+test, FormattingUtils.getFormattedWidgetAuthor(author), "PASSED");
    test="012";
    widget = getWidget(test,dir);
    author = widget.getAuthor();
    addResult("i18n"+dir+test, FormattingUtils.getFormattedWidgetAuthor(author), "PASSED");
    test="017";
    widget = getWidget(test,dir);
    author = widget.getAuthor();
    addResult("i18n"+dir+test, FormattingUtils.getFormattedWidgetAuthor(author), "PASSED");
    test="036";
    widget = getWidget(test,dir);
    author = widget.getAuthor();
    addResult("i18n"+dir+test, author.getHref(), "http://widget.example.org/");
    test="037";
    widget = getWidget(test,dir);
    author = widget.getAuthor();
    addResult("i18n"+dir+test, author.getEmail(), "PASSED");
   
    dir="rtl";
    test="004";
    widget = getWidget(test,dir);
    author = widget.getAuthor();
    addResult("i18n"+dir+test, FormattingUtils.getFormattedWidgetAuthor(author), "The arrow should point right -->");
    test="008";
    widget = getWidget(test,dir);
    author = widget.getAuthor();
    addResult("i18n"+dir+test, FormattingUtils.getFormattedWidgetAuthor(author), "The arrow should point right -->");
    test="012";
    widget = getWidget(test,dir);
    author = widget.getAuthor();
    addResult("i18n"+dir+test, FormattingUtils.getFormattedWidgetAuthor(author), "The arrow should point right -->");
    test="017";
    widget = getWidget(test,dir);
    author = widget.getAuthor();
    addResult("i18n"+dir+test, FormattingUtils.getFormattedWidgetAuthor(author), "The arrow should point right -->");
    test="036";
    widget = getWidget(test,dir);
    author = widget.getAuthor();
    addResult("i18n"+dir+test, author.getHref(), "http://widget.example.org/");
    test="037";
    widget = getWidget(test,dir);
    author = widget.getAuthor();
    addResult("i18n"+dir+test,  author.getEmail(), "The arrow should point right -->");
       
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.