Package org.vfny.geoserver.config.validation

Examples of org.vfny.geoserver.config.validation.TestSuiteConfig.addTest()


        testConfig.setName(newName);
        testConfig.setPlugIn(plugIn);
        testConfig.setArgs(new HashMap());
       
        TestSuiteConfig suiteConfig = (TestSuiteConfig) request.getSession().getAttribute(TestSuiteConfig.CURRENTLY_SELECTED_KEY);
        suiteConfig.addTest(testConfig);
        getApplicationState().notifyConfigChanged();
       
        request.getSession().setAttribute(TestConfig.CURRENTLY_SELECTED_KEY, testConfig);
       
        return mapping.findForward("validationTestEditor");           
View Full Code Here


            String val = (String) attributeValues.get(i);
            if(val != null && val != "")
              testConfig.setArgStringValue((String) attributeKeys.get(i), val);
        }
      
        suiteConfig.addTest(testConfig);
        getApplicationState().notifyConfigChanged();
       
        request.getSession().removeAttribute(TestConfig.CURRENTLY_SELECTED_KEY);
       
        return mapping.findForward("validationTest");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.