Package org.apache.wookie.w3c

Examples of org.apache.wookie.w3c.W3CWidget


    assertEquals("http://people.opera.com/harig/wupdres/resources/out.php?udd-if-none-match", widget.getUpdate());
  }
  // Requires runtime testing
  @Test
  public void ac2(){
    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets-updates/test-suite/test-cases/ta-acquisition2/001/ta-ac-001.wgt");
    assertEquals("http://people.opera.com/harig/wupdres/resources/out.php?udd-if-modified-since", widget.getUpdate());
  }
View Full Code Here


    assertEquals("http://people.opera.com/harig/wupdres/resources/out.php?udd-if-modified-since", widget.getUpdate());
  }
  // Requires runtime testing
  @Test
  public void ac3(){
    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets-updates/test-suite/test-cases/ta-acquisition3/001/ta-ac-001.wgt");
    assertEquals("http://people.opera.com/harig/wupdres/resources/out.php?udd-accept-language", widget.getUpdate());
  }
View Full Code Here

    assertEquals("http://people.opera.com/harig/wupdres/resources/out.php?udd-accept-language", widget.getUpdate());
  }
  // Requires runtime testing
  @Test
  public void ac4(){
    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets-updates/test-suite/test-cases/ta-acquisition4/001/ta-ac-001.wgt");
    assertEquals("http://people.opera.com/harig/wupdres/resources/out.php?udd-cache-control=must-revalidate", widget.getUpdate());
    widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets-updates/test-suite/test-cases/ta-acquisition4/002/ta-ac-002.wgt");
    assertEquals("http://people.opera.com/harig/wupdres/resources/out.php?udd-cache-control=no-cache", widget.getUpdate());
    widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets-updates/test-suite/test-cases/ta-acquisition4/003/ta-ac-003.wgt");
    assertEquals("http://people.opera.com/harig/wupdres/resources/out.php?udd-pragma=no-cache", widget.getUpdate());
  }
View Full Code Here

  }
 
  // Requires runtime testing
  @Test
  public void ac5(){
    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets-updates/test-suite/test-cases/ta-acquisition5/001/ta-ac-001.wgt");
    assertEquals("http://people.opera.com/harig/wupdres/resources/out.php?udd-expires-in=300", widget.getUpdate());
  }
View Full Code Here

    assertEquals("http://people.opera.com/harig/wupdres/resources/out.php?udd-expires-in=300", widget.getUpdate());
  }
 
  @Test
  public void ac6() throws InvalidUDDException{
    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets-updates/test-suite/test-cases/ta-acquisition6/001/ta-ac-001.wgt");
    assertEquals("http://people.opera.com/harig/wupdres/resources/out.php?udd-pass", widget.getUpdate());
    assertNotNull(UpdateUtils.checkForUpdate(widget));
  }
View Full Code Here

    assertNotNull(UpdateUtils.checkForUpdate(widget));
  }

  @Test
  public void ac7() throws InvalidUDDException{
    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets-updates/test-suite/test-cases/ta-acquisition7/001/ta-ac-001.wgt");
    assertEquals("http://people.opera.com/harig/wupdres/resources/out.php?udd-wrong-ct", widget.getUpdate());
    assertNull(UpdateUtils.checkForUpdate(widget));
  }
View Full Code Here

    assertNull(UpdateUtils.checkForUpdate(widget));
  }
 
  @Test
  public void ac81() throws InvalidUDDException{
    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets-updates/test-suite/test-cases/ta-acquisition8/001/ta-ac-001.wgt");
    assertEquals("http://people.opera.com/harig/wupdres/resources/out.php?udd-204", widget.getUpdate());
    assertNull(UpdateUtils.checkForUpdate(widget));
  }
View Full Code Here

    assertNull(UpdateUtils.checkForUpdate(widget));
  }
 
  @Test
  public void ac82() throws InvalidUDDException{
    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets-updates/test-suite/test-cases/ta-acquisition8/002/ta-ac-002.wgt");
    assertEquals("http://people.opera.com/harig/wupdres/resources/out.php?udd-304", widget.getUpdate());
    assertNull(UpdateUtils.checkForUpdate(widget));
  }
View Full Code Here

    assertNull(UpdateUtils.checkForUpdate(widget));
  }
 
  @Test
  public void ac83() throws InvalidUDDException{
    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets-updates/test-suite/test-cases/ta-acquisition8/003/ta-ac-003.wgt");
    assertEquals("http://people.opera.com/harig/wupdres/resources/out.php?udd-udi-204", widget.getUpdate());
    assertNull(UpdateUtils.getUpdate(fac, widget));
  }
View Full Code Here

    assertNull(UpdateUtils.getUpdate(fac, widget));
  }
 
  @Test
  public void ac9() throws InvalidUDDException{
    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets-updates/test-suite/test-cases/ta-acquisition9/001/ta-ac-001.wgt");
    assertEquals("http://people.opera.com/harig/wupdres/resources/out.php?udd-206", widget.getUpdate());
    assertNull(UpdateUtils.checkForUpdate(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.