blob: 1c4328513465bbc1a5fa668ede2000069f4f67d9 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2006, 2007 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.wst.wsdl.tests.performance.scalability;
import org.eclipse.core.resources.IProject;
import org.eclipse.wst.ws.internal.plugin.WSPlugin;
import org.eclipse.wst.ws.internal.preferences.PersistentWSIContext;
public class Validate1000WSDLsXSDDependsTestCase extends RunWSDLValidatorTestCase
{
protected void setUp() throws Exception
{
WSPlugin.getDefault().getWSIAPContext().updateWSICompliances(PersistentWSIContext.IGNORE_NON_WSI);
WSPlugin.getDefault().getWSISSBPContext().updateWSICompliances(PersistentWSIContext.IGNORE_NON_WSI);
IProject project = createProject("sp");
String bundleId = getBundleId();
for(int i = 1; i < 1000; i++)
{
copyFile(bundleId, "data/1000WSDLsXSDDepends/sample" + i +".wsdl", project);
}
super.setUp();
}
protected String getFilePath()
{
return "data/1000WSDLsXSDDepends/sample0.wsdl";
}
public void testValidate1000WSDLsXSDDepends()
{
try
{
super.execute();
}
catch (Exception t)
{
fail(t.getMessage());
}
}
}