Package com.volantis.testtools.config

Examples of com.volantis.testtools.config.ConfigValueRemoteQuota


        Assert.assertNotNull("quota map", quotaMap);

        Iterator itr = quotaList.iterator();
        while (itr.hasNext()) {
            ConfigValueRemoteQuota quota = (ConfigValueRemoteQuota) itr.next();
            RemotePolicyQuotaConfiguration config =
                    (RemotePolicyQuotaConfiguration) quotaMap.get(quota.url);
            Assert.assertEquals("Percentage for URL " + quota.url,
                    quota.percentage, config.getPercentage());
        }
View Full Code Here


                // Include minimal requirements for dummy XML repository.
                super.setUp(config);
                // Add in the remote quota cache stuff
                // First an entry for the global settings
                List quotaListGlobal = new ArrayList();
                quotaListGlobal.add(new ConfigValueRemoteQuota(
                        "http://global-one.com", 60));
                quotaListGlobal.add(new ConfigValueRemoteQuota(
                        "http://global-two.com", 40));
                config.remotePolicyQuotaList = quotaListGlobal;

                config.remoteRepositoryTimeout = new Integer(9);
            }
View Full Code Here

TOP

Related Classes of com.volantis.testtools.config.ConfigValueRemoteQuota

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.