Package org.geoserver.catalog

Examples of org.geoserver.catalog.NamespaceWorkspaceConsistencyListener


        expect(e.getOldValues()).andReturn((List)Arrays.asList("gs"));
        expect(e.getNewValues()).andReturn((List)Arrays.asList("abcd"));

        replay(e, ws, ns, cat);

        new NamespaceWorkspaceConsistencyListener(cat).handleModifyEvent(e);
        verify(ns, cat);
    }
View Full Code Here


        expect(e.getOldValues()).andReturn((List)Arrays.asList("gs"));
        expect(e.getNewValues()).andReturn((List)Arrays.asList("abcd"));

        replay(e, ws, ns, cat);

        new NamespaceWorkspaceConsistencyListener(cat).handleModifyEvent(e);
        verify(ws, cat);
    }
View Full Code Here

        expect(e.getPropertyNames()).andReturn(Arrays.asList("defaultWorkspace"));
        expect(e.getNewValues()).andReturn((List)Arrays.asList(ws));
       
        replay(ns, ws, e, cat);

        new NamespaceWorkspaceConsistencyListener(cat).handleModifyEvent(e);

        verify(ns, ws, cat);
    }
View Full Code Here

        expect(e.getPropertyNames()).andReturn(Arrays.asList("defaultNamespace"));
        expect(e.getNewValues()).andReturn((List)Arrays.asList(ns));
       
        replay(ns, ws, e, cat);

        new NamespaceWorkspaceConsistencyListener(cat).handleModifyEvent(e);

        verify(ns, ws, cat);
    }
View Full Code Here

        expect(e.getSource()).andReturn(ns).anyTimes();

        replay(ds, ws, ns, e, cat);


        new NamespaceWorkspaceConsistencyListener(cat).handlePostModifyEvent(e);
        verify(cat);
    }
View Full Code Here

TOP

Related Classes of org.geoserver.catalog.NamespaceWorkspaceConsistencyListener

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.