Package org.apache.wookie.w3c

Examples of org.apache.wookie.w3c.W3CWidget


 
    //
    // Test it works!
    //
    System.out.println(file.getAbsolutePath());
    W3CWidget fpWidget = fac.parse(file);
    assertEquals("hiScore", fpWidget.getPrefences().get(0).getName());
    assertEquals("1000", fpWidget.getPrefences().get(0).getValue());
  }
View Full Code Here


 
    //
    // Test it works!
    //
    System.out.println(file.getAbsolutePath());
    W3CWidget fpWidget = fac.parse(file);
    assertEquals("moderator", fpWidget.getPrefences().get(0).getName());
    assertEquals("true", fpWidget.getPrefences().get(0).getValue());
    assertEquals(1,fpWidget.getPrefences().size());
  }
View Full Code Here

public class ViewModesTest extends ConformanceTest{
 
  @Test
  @Ignore // deprecated
  public void viewa(){
    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets/test-suite/test-cases/ta-viewmodes/000/viewa.wgt");
    assertEquals("windowed",widget.getViewModes());
  }
View Full Code Here

    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets/test-suite/test-cases/ta-viewmodes/000/viewa.wgt");
    assertEquals("windowed",widget.getViewModes());
  }
  @Test
  public void viewb(){
    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets/test-suite/test-cases/ta-viewmodes/001/viewb.wgt");
    assertTrue(widget.getViewModes().equals("floating maximized"));
  }
View Full Code Here

    assertTrue(widget.getViewModes().equals("floating maximized"));
  }
  @Test
  @Ignore // deprecated
  public void viewc(){
    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets/test-suite/test-cases/ta-viewmodes/002/viewc.wgt");
    assertTrue(widget.getViewModes().equals("fullscreen"));
  }
View Full Code Here

    assertTrue(widget.getViewModes().equals("fullscreen"));
  }
  @Test
  @Ignore // deprecated
  public void viewd(){
    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets/test-suite/test-cases/ta-viewmodes/003/viewd.wgt");
    assertTrue(widget.getViewModes().equals("maximized"));
  }
View Full Code Here

    assertTrue(widget.getViewModes().equals("maximized"));
  }
  @Test
  @Ignore // deprecated
  public void viewe(){
    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets/test-suite/test-cases/ta-viewmodes/004/viewe.wgt");
    assertTrue(widget.getViewModes().equals("minimized"));
  }
View Full Code Here

    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets/test-suite/test-cases/ta-viewmodes/004/viewe.wgt");
    assertTrue(widget.getViewModes().equals("minimized"));
  }
  @Test
  public void viewf(){
    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets/test-suite/test-cases/ta-viewmodes/005/viewf.wgt");
    assertEquals("",widget.getViewModes());
  }
View Full Code Here

    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets/test-suite/test-cases/ta-viewmodes/005/viewf.wgt");
    assertEquals("",widget.getViewModes());
  }
  @Test
  public void viewg(){
    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets/test-suite/test-cases/ta-viewmodes/006/viewg.wgt");
    assertTrue(widget.getViewModes().equals("windowed floating maximized"));
  }
View Full Code Here

    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets/test-suite/test-cases/ta-viewmodes/006/viewg.wgt");
    assertTrue(widget.getViewModes().equals("windowed floating maximized"));
  }
  @Test
  public void viewh(){
    W3CWidget widget = processWidgetNoErrors("http://dev.w3.org/2006/waf/widgets/test-suite/test-cases/ta-viewmodes/007/viewh.wgt");
    assertEquals("floating windowed maximized",widget.getViewModes());
  }
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.