Package org.sgx.yuigwt.yuitest1.gallery.test.editors

Examples of org.sgx.yuigwt.yuitest1.gallery.test.editors.PropertyHaverEditorTest1$Person


    // jyui
    tests.add(new JYuiTest1());
    tests.add(new JYuiTest2());
   
    tests.add(new GwtWidgetsTest2());
   

    _instance = this;
  }
View Full Code Here


   * Will be used for creating MainMenu instances of this UIBinder widget.
   * @return a new MainMenu
   */
  @UiFactory
  MainMenu makeMainMenu() {
    return new MainMenu(y);
  }
View Full Code Here

   
    // uibinder
    tests.add(new UsingCompositeDirectlyTest());
    tests.add(new UIBinderTest2());
    tests.add(new UIBinderAloneButtonTest1());
    tests.add(new UIBinderUserGuideTest());
    tests.add(new NestedWidget1Test());
    tests.add(new UIBinderComposingTest());
    tests.add(new MainPanelTest());
    tests.add(new UIBinderAloneAutocompleteTest1());
    tests.add(new ApplyDifferentXMLTest());
View Full Code Here

    // tests.add(new BootstrapDropdown1());
    tests.add(new TreeViewTest3_yui3treeviewng());

    // YQL
    tests.add(new YQLTest1());
    tests.add(new YQLDescTableTest1());
    tests.add(new YQLYuiGalleryTest1());
    tests.add(new YQLStorageTest1());

    // editor
//    tests.add(new BooleanEditorTest1());
View Full Code Here

    // YQL
    tests.add(new YQLTest1());
    tests.add(new YQLDescTableTest1());
    tests.add(new YQLYuiGalleryTest1());
    tests.add(new YQLStorageTest1());

    // editor
//    tests.add(new BooleanEditorTest1());
//    tests.add(new PropertyHaverEditorTest1());
//    tests.add(new BeanEditorTest1());
View Full Code Here

    // tests.add(new DataTableColumnResizeTest1());
    // tests.add(new BootstrapDropdown1());
    tests.add(new TreeViewTest3_yui3treeviewng());

    // YQL
    tests.add(new YQLTest1());
    tests.add(new YQLDescTableTest1());
    tests.add(new YQLYuiGalleryTest1());
    tests.add(new YQLStorageTest1());

    // editor
View Full Code Here

    tests.add(new TreeViewTest3_yui3treeviewng());

    // YQL
    tests.add(new YQLTest1());
    tests.add(new YQLDescTableTest1());
    tests.add(new YQLYuiGalleryTest1());
    tests.add(new YQLStorageTest1());

    // editor
//    tests.add(new BooleanEditorTest1());
//    tests.add(new PropertyHaverEditorTest1());
View Full Code Here

    tests.add(new UIBinderTest2());
    tests.add(new UIBinderAloneButtonTest1());
    tests.add(new UIBinderUserGuideTest());
    tests.add(new NestedWidget1Test());
    tests.add(new UIBinderComposingTest());
    tests.add(new MainPanelTest());
    tests.add(new UIBinderAloneAutocompleteTest1());
    tests.add(new ApplyDifferentXMLTest());
   
   
   
View Full Code Here

  private static final long serialVersionUID = 1L;

  public HomePage(final PageParameters parameters) {
    super(parameters);

    setDefaultModel(new CompoundPropertyModel<Person>(new Person()));
   
    Form<Void> form = new Form<Void>("form");
   
    form.add(new TextField("name").add(new PropertyValidator()));
    form.add(new TextField("email").add(new PropertyValidator()));
View Full Code Here

  private static Log log = LogFactory.getInstance().getLog("firefly-system");
  public static ApplicationContext xmlApplicationContext = new XmlApplicationContext();

  @Test
  public void testXmlInject() {
    Person person = xmlApplicationContext.getBean("person");
    Assert.assertThat(person.getName(), is("Jack"));
    PersonService personService = xmlApplicationContext
        .getBean("personService");
    List<Object> l = personService.getTestList();
    Assert.assertThat(l.size(), greaterThan(0));
    int i = 0;
    for (Object p : l) {
      if (p instanceof Person) {
        person = (Person) p;
        i++;
        log.debug(person.getName());
      } else if (p instanceof Map) {
        @SuppressWarnings("unchecked")
        Map<Object, Object> map = (Map<Object, Object>)p;
        log.info(map.toString());
        Assert.assertThat(map.entrySet().size(), greaterThan(0));
View Full Code Here

TOP

Related Classes of org.sgx.yuigwt.yuitest1.gallery.test.editors.PropertyHaverEditorTest1$Person

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.