Package org.apache.wookie.w3c

Examples of org.apache.wookie.w3c.W3CWidget


    assertNull(UpdateUtils.checkForUpdate(widget));
  }
 
  @Test
  public void ac101() throws InvalidUDDException{
    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets-updates/test-suite/test-cases/ta-acquisition10/001/ta-ac-001.wgt");
    @SuppressWarnings("unused")
    UpdateDescriptionDocument udd = new UpdateDescriptionDocument(widget.getUpdate());
  }
View Full Code Here


    UpdateDescriptionDocument udd = new UpdateDescriptionDocument(widget.getUpdate());
  }

  @Test
  public void ac102() throws InvalidUDDException{
    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets-updates/test-suite/test-cases/ta-acquisition10/002/ta-ac-002.wgt");
    @SuppressWarnings("unused")
    UpdateDescriptionDocument udd = new UpdateDescriptionDocument(widget.getUpdate());
  }
View Full Code Here

    UpdateDescriptionDocument udd = new UpdateDescriptionDocument(widget.getUpdate());
  }
 
  @Test
  public void ac103(){
    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets-updates/test-suite/test-cases/ta-acquisition10/003/ta-ac-003.wgt");
    assertNotNull(UpdateUtils.getUpdate(fac, widget));
  }
View Full Code Here

    assertNotNull(UpdateUtils.getUpdate(fac, widget));
  }
 
  @Test
  public void ac104(){
    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets-updates/test-suite/test-cases/ta-acquisition10/004/ta-ac-004.wgt");
    assertNotNull(UpdateUtils.getUpdate(fac, widget));
  }
View Full Code Here

  public void ac11(){
  }
 
  @Test
  public void ac12() throws InvalidUDDException{
    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets-updates/test-suite/test-cases/ta-acquisition12/001/ta-ac-001.wgt");
    assertNull(UpdateUtils.getUpdate(fac, widget));
  }
View Full Code Here

  //TODO Requires manual testing - break the network connection during testing
  @Ignore
  @Test(expected=InvalidUDDException.class)
  public void ac13() throws InvalidUDDException{
    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets-updates/test-suite/test-cases/ta-acquisition13/001/ta-ac-001.wgt");
    @SuppressWarnings("unused")
    UpdateDescriptionDocument udd = new UpdateDescriptionDocument(widget.getUpdate());
  }
View Full Code Here

   * Tests processing the UDD
   */
 
  @Test
  public void pr1(){
    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets-updates/test-suite/test-cases/ta-processing1/001/ta-pr-001.wgt");
    assertNull(widget.getUpdate());
 
View Full Code Here

    assertNull(widget.getUpdate());
 
 
  @Test(expected=InvalidUDDException.class)
  public void pr201() throws InvalidUDDException{
    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets-updates/test-suite/test-cases/ta-processing2/001/ta-pr-001.wgt");
    @SuppressWarnings("unused")
    UpdateDescriptionDocument udd = new UpdateDescriptionDocument(widget.getUpdate());
 
View Full Code Here

    @SuppressWarnings("unused")
    UpdateDescriptionDocument udd = new UpdateDescriptionDocument(widget.getUpdate());
 
  @Test(expected=InvalidUDDException.class)
  public void pr202() throws InvalidUDDException{
    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets-updates/test-suite/test-cases/ta-processing2/002/ta-pr-002.wgt");
    @SuppressWarnings("unused")
    UpdateDescriptionDocument udd = new UpdateDescriptionDocument(widget.getUpdate());
 
View Full Code Here

 
 
  //TODO Requires runtime testing as the update changes the widget ID
  @Test
  public void pr203(){
    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets-updates/test-suite/test-cases/ta-processing2/003/ta-pr-003.wgt");
    assertNotNull(UpdateUtils.getUpdate(fac, widget));
 
View Full Code Here

TOP

Related Classes of org.apache.wookie.w3c.W3CWidget

Copyright © 2018 www.massapicom. 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.