diff options
author | jeffliu | 2006-06-19 13:22:19 +0000 |
---|---|---|
committer | jeffliu | 2006-06-19 13:22:19 +0000 |
commit | 1d52372bc8f8b7e1c585e73b43944847941890b8 (patch) | |
tree | 3662a8456bc8cf88a7e2109ef048895eb8f8e722 /tests/org.eclipse.wst.wsdl.tests.performance | |
parent | 354658fd33c70d0ebc1732eaebf7d08d0f9ded23 (diff) | |
download | webtools.webservices-1d52372bc8f8b7e1c585e73b43944847941890b8.tar.gz webtools.webservices-1d52372bc8f8b7e1c585e73b43944847941890b8.tar.xz webtools.webservices-1d52372bc8f8b7e1c585e73b43944847941890b8.zip |
[147121] WSDL validation performance tests are broken
Diffstat (limited to 'tests/org.eclipse.wst.wsdl.tests.performance')
49 files changed, 575 insertions, 569 deletions
diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/OpenEditorOAGISWSDLTestcase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/OpenEditorOAGISWSDLTestcase.java index 351fd3cfd..c0b11653d 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/OpenEditorOAGISWSDLTestcase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/OpenEditorOAGISWSDLTestcase.java @@ -1,3 +1,14 @@ +/******************************************************************************* + * Copyright (c) 2005, 2006 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; import java.io.File; @@ -7,8 +18,11 @@ import java.net.MalformedURLException; import java.util.ArrayList; import java.util.Iterator; import java.util.List; + import javax.wsdl.WSDLException; + import junit.framework.Assert; + import org.eclipse.core.resources.IContainer; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IFolder; @@ -30,8 +44,6 @@ import org.eclipse.ui.part.FileEditorInput; public class OpenEditorOAGISWSDLTestcase extends PerformanceTestCase { - private final String ID_WSDL_EDITOR = "org.eclipse.wst.wsdl.ui.internal.WSDLEditor"; - public void testReadWSDL() throws MalformedURLException, WSDLException, CoreException, FileNotFoundException { String oagis80Dir = System.getProperty("oagis80Dir"); @@ -123,7 +135,7 @@ public class OpenEditorOAGISWSDLTestcase extends PerformanceTestCase private void openWSDL(IFile file) throws PartInitException { IWorkbenchWindow workbenchWindow = PlatformUI.getWorkbench().getActiveWorkbenchWindow(); - IEditorPart editor = workbenchWindow.getActivePage().openEditor(new FileEditorInput(file), ID_WSDL_EDITOR, true); + IEditorPart editor = workbenchWindow.getActivePage().openEditor(new FileEditorInput(file), PerformancePlugin.WSDL_EDITOR_ID, true); workbenchWindow.getActivePage().closeEditor(editor, false); } }
\ No newline at end of file diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/OpenStockQuoteWSDLSetup.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/OpenStockQuoteWSDLSetup.java index 5d5c4ceba..305ab619d 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/OpenStockQuoteWSDLSetup.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/OpenStockQuoteWSDLSetup.java @@ -1,20 +1,22 @@ -/********************************************************************** - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2004, 2006 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/cpl-v10.html - * + * http://www.eclipse.org/legal/epl-v10.html + * * Contributors: - * IBM - Initial API and implementation - **********************************************************************/ + * IBM Corporation - initial API and implementation + *******************************************************************************/ package org.eclipse.wst.wsdl.tests.performance; import java.io.IOException; + import junit.framework.Test; import junit.framework.TestCase; import junit.framework.TestSuite; + import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.ResourcesPlugin; diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/OpenStockQuoteWSDLTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/OpenStockQuoteWSDLTestCase.java index 5a7757532..53be5b492 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/OpenStockQuoteWSDLTestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/OpenStockQuoteWSDLTestCase.java @@ -1,18 +1,19 @@ -/********************************************************************** - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2004, 2006 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/cpl-v10.html - * + * http://www.eclipse.org/legal/epl-v10.html + * * Contributors: - * IBM - Initial API and implementation - **********************************************************************/ + * IBM Corporation - initial API and implementation + *******************************************************************************/ package org.eclipse.wst.wsdl.tests.performance; import junit.framework.Test; import junit.framework.TestSuite; + import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IProject; import org.eclipse.core.resources.ResourcesPlugin; @@ -28,8 +29,6 @@ import org.eclipse.ui.part.FileEditorInput; public class OpenStockQuoteWSDLTestCase extends PerformanceTestCase { - private final String EDITOR_ID = "org.eclipse.wst.wsdl.ui.internal.WSDLEditor"; - public static Test suite() { return new TestSuite(OpenStockQuoteWSDLTestCase.class, "OpenStockQuoteWSDLTestCase"); @@ -79,7 +78,7 @@ public class OpenStockQuoteWSDLTestCase extends PerformanceTestCase IProject project = getProject(OpenStockQuoteWSDLSetup.PROJECT_NAME); IEditorInput editorInput = new FileEditorInput((IFile)project.findMember("StockQuote.wsdl")); startMeasuring(); - IEditorPart editorPart = openEditor(editorInput, EDITOR_ID); + IEditorPart editorPart = openEditor(editorInput, PerformancePlugin.WSDL_EDITOR_ID); stopMeasuring(); commitMeasurements(); assertPerformance(); diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/PerformancePlugin.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/PerformancePlugin.java index 478f4ab6d..2e68d5d46 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/PerformancePlugin.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/PerformancePlugin.java @@ -1,19 +1,21 @@ -/********************************************************************** - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2004, 2006 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/cpl-v10.html - * + * http://www.eclipse.org/legal/epl-v10.html + * * Contributors: - * IBM - Initial API and implementation - **********************************************************************/ + * IBM Corporation - initial API and implementation + *******************************************************************************/ package org.eclipse.wst.wsdl.tests.performance; +import java.util.MissingResourceException; +import java.util.ResourceBundle; + import org.eclipse.core.runtime.Plugin; import org.osgi.framework.BundleContext; -import java.util.*; /** * The main plugin class to be used in the desktop. @@ -23,8 +25,15 @@ public class PerformancePlugin extends Plugin { private static PerformancePlugin plugin; //Resource bundle. private ResourceBundle resourceBundle; + + // TODO: These two constants should really be pulled from the plugin which declares it. + // This will avoid "magic string" dependencies which can be easily broken. + public static final String WSDL_EDITOR_ID = "org.eclipse.wst.wsdl.ui.internal.WSDLEditor"; //$NON-NLS-1$ + public static final String WSDL_VALIDATOR_ID = "org.eclipse.wst.wsdl.validation.internal.eclipse.WSDLDelegatingValidator"; //$NON-NLS-1$ + + public static final String BUNDLE_ID = "org.eclipse.wst.wsdl.tests.performance"; //$NON-NLS-1$ - /** + /** * The constructor. */ public PerformancePlugin() { diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ReadOAGISWSDLTestcase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ReadOAGISWSDLTestcase.java index 13d566ef9..0c6968260 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ReadOAGISWSDLTestcase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ReadOAGISWSDLTestcase.java @@ -1,3 +1,14 @@ +/******************************************************************************* + * Copyright (c) 2005, 2006 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; import java.io.File; @@ -5,8 +16,11 @@ import java.io.FileFilter; import java.net.MalformedURLException; import java.util.ArrayList; import java.util.List; + import javax.wsdl.WSDLException; + import junit.framework.Assert; + import org.eclipse.test.performance.Dimension; import org.eclipse.test.performance.PerformanceTestCase; import org.eclipse.wst.wsdl.internal.impl.wsdl4j.WSDLReaderImpl; diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ReadStockQuoteWSDLEMFTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ReadStockQuoteWSDLEMFTestCase.java index 5f7b53d65..7067c7040 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ReadStockQuoteWSDLEMFTestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ReadStockQuoteWSDLEMFTestCase.java @@ -1,13 +1,13 @@ -/********************************************************************** - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2005, 2006 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/cpl-v10.html - * + * http://www.eclipse.org/legal/epl-v10.html + * * Contributors: - * IBM - Initial API and implementation - **********************************************************************/ + * IBM Corporation - initial API and implementation + *******************************************************************************/ package org.eclipse.wst.wsdl.tests.performance; @@ -15,6 +15,7 @@ import java.net.URL; import java.util.Hashtable; import javax.wsdl.Definition; + import junit.framework.Test; import junit.framework.TestSuite; diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ReadStockQuoteWSDLTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ReadStockQuoteWSDLTestCase.java index a78fc6bd4..532caafa3 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ReadStockQuoteWSDLTestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ReadStockQuoteWSDLTestCase.java @@ -1,21 +1,24 @@ -/********************************************************************** - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2004, 2006 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/cpl-v10.html - * + * http://www.eclipse.org/legal/epl-v10.html + * * Contributors: - * IBM - Initial API and implementation - **********************************************************************/ + * IBM Corporation - initial API and implementation + *******************************************************************************/ package org.eclipse.wst.wsdl.tests.performance; import java.net.URL; + import javax.wsdl.Definition; import javax.wsdl.xml.WSDLReader; + import junit.framework.Test; import junit.framework.TestSuite; + import org.eclipse.test.performance.PerformanceTestCase; import org.eclipse.wst.wsdl.internal.impl.wsdl4j.WSDLFactoryImpl; import org.xml.sax.InputSource; diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ValidateOAGISWSDLTestcase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ValidateOAGISWSDLTestcase.java index a4adbb91e..b8d2e2fe2 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ValidateOAGISWSDLTestcase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ValidateOAGISWSDLTestcase.java @@ -1,3 +1,14 @@ +/******************************************************************************* + * Copyright (c) 2005, 2006 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; import java.io.File; diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ValidateOAGISWSITestcase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ValidateOAGISWSITestcase.java index c6a379d5c..1c5dbf89c 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ValidateOAGISWSITestcase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ValidateOAGISWSITestcase.java @@ -1,3 +1,14 @@ +/******************************************************************************* + * Copyright (c) 2005, 2006 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; import java.io.File; diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ValidateStockQuoteWSDLTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ValidateStockQuoteWSDLTestCase.java index e14f84586..76e34a85d 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ValidateStockQuoteWSDLTestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ValidateStockQuoteWSDLTestCase.java @@ -1,13 +1,13 @@ -/********************************************************************** - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2005 2006 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/cpl-v10.html - * + * http://www.eclipse.org/legal/epl-v10.html + * * Contributors: - * IBM - Initial API and implementation - **********************************************************************/ + * IBM Corporation - initial API and implementation + *******************************************************************************/ package org.eclipse.wst.wsdl.tests.performance; diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ValidateStockQuoteWSITestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ValidateStockQuoteWSITestCase.java index 01fed9cdb..01cc30786 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ValidateStockQuoteWSITestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ValidateStockQuoteWSITestCase.java @@ -1,13 +1,13 @@ -/********************************************************************** - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2005, 2006 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/cpl-v10.html - * + * http://www.eclipse.org/legal/epl-v10.html + * * Contributors: - * IBM - Initial API and implementation - **********************************************************************/ + * IBM Corporation - initial API and implementation + *******************************************************************************/ package org.eclipse.wst.wsdl.tests.performance; diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ValidateWSDLProjectTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ValidateWSDLProjectTestCase.java index be5e66070..3fd25a203 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ValidateWSDLProjectTestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/ValidateWSDLProjectTestCase.java @@ -1,13 +1,14 @@ -/********************************************************************** - * Copyright (c) 2004 IBM Corporation and others. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Common Public License v1.0 +/******************************************************************************* + * Copyright (c) 2005, 2006 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/cpl-v10.html - * + * http://www.eclipse.org/legal/epl-v10.html + * * Contributors: - * IBM - Initial API and implementation - **********************************************************************/ + * IBM Corporation - initial API and implementation + *******************************************************************************/ + package org.eclipse.wst.wsdl.tests.performance; import java.io.File; @@ -42,7 +43,7 @@ import org.eclipse.wst.ws.internal.preferences.PersistentWSIContext; */ public class ValidateWSDLProjectTestCase extends PerformanceTestCase { - public static Test suite() { + public static Test suite() { return new TestSuite(ValidateWSDLProjectTestCase.class, "Test"); } @@ -74,7 +75,7 @@ public class ValidateWSDLProjectTestCase extends PerformanceTestCase { IWorkspaceRunnable myRunnable = new OneValidatorOperation( project, - "org.eclipse.wst.wsdl.ui.internal.validation.Validator", + PerformancePlugin.WSDL_VALIDATOR_ID, true, false); IWorkspace workspace = ResourcesPlugin.getWorkspace(); diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open100KBFileTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open100KBFileTestCase.java index cfa35de02..e6baf2cca 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open100KBFileTestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open100KBFileTestCase.java @@ -1,19 +1,18 @@ -package org.eclipse.wst.wsdl.tests.performance.scalability; +/******************************************************************************* + * Copyright (c) 2005, 2006 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 + *******************************************************************************/ -import org.eclipse.wst.common.tests.performance.internal.scalability.OpenEditorTestCase; +package org.eclipse.wst.wsdl.tests.performance.scalability; -public class Open100KBFileTestCase extends OpenEditorTestCase +public class Open100KBFileTestCase extends OpenWSDLEditorTestCase { - protected String getEditorId() - { - return "org.eclipse.wst.wsdl.ui.internal.WSDLEditor"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - protected String getFilePath() { return "data/100KB.wsdl"; diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open10KBFileTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open10KBFileTestCase.java index 623d8c0e3..26a0f7d7d 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open10KBFileTestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open10KBFileTestCase.java @@ -1,19 +1,18 @@ -package org.eclipse.wst.wsdl.tests.performance.scalability; +/******************************************************************************* + * Copyright (c) 2005, 2006 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 + *******************************************************************************/ -import org.eclipse.wst.common.tests.performance.internal.scalability.OpenEditorTestCase; +package org.eclipse.wst.wsdl.tests.performance.scalability; -public class Open10KBFileTestCase extends OpenEditorTestCase +public class Open10KBFileTestCase extends OpenWSDLEditorTestCase { - protected String getEditorId() - { - return "org.eclipse.wst.wsdl.ui.internal.WSDLEditor"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - protected String getFilePath() { return "data/10KB.wsdl"; diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open1KBFileTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open1KBFileTestCase.java index 1f5a00b58..fdd8ec60b 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open1KBFileTestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open1KBFileTestCase.java @@ -1,19 +1,18 @@ -package org.eclipse.wst.wsdl.tests.performance.scalability; +/******************************************************************************* + * Copyright (c) 2005, 2006 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 + *******************************************************************************/ -import org.eclipse.wst.common.tests.performance.internal.scalability.OpenEditorTestCase; +package org.eclipse.wst.wsdl.tests.performance.scalability; -public class Open1KBFileTestCase extends OpenEditorTestCase +public class Open1KBFileTestCase extends OpenWSDLEditorTestCase { - protected String getEditorId() - { - return "org.eclipse.wst.wsdl.ui.internal.WSDLEditor"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - protected String getFilePath() { return "data/1KB.wsdl"; diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open1MBFileTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open1MBFileTestCase.java index 20ac5cc60..338b5a8ca 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open1MBFileTestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open1MBFileTestCase.java @@ -1,19 +1,18 @@ -package org.eclipse.wst.wsdl.tests.performance.scalability; +/******************************************************************************* + * Copyright (c) 2005, 2006 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 + *******************************************************************************/ -import org.eclipse.wst.common.tests.performance.internal.scalability.OpenEditorTestCase; +package org.eclipse.wst.wsdl.tests.performance.scalability; -public class Open1MBFileTestCase extends OpenEditorTestCase +public class Open1MBFileTestCase extends OpenWSDLEditorTestCase { - protected String getEditorId() - { - return "org.eclipse.wst.wsdl.ui.internal.WSDLEditor"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - protected String getFilePath() { return "data/1MB.wsdl"; diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open200KBFileTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open200KBFileTestCase.java index c55b2442a..1f004e271 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open200KBFileTestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open200KBFileTestCase.java @@ -1,19 +1,18 @@ -package org.eclipse.wst.wsdl.tests.performance.scalability; +/******************************************************************************* + * Copyright (c) 2005, 2006 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 + *******************************************************************************/ -import org.eclipse.wst.common.tests.performance.internal.scalability.OpenEditorTestCase; +package org.eclipse.wst.wsdl.tests.performance.scalability; -public class Open200KBFileTestCase extends OpenEditorTestCase +public class Open200KBFileTestCase extends OpenWSDLEditorTestCase { - protected String getEditorId() - { - return "org.eclipse.wst.wsdl.ui.internal.WSDLEditor"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - protected String getFilePath() { return "data/200KB.wsdl"; diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open500KBFileTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open500KBFileTestCase.java index 288a2aa4d..a9f64f048 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open500KBFileTestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Open500KBFileTestCase.java @@ -1,19 +1,18 @@ -package org.eclipse.wst.wsdl.tests.performance.scalability; +/******************************************************************************* + * Copyright (c) 2005, 2006 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 + *******************************************************************************/ -import org.eclipse.wst.common.tests.performance.internal.scalability.OpenEditorTestCase; +package org.eclipse.wst.wsdl.tests.performance.scalability; -public class Open500KBFileTestCase extends OpenEditorTestCase +public class Open500KBFileTestCase extends OpenWSDLEditorTestCase { - protected String getEditorId() - { - return "org.eclipse.wst.wsdl.ui.internal.WSDLEditor"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - protected String getFilePath() { return "data/500KB.wsdl"; diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/OpenWSDLEditorTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/OpenWSDLEditorTestCase.java new file mode 100644 index 000000000..5d413d6f7 --- /dev/null +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/OpenWSDLEditorTestCase.java @@ -0,0 +1,28 @@ +/******************************************************************************* + * Copyright (c) 2006 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.wst.common.tests.performance.internal.scalability.OpenEditorTestCase; +import org.eclipse.wst.wsdl.tests.performance.PerformancePlugin; + +public abstract class OpenWSDLEditorTestCase extends OpenEditorTestCase +{ + protected String getEditorId() + { + return PerformancePlugin.WSDL_EDITOR_ID; + } + + protected String getBundleId() + { + return PerformancePlugin.BUNDLE_ID; + } +} diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx100TestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx100TestCase.java index 193a9a9a1..2ac99640f 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx100TestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx100TestCase.java @@ -1,24 +1,18 @@ -package org.eclipse.wst.wsdl.tests.performance.scalability; +/******************************************************************************* + * Copyright (c) 2005, 2006 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 + *******************************************************************************/ -import org.eclipse.wst.common.tests.performance.internal.scalability.RepeatOpenEditorTestCase; +package org.eclipse.wst.wsdl.tests.performance.scalability; -public class RepeatOpenEditorx100TestCase extends RepeatOpenEditorTestCase +public class RepeatOpenEditorx100TestCase extends RepeatOpenWSDLEditorTestCase { - protected String getEditorId() - { - return "org.eclipse.wst.wsdl.ui.internal.WSDLEditor"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - - protected String getFilePath() - { - return "data/100KB.wsdl"; - } - protected int getRepeatCount() { return 100; diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx10TestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx10TestCase.java index ec4f3d01d..e2d27a545 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx10TestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx10TestCase.java @@ -1,24 +1,18 @@ -package org.eclipse.wst.wsdl.tests.performance.scalability; +/******************************************************************************* + * Copyright (c) 2005, 2006 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 + *******************************************************************************/ -import org.eclipse.wst.common.tests.performance.internal.scalability.RepeatOpenEditorTestCase; +package org.eclipse.wst.wsdl.tests.performance.scalability; -public class RepeatOpenEditorx10TestCase extends RepeatOpenEditorTestCase +public class RepeatOpenEditorx10TestCase extends RepeatOpenWSDLEditorTestCase { - protected String getEditorId() - { - return "org.eclipse.wst.wsdl.ui.internal.WSDLEditor"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - - protected String getFilePath() - { - return "data/100KB.wsdl"; - } - protected int getRepeatCount() { return 10; diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx1TestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx1TestCase.java index d597270ae..dac33d7fb 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx1TestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx1TestCase.java @@ -1,24 +1,18 @@ -package org.eclipse.wst.wsdl.tests.performance.scalability; +/******************************************************************************* + * Copyright (c) 2005, 2006 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 + *******************************************************************************/ -import org.eclipse.wst.common.tests.performance.internal.scalability.RepeatOpenEditorTestCase; +package org.eclipse.wst.wsdl.tests.performance.scalability; -public class RepeatOpenEditorx1TestCase extends RepeatOpenEditorTestCase +public class RepeatOpenEditorx1TestCase extends RepeatOpenWSDLEditorTestCase { - protected String getEditorId() - { - return "org.eclipse.wst.wsdl.ui.internal.WSDLEditor"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - - protected String getFilePath() - { - return "data/100KB.wsdl"; - } - protected int getRepeatCount() { return 1; diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx25TestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx25TestCase.java index 52db3be74..fb102518e 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx25TestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx25TestCase.java @@ -1,24 +1,18 @@ -package org.eclipse.wst.wsdl.tests.performance.scalability; +/******************************************************************************* + * Copyright (c) 2005, 2006 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 + *******************************************************************************/ -import org.eclipse.wst.common.tests.performance.internal.scalability.RepeatOpenEditorTestCase; +package org.eclipse.wst.wsdl.tests.performance.scalability; -public class RepeatOpenEditorx25TestCase extends RepeatOpenEditorTestCase +public class RepeatOpenEditorx25TestCase extends RepeatOpenWSDLEditorTestCase { - protected String getEditorId() - { - return "org.eclipse.wst.wsdl.ui.internal.WSDLEditor"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - - protected String getFilePath() - { - return "data/100KB.wsdl"; - } - protected int getRepeatCount() { return 25; diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx50TestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx50TestCase.java index 58a0aa3ba..4a041d457 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx50TestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx50TestCase.java @@ -1,24 +1,18 @@ -package org.eclipse.wst.wsdl.tests.performance.scalability; +/******************************************************************************* + * Copyright (c) 2005, 2006 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 + *******************************************************************************/ -import org.eclipse.wst.common.tests.performance.internal.scalability.RepeatOpenEditorTestCase; +package org.eclipse.wst.wsdl.tests.performance.scalability; -public class RepeatOpenEditorx50TestCase extends RepeatOpenEditorTestCase +public class RepeatOpenEditorx50TestCase extends RepeatOpenWSDLEditorTestCase { - protected String getEditorId() - { - return "org.eclipse.wst.wsdl.ui.internal.WSDLEditor"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - - protected String getFilePath() - { - return "data/100KB.wsdl"; - } - protected int getRepeatCount() { return 50; diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx75TestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx75TestCase.java index 730ff4c1f..8eb480034 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx75TestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenEditorx75TestCase.java @@ -1,24 +1,18 @@ -package org.eclipse.wst.wsdl.tests.performance.scalability; +/******************************************************************************* + * Copyright (c) 2005, 2006 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 + *******************************************************************************/ -import org.eclipse.wst.common.tests.performance.internal.scalability.RepeatOpenEditorTestCase; +package org.eclipse.wst.wsdl.tests.performance.scalability; -public class RepeatOpenEditorx75TestCase extends RepeatOpenEditorTestCase +public class RepeatOpenEditorx75TestCase extends RepeatOpenWSDLEditorTestCase { - protected String getEditorId() - { - return "org.eclipse.wst.wsdl.ui.internal.WSDLEditor"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - - protected String getFilePath() - { - return "data/100KB.wsdl"; - } - protected int getRepeatCount() { return 75; diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenWSDLEditorTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenWSDLEditorTestCase.java new file mode 100644 index 000000000..795263dab --- /dev/null +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatOpenWSDLEditorTestCase.java @@ -0,0 +1,33 @@ +/******************************************************************************* + * Copyright (c) 2006 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.wst.common.tests.performance.internal.scalability.RepeatOpenEditorTestCase; +import org.eclipse.wst.wsdl.tests.performance.PerformancePlugin; + +public abstract class RepeatOpenWSDLEditorTestCase extends RepeatOpenEditorTestCase +{ + protected String getEditorId() + { + return PerformancePlugin.WSDL_EDITOR_ID; + } + + protected String getBundleId() + { + return PerformancePlugin.BUNDLE_ID; + } + + protected String getFilePath() + { + return "data/100KB.wsdl"; + } +} diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatRunWSDLValidatorTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatRunWSDLValidatorTestCase.java new file mode 100644 index 000000000..1fc54d8da --- /dev/null +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatRunWSDLValidatorTestCase.java @@ -0,0 +1,34 @@ +/******************************************************************************* +* Copyright (c) 2006 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.wst.common.tests.performance.internal.scalability.RepeatRunValidatorTestCase; +import org.eclipse.wst.wsdl.tests.performance.PerformancePlugin; + +public abstract class RepeatRunWSDLValidatorTestCase extends RepeatRunValidatorTestCase +{ + protected String getValidatorId() + { + return PerformancePlugin.WSDL_VALIDATOR_ID; + } + + protected String getBundleId() + { + return PerformancePlugin.BUNDLE_ID; + } + + protected String getFilePath() + { + return "data/100KB.wsdl"; + } + +} diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex100TestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex100TestCase.java index 215de77c3..5d40275ad 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex100TestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex100TestCase.java @@ -1,29 +1,23 @@ -package org.eclipse.wst.wsdl.tests.performance.scalability; +/******************************************************************************* + * Copyright (c) 2005, 2006 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 + *******************************************************************************/ -import org.eclipse.wst.common.tests.performance.internal.scalability.RepeatRunValidatorTestCase; +package org.eclipse.wst.wsdl.tests.performance.scalability; -public class RepeatValidatex100TestCase extends RepeatRunValidatorTestCase +public class RepeatValidatex100TestCase extends RepeatRunWSDLValidatorTestCase { protected int getRepeatCount() { return 100; } - protected String getValidatorId() - { - return "org.eclipse.wst.wsdl.ui.internal.validation.Validator"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - - protected String getFilePath() - { - return "data/100KB.wsdl"; - } - public void testValidatex100() { try diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex10TestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex10TestCase.java index 33278baa4..3efaadf39 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex10TestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex10TestCase.java @@ -1,29 +1,23 @@ -package org.eclipse.wst.wsdl.tests.performance.scalability; +/******************************************************************************* + * Copyright (c) 2005, 2006 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 + *******************************************************************************/ -import org.eclipse.wst.common.tests.performance.internal.scalability.RepeatRunValidatorTestCase; +package org.eclipse.wst.wsdl.tests.performance.scalability; -public class RepeatValidatex10TestCase extends RepeatRunValidatorTestCase +public class RepeatValidatex10TestCase extends RepeatRunWSDLValidatorTestCase { protected int getRepeatCount() { return 10; } - protected String getValidatorId() - { - return "org.eclipse.wst.wsdl.ui.internal.validation.Validator"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - - protected String getFilePath() - { - return "data/100KB.wsdl"; - } - public void testValidatex10() { try diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex1TestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex1TestCase.java index 9128369bc..143d1037b 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex1TestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex1TestCase.java @@ -1,29 +1,23 @@ -package org.eclipse.wst.wsdl.tests.performance.scalability; +/******************************************************************************* + * Copyright (c) 2005, 2006 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 + *******************************************************************************/ -import org.eclipse.wst.common.tests.performance.internal.scalability.RepeatRunValidatorTestCase; +package org.eclipse.wst.wsdl.tests.performance.scalability; -public class RepeatValidatex1TestCase extends RepeatRunValidatorTestCase +public class RepeatValidatex1TestCase extends RepeatRunWSDLValidatorTestCase { protected int getRepeatCount() { return 1; } - protected String getValidatorId() - { - return "org.eclipse.wst.wsdl.ui.internal.validation.Validator"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - - protected String getFilePath() - { - return "data/100KB.wsdl"; - } - public void testValidatex1() { try diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex25TestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex25TestCase.java index 85e2eb99a..68e464d95 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex25TestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex25TestCase.java @@ -1,29 +1,23 @@ -package org.eclipse.wst.wsdl.tests.performance.scalability; +/******************************************************************************* + * Copyright (c) 2005, 2006 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 + *******************************************************************************/ -import org.eclipse.wst.common.tests.performance.internal.scalability.RepeatRunValidatorTestCase; +package org.eclipse.wst.wsdl.tests.performance.scalability; -public class RepeatValidatex25TestCase extends RepeatRunValidatorTestCase +public class RepeatValidatex25TestCase extends RepeatRunWSDLValidatorTestCase { protected int getRepeatCount() { return 25; } - protected String getValidatorId() - { - return "org.eclipse.wst.wsdl.ui.internal.validation.Validator"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - - protected String getFilePath() - { - return "data/100KB.wsdl"; - } - public void testValidatex25() { try diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex50TestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex50TestCase.java index bb47cc1e2..771326b41 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex50TestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex50TestCase.java @@ -1,29 +1,23 @@ -package org.eclipse.wst.wsdl.tests.performance.scalability; +/******************************************************************************* + * Copyright (c) 2005, 2006 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 + *******************************************************************************/ -import org.eclipse.wst.common.tests.performance.internal.scalability.RepeatRunValidatorTestCase; +package org.eclipse.wst.wsdl.tests.performance.scalability; -public class RepeatValidatex50TestCase extends RepeatRunValidatorTestCase +public class RepeatValidatex50TestCase extends RepeatRunWSDLValidatorTestCase { protected int getRepeatCount() { return 50; } - protected String getValidatorId() - { - return "org.eclipse.wst.wsdl.ui.internal.validation.Validator"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - - protected String getFilePath() - { - return "data/100KB.wsdl"; - } - public void testValidatex50() { try diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex75TestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex75TestCase.java index 8170c5b0f..ce69bd9c3 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex75TestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RepeatValidatex75TestCase.java @@ -1,29 +1,23 @@ -package org.eclipse.wst.wsdl.tests.performance.scalability; +/******************************************************************************* + * Copyright (c) 2005, 2006 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 + *******************************************************************************/ -import org.eclipse.wst.common.tests.performance.internal.scalability.RepeatRunValidatorTestCase; +package org.eclipse.wst.wsdl.tests.performance.scalability; -public class RepeatValidatex75TestCase extends RepeatRunValidatorTestCase +public class RepeatValidatex75TestCase extends RepeatRunWSDLValidatorTestCase { protected int getRepeatCount() { return 75; } - protected String getValidatorId() - { - return "org.eclipse.wst.wsdl.ui.internal.validation.Validator"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - - protected String getFilePath() - { - return "data/100KB.wsdl"; - } - public void testValidatex75() { try diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RunWSDLValidatorTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RunWSDLValidatorTestCase.java new file mode 100644 index 000000000..2b74db379 --- /dev/null +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/RunWSDLValidatorTestCase.java @@ -0,0 +1,30 @@ +/******************************************************************************* +* Copyright (c) 2006 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.wst.common.tests.performance.internal.scalability.RunValidatorTestCase; +import org.eclipse.wst.wsdl.tests.performance.PerformancePlugin; + +public abstract class RunWSDLValidatorTestCase extends RunValidatorTestCase +{ + + protected String getValidatorId() + { + return PerformancePlugin.WSDL_VALIDATOR_ID; + } + + protected String getBundleId() + { + return PerformancePlugin.BUNDLE_ID; + } + +} diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate1000WSDLsCrossDependsTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate1000WSDLsCrossDependsTestCase.java index 2f920a73b..63a9414bb 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate1000WSDLsCrossDependsTestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate1000WSDLsCrossDependsTestCase.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2001, 2006 IBM Corporation and others. + * Copyright (c) 2006 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 @@ -12,22 +12,11 @@ package org.eclipse.wst.wsdl.tests.performance.scalability; import org.eclipse.core.resources.IProject; -import org.eclipse.wst.common.tests.performance.internal.scalability.RunValidatorTestCase; import org.eclipse.wst.ws.internal.plugin.WSPlugin; import org.eclipse.wst.ws.internal.preferences.PersistentWSIContext; -public class Validate1000WSDLsCrossDependsTestCase extends RunValidatorTestCase +public class Validate1000WSDLsCrossDependsTestCase extends RunWSDLValidatorTestCase { - protected String getValidatorId() - { - return "org.eclipse.wst.wsdl.ui.internal.validation.Validator"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - protected void setUp() throws Exception { WSPlugin.getDefault().getWSIAPContext().updateWSICompliances(PersistentWSIContext.IGNORE_NON_WSI); @@ -43,7 +32,7 @@ public class Validate1000WSDLsCrossDependsTestCase extends RunValidatorTestCase protected String getFilePath() { - return "data/1000WSDLsCrossDepends/sample0.xsd"; + return "data/1000WSDLsCrossDepends/sample0.wsdl"; } public void testValidate1000WSDLsCrossDepends() diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate1000WSDLsNoDependsTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate1000WSDLsNoDependsTestCase.java index 9315110f3..4fb7027f0 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate1000WSDLsNoDependsTestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate1000WSDLsNoDependsTestCase.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2001, 2006 IBM Corporation and others. + * Copyright (c) 2006 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 @@ -12,22 +12,11 @@ package org.eclipse.wst.wsdl.tests.performance.scalability; import org.eclipse.core.resources.IProject; -import org.eclipse.wst.common.tests.performance.internal.scalability.RunValidatorTestCase; import org.eclipse.wst.ws.internal.plugin.WSPlugin; import org.eclipse.wst.ws.internal.preferences.PersistentWSIContext; -public class Validate1000WSDLsNoDependsTestCase extends RunValidatorTestCase +public class Validate1000WSDLsNoDependsTestCase extends RunWSDLValidatorTestCase { - protected String getValidatorId() - { - return "org.eclipse.wst.wsdl.ui.internal.validation.Validator"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - protected void setUp() throws Exception { WSPlugin.getDefault().getWSIAPContext().updateWSICompliances(PersistentWSIContext.IGNORE_NON_WSI); @@ -43,7 +32,7 @@ public class Validate1000WSDLsNoDependsTestCase extends RunValidatorTestCase protected String getFilePath() { - return "data/1000WSDLsNoDepends/sample0.xsd"; + return "data/1000WSDLsNoDepends/sample0.wsdl"; } public void testValidate1000WSDLsNoDepends() diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate1000WSDLsXSDDependsTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate1000WSDLsXSDDependsTestCase.java index 148c2d18c..65770948f 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate1000WSDLsXSDDependsTestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate1000WSDLsXSDDependsTestCase.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2001, 2006 IBM Corporation and others. + * Copyright (c) 2006 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 @@ -12,22 +12,11 @@ package org.eclipse.wst.wsdl.tests.performance.scalability; import org.eclipse.core.resources.IProject; -import org.eclipse.wst.common.tests.performance.internal.scalability.RunValidatorTestCase; import org.eclipse.wst.ws.internal.plugin.WSPlugin; import org.eclipse.wst.ws.internal.preferences.PersistentWSIContext; -public class Validate1000WSDLsXSDDependsTestCase extends RunValidatorTestCase +public class Validate1000WSDLsXSDDependsTestCase extends RunWSDLValidatorTestCase { - protected String getValidatorId() - { - return "org.eclipse.wst.wsdl.ui.internal.validation.Validator"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - protected void setUp() throws Exception { WSPlugin.getDefault().getWSIAPContext().updateWSICompliances(PersistentWSIContext.IGNORE_NON_WSI); @@ -43,7 +32,7 @@ public class Validate1000WSDLsXSDDependsTestCase extends RunValidatorTestCase protected String getFilePath() { - return "data/1000WSDLsXSDDepends/sample0.xsd"; + return "data/1000WSDLsXSDDepends/sample0.wsdl"; } public void testValidate1000WSDLsXSDDepends() diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate100KBFileTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate100KBFileTestCase.java index 7bfc5792c..5d178e16b 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate100KBFileTestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate100KBFileTestCase.java @@ -1,19 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2005, 2006 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.wst.common.tests.performance.internal.scalability.RunValidatorTestCase; -public class Validate100KBFileTestCase extends RunValidatorTestCase +public class Validate100KBFileTestCase extends RunWSDLValidatorTestCase { - protected String getValidatorId() - { - return "org.eclipse.wst.wsdl.ui.internal.validation.Validator"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - protected String getFilePath() { return "data/100KB.wsdl"; diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate100WSDLsCrossDependsTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate100WSDLsCrossDependsTestCase.java index 9499c90ab..b4cb17e56 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate100WSDLsCrossDependsTestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate100WSDLsCrossDependsTestCase.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2001, 2006 IBM Corporation and others. + * Copyright (c) 2006 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 @@ -12,22 +12,11 @@ package org.eclipse.wst.wsdl.tests.performance.scalability; import org.eclipse.core.resources.IProject; -import org.eclipse.wst.common.tests.performance.internal.scalability.RunValidatorTestCase; import org.eclipse.wst.ws.internal.plugin.WSPlugin; import org.eclipse.wst.ws.internal.preferences.PersistentWSIContext; -public class Validate100WSDLsCrossDependsTestCase extends RunValidatorTestCase +public class Validate100WSDLsCrossDependsTestCase extends RunWSDLValidatorTestCase { - protected String getValidatorId() - { - return "org.eclipse.wst.wsdl.ui.internal.validation.Validator"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - protected void setUp() throws Exception { WSPlugin.getDefault().getWSIAPContext().updateWSICompliances(PersistentWSIContext.IGNORE_NON_WSI); @@ -43,7 +32,7 @@ public class Validate100WSDLsCrossDependsTestCase extends RunValidatorTestCase protected String getFilePath() { - return "data/100WSDLsCrossDepends/sample0.xsd"; + return "data/100WSDLsCrossDepends/sample0.wsdl"; } public void testValidate100WSDLsCrossDepends() diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate100WSDLsNoDependsTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate100WSDLsNoDependsTestCase.java index e87030027..161a02d8f 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate100WSDLsNoDependsTestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate100WSDLsNoDependsTestCase.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2001, 2006 IBM Corporation and others. + * Copyright (c) 2006 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 @@ -12,22 +12,11 @@ package org.eclipse.wst.wsdl.tests.performance.scalability; import org.eclipse.core.resources.IProject; -import org.eclipse.wst.common.tests.performance.internal.scalability.RunValidatorTestCase; import org.eclipse.wst.ws.internal.plugin.WSPlugin; import org.eclipse.wst.ws.internal.preferences.PersistentWSIContext; -public class Validate100WSDLsNoDependsTestCase extends RunValidatorTestCase +public class Validate100WSDLsNoDependsTestCase extends RunWSDLValidatorTestCase { - protected String getValidatorId() - { - return "org.eclipse.wst.wsdl.ui.internal.validation.Validator"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - protected void setUp() throws Exception { WSPlugin.getDefault().getWSIAPContext().updateWSICompliances(PersistentWSIContext.IGNORE_NON_WSI); @@ -43,7 +32,7 @@ public class Validate100WSDLsNoDependsTestCase extends RunValidatorTestCase protected String getFilePath() { - return "data/100WSDLsNoDepends/sample0.xsd"; + return "data/100WSDLsNoDepends/sample0.wsdl"; } public void testValidate100WSDLsNoDepends() diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate100WSDLsXSDDependsTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate100WSDLsXSDDependsTestCase.java index 774e8d6be..59d2f5d4b 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate100WSDLsXSDDependsTestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate100WSDLsXSDDependsTestCase.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2001, 2006 IBM Corporation and others. + * Copyright (c) 2006 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 @@ -12,22 +12,11 @@ package org.eclipse.wst.wsdl.tests.performance.scalability; import org.eclipse.core.resources.IProject; -import org.eclipse.wst.common.tests.performance.internal.scalability.RunValidatorTestCase; import org.eclipse.wst.ws.internal.plugin.WSPlugin; import org.eclipse.wst.ws.internal.preferences.PersistentWSIContext; -public class Validate100WSDLsXSDDependsTestCase extends RunValidatorTestCase +public class Validate100WSDLsXSDDependsTestCase extends RunWSDLValidatorTestCase { - protected String getValidatorId() - { - return "org.eclipse.wst.wsdl.ui.internal.validation.Validator"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - protected void setUp() throws Exception { WSPlugin.getDefault().getWSIAPContext().updateWSICompliances(PersistentWSIContext.IGNORE_NON_WSI); diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate10KBFileTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate10KBFileTestCase.java index 9c9fa8c1e..ff2d260d1 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate10KBFileTestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate10KBFileTestCase.java @@ -1,19 +1,18 @@ -package org.eclipse.wst.wsdl.tests.performance.scalability; +/******************************************************************************* + * Copyright (c) 2005, 2006 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 + *******************************************************************************/ -import org.eclipse.wst.common.tests.performance.internal.scalability.RunValidatorTestCase; +package org.eclipse.wst.wsdl.tests.performance.scalability; -public class Validate10KBFileTestCase extends RunValidatorTestCase +public class Validate10KBFileTestCase extends RunWSDLValidatorTestCase { - protected String getValidatorId() - { - return "org.eclipse.wst.wsdl.ui.internal.validation.Validator"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - protected String getFilePath() { return "data/10KB.wsdl"; diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate10WSDLsCrossDependsTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate10WSDLsCrossDependsTestCase.java index 2de6161fb..7b1d0d12e 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate10WSDLsCrossDependsTestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate10WSDLsCrossDependsTestCase.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2001, 2006 IBM Corporation and others. + * Copyright (c) 2006 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 @@ -12,22 +12,11 @@ package org.eclipse.wst.wsdl.tests.performance.scalability; import org.eclipse.core.resources.IProject; -import org.eclipse.wst.common.tests.performance.internal.scalability.RunValidatorTestCase; import org.eclipse.wst.ws.internal.plugin.WSPlugin; import org.eclipse.wst.ws.internal.preferences.PersistentWSIContext; -public class Validate10WSDLsCrossDependsTestCase extends RunValidatorTestCase +public class Validate10WSDLsCrossDependsTestCase extends RunWSDLValidatorTestCase { - protected String getValidatorId() - { - return "org.eclipse.wst.wsdl.ui.internal.validation.Validator"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - protected void setUp() throws Exception { WSPlugin.getDefault().getWSIAPContext().updateWSICompliances(PersistentWSIContext.IGNORE_NON_WSI); @@ -43,7 +32,7 @@ public class Validate10WSDLsCrossDependsTestCase extends RunValidatorTestCase protected String getFilePath() { - return "data/10WSDLsCrossDepends/sample0.xsd"; + return "data/10WSDLsCrossDepends/sample0.wsdl"; } public void testValidate10WSDLsCrossDepends() diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate10WSDLsNoDependsTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate10WSDLsNoDependsTestCase.java index aa59979b2..ba247d519 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate10WSDLsNoDependsTestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate10WSDLsNoDependsTestCase.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2001, 2006 IBM Corporation and others. + * Copyright (c) 2006 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 @@ -12,22 +12,11 @@ package org.eclipse.wst.wsdl.tests.performance.scalability; import org.eclipse.core.resources.IProject; -import org.eclipse.wst.common.tests.performance.internal.scalability.RunValidatorTestCase; import org.eclipse.wst.ws.internal.plugin.WSPlugin; import org.eclipse.wst.ws.internal.preferences.PersistentWSIContext; -public class Validate10WSDLsNoDependsTestCase extends RunValidatorTestCase +public class Validate10WSDLsNoDependsTestCase extends RunWSDLValidatorTestCase { - protected String getValidatorId() - { - return "org.eclipse.wst.wsdl.ui.internal.validation.Validator"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - protected void setUp() throws Exception { WSPlugin.getDefault().getWSIAPContext().updateWSICompliances(PersistentWSIContext.IGNORE_NON_WSI); @@ -43,7 +32,7 @@ public class Validate10WSDLsNoDependsTestCase extends RunValidatorTestCase protected String getFilePath() { - return "data/10WSDLsNoDepends/sample0.xsd"; + return "data/10WSDLsNoDepends/sample0.wsdl"; } public void testValidate10WSDLsNoDepends() diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate10WSDLsXSDDependsTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate10WSDLsXSDDependsTestCase.java index 1f754dd70..6096b9445 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate10WSDLsXSDDependsTestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate10WSDLsXSDDependsTestCase.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2001, 2006 IBM Corporation and others. + * Copyright (c) 2006 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 @@ -12,22 +12,11 @@ package org.eclipse.wst.wsdl.tests.performance.scalability; import org.eclipse.core.resources.IProject; -import org.eclipse.wst.common.tests.performance.internal.scalability.RunValidatorTestCase; import org.eclipse.wst.ws.internal.plugin.WSPlugin; import org.eclipse.wst.ws.internal.preferences.PersistentWSIContext; -public class Validate10WSDLsXSDDependsTestCase extends RunValidatorTestCase +public class Validate10WSDLsXSDDependsTestCase extends RunWSDLValidatorTestCase { - protected String getValidatorId() - { - return "org.eclipse.wst.wsdl.ui.internal.validation.Validator"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - protected void setUp() throws Exception { WSPlugin.getDefault().getWSIAPContext().updateWSICompliances(PersistentWSIContext.IGNORE_NON_WSI); diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate1KBFileTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate1KBFileTestCase.java index 510cc93f2..faa80ae23 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate1KBFileTestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate1KBFileTestCase.java @@ -1,19 +1,18 @@ -package org.eclipse.wst.wsdl.tests.performance.scalability; +/******************************************************************************* + * Copyright (c) 2005, 2006 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 + *******************************************************************************/ -import org.eclipse.wst.common.tests.performance.internal.scalability.RunValidatorTestCase; +package org.eclipse.wst.wsdl.tests.performance.scalability; -public class Validate1KBFileTestCase extends RunValidatorTestCase +public class Validate1KBFileTestCase extends RunWSDLValidatorTestCase { - protected String getValidatorId() - { - return "org.eclipse.wst.wsdl.ui.internal.validation.Validator"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - protected String getFilePath() { return "data/1KB.wsdl"; diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate1MBFileTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate1MBFileTestCase.java index f9f0e0e0b..aa44c0890 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate1MBFileTestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate1MBFileTestCase.java @@ -1,19 +1,18 @@ -package org.eclipse.wst.wsdl.tests.performance.scalability; +/******************************************************************************* + * Copyright (c) 2005, 2006 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 + *******************************************************************************/ -import org.eclipse.wst.common.tests.performance.internal.scalability.RunValidatorTestCase; +package org.eclipse.wst.wsdl.tests.performance.scalability; -public class Validate1MBFileTestCase extends RunValidatorTestCase +public class Validate1MBFileTestCase extends RunWSDLValidatorTestCase { - protected String getValidatorId() - { - return "org.eclipse.wst.wsdl.ui.internal.validation.Validator"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - protected String getFilePath() { return "data/1MB.wsdl"; diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate200KBFileTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate200KBFileTestCase.java index 3f9f840f1..96f4337b9 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate200KBFileTestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate200KBFileTestCase.java @@ -1,19 +1,18 @@ -package org.eclipse.wst.wsdl.tests.performance.scalability; +/******************************************************************************* + * Copyright (c) 2005, 2006 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 + *******************************************************************************/ -import org.eclipse.wst.common.tests.performance.internal.scalability.RunValidatorTestCase; +package org.eclipse.wst.wsdl.tests.performance.scalability; -public class Validate200KBFileTestCase extends RunValidatorTestCase +public class Validate200KBFileTestCase extends RunWSDLValidatorTestCase { - protected String getValidatorId() - { - return "org.eclipse.wst.wsdl.ui.internal.validation.Validator"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - protected String getFilePath() { return "data/200KB.wsdl"; diff --git a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate500KBFileTestCase.java b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate500KBFileTestCase.java index fb28c9bae..bb55ba0c8 100644 --- a/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate500KBFileTestCase.java +++ b/tests/org.eclipse.wst.wsdl.tests.performance/performance/org/eclipse/wst/wsdl/tests/performance/scalability/Validate500KBFileTestCase.java @@ -1,19 +1,18 @@ -package org.eclipse.wst.wsdl.tests.performance.scalability; +/******************************************************************************* + * Copyright (c) 2005, 2006 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 + *******************************************************************************/ -import org.eclipse.wst.common.tests.performance.internal.scalability.RunValidatorTestCase; +package org.eclipse.wst.wsdl.tests.performance.scalability; -public class Validate500KBFileTestCase extends RunValidatorTestCase +public class Validate500KBFileTestCase extends RunWSDLValidatorTestCase { - protected String getValidatorId() - { - return "org.eclipse.wst.wsdl.ui.internal.validation.Validator"; - } - - protected String getBundleId() - { - return "org.eclipse.wst.wsdl.tests.performance"; - } - protected String getFilePath() { return "data/500KB.wsdl"; |