blob: ce2076130513e1ef205e734bc6c148c369ec4a90 [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 Validate1000WSDLsCrossDependsTestCase 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/1000WSDLsCrossDepends/sample" + i +".wsdl", project);
}
super.setUp();
}
protected String getFilePath()
{
return "data/1000WSDLsCrossDepends/sample0.wsdl";
}
public void testValidate1000WSDLsCrossDepends()
{
try
{
super.execute();
}
catch (Exception t)
{
fail(t.getMessage());
}
}
}