Package org.geoserver.web

Examples of org.geoserver.web.FormTestPage


        removeObject();       
    }

    @Override
    protected void setupPanel(final List<DataAccessRule> roots) {
        tester.startPage(new FormTestPage(new ComponentBuilder() {
            private static final long serialVersionUID = 1L;
            public Component buildComponent(String id) {               
                return new ConfirmRemovalDataAccessRulePanel(id, roots) {
                    @Override
                    protected IModel<String> canRemove(DataAccessRule data) {
View Full Code Here


public class ConfirmRemovalRolePanelTest extends AbstractConfirmRemovalPanelTest<GeoServerRole> {
    private static final long serialVersionUID = 1L;

    protected void setupPanel(final List<GeoServerRole> roots)  {
       
        tester.startPage(new FormTestPage(new ComponentBuilder() {
            private static final long serialVersionUID = 1L;

            public Component buildComponent(String id) {
                return new ConfirmRemovalRolePanel(id, roots.toArray(new GeoServerRole[roots.size()])) {
                    @Override
View Full Code Here

import org.geoserver.web.GeoServerWicketTestSupport;

public class ConfirmRemovalDataAccessRulePanelTest extends GeoServerWicketTestSupport {

    void setupPanel(final DataAccessRule... roots) {
        tester.startPage(new FormTestPage(new ComponentBuilder() {
           
            public Component buildComponent(String id) {
                return new ConfirmRemovalDataAccessRulePanel(id, roots);
            }
        }));
View Full Code Here

import org.geoserver.web.GeoServerWicketTestSupport;

public class ConfirmRemovalServicePanelTest extends GeoServerWicketTestSupport {
   
    void setupPanel(final ServiceAccessRule... roots) {
        tester.startPage(new FormTestPage(new ComponentBuilder() {
           
            public Component buildComponent(String id) {
                return new ConfirmRemovalServicePanel(id, roots);
            }
        }));
View Full Code Here

import org.geoserver.web.GeoServerWicketTestSupport;

public class ConfirmRemovalUserPanelTest extends GeoServerWicketTestSupport {
   
    void setupPanel(final User... roots) {
        tester.startPage(new FormTestPage(new ComponentBuilder() {
           
            public Component buildComponent(String id) {
                return new ConfirmRemovalUserPanel(id, roots);
            }
        }));
View Full Code Here

TOP

Related Classes of org.geoserver.web.FormTestPage

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.