mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 23:25:26 +02:00
[cleanup] Fix NON-NLS-<n> warnings and fix mismatched Bundle-SymbolicName
This commit is contained in:
parent
f3a88b6106
commit
6be14ac4e2
10 changed files with 293 additions and 293 deletions
|
@ -1,7 +1,7 @@
|
|||
Manifest-Version: 1.0
|
||||
Bundle-ManifestVersion: 2
|
||||
Bundle-Name: %pluginName
|
||||
Bundle-SymbolicName: org.eclipse.rse.examples.testframework;singleton:=true
|
||||
Bundle-SymbolicName: org.eclipse.rse.tests.framework.examples;singleton:=true
|
||||
Bundle-Version: 1.0.1.qualifier
|
||||
Bundle-Vendor: %providerName
|
||||
Bundle-Localization: plugin
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
/* *******************************************************************************
|
||||
* Copyright (c) 2006 IBM Corporation. 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:
|
||||
* David Dykstal (IBM) - initial contribution.
|
||||
* *******************************************************************************/
|
||||
package org.eclipse.rse.tests.framework.examples;
|
||||
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
public class AnnotatingSuite extends TestSuite {
|
||||
|
||||
public AnnotatingSuite() {
|
||||
super(AnnotatingTests.class);
|
||||
setName("annotation");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/* *******************************************************************************
|
||||
* Copyright (c) 2006 IBM Corporation. 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:
|
||||
* David Dykstal (IBM) - initial contribution.
|
||||
* *******************************************************************************/
|
||||
package org.eclipse.rse.tests.framework.examples;
|
||||
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
public class AnnotatingSuite extends TestSuite {
|
||||
|
||||
public AnnotatingSuite() {
|
||||
super(AnnotatingTests.class);
|
||||
setName("annotation"); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,46 +1,46 @@
|
|||
/* *******************************************************************************
|
||||
* Copyright (c) 2006 IBM Corporation. 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:
|
||||
* David Dykstal (IBM) - initial contribution.
|
||||
* *******************************************************************************/
|
||||
package org.eclipse.rse.tests.framework.examples;
|
||||
|
||||
public class AnnotatingTests extends AbstractTest {
|
||||
|
||||
public void testSuccess01() {
|
||||
remark("Remark 1 for 01");
|
||||
remark("Remark 2 for 01");
|
||||
sleep(500);
|
||||
}
|
||||
|
||||
public void testSuccess02() {
|
||||
remark("Remark 1 for 02");
|
||||
remark("Remark 2 for 02");
|
||||
sleep(500);
|
||||
}
|
||||
|
||||
public void testSuccess03() {
|
||||
remark("Remark 1 for 03");
|
||||
remark("Remark 2 for 03");
|
||||
sleep(500);
|
||||
}
|
||||
|
||||
public void testSuccess04() {
|
||||
remark("Remark 1 for 04");
|
||||
remark("Remark 2 for 04");
|
||||
sleep(500);
|
||||
}
|
||||
|
||||
public void testSuccess05() {
|
||||
remark("Remark 1 for 05");
|
||||
remark("Remark 2 for 05");
|
||||
sleep(500);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/* *******************************************************************************
|
||||
* Copyright (c) 2006 IBM Corporation. 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:
|
||||
* David Dykstal (IBM) - initial contribution.
|
||||
* *******************************************************************************/
|
||||
package org.eclipse.rse.tests.framework.examples;
|
||||
|
||||
public class AnnotatingTests extends AbstractTest {
|
||||
|
||||
public void testSuccess01() {
|
||||
remark("Remark 1 for 01"); //$NON-NLS-1$
|
||||
remark("Remark 2 for 01"); //$NON-NLS-1$
|
||||
sleep(500);
|
||||
}
|
||||
|
||||
public void testSuccess02() {
|
||||
remark("Remark 1 for 02"); //$NON-NLS-1$
|
||||
remark("Remark 2 for 02"); //$NON-NLS-1$
|
||||
sleep(500);
|
||||
}
|
||||
|
||||
public void testSuccess03() {
|
||||
remark("Remark 1 for 03"); //$NON-NLS-1$
|
||||
remark("Remark 2 for 03"); //$NON-NLS-1$
|
||||
sleep(500);
|
||||
}
|
||||
|
||||
public void testSuccess04() {
|
||||
remark("Remark 1 for 04"); //$NON-NLS-1$
|
||||
remark("Remark 2 for 04"); //$NON-NLS-1$
|
||||
sleep(500);
|
||||
}
|
||||
|
||||
public void testSuccess05() {
|
||||
remark("Remark 1 for 05"); //$NON-NLS-1$
|
||||
remark("Remark 2 for 05"); //$NON-NLS-1$
|
||||
sleep(500);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
/* *******************************************************************************
|
||||
* Copyright (c) 2006 IBM Corporation. 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:
|
||||
* David Dykstal (IBM) - initial contribution.
|
||||
* *******************************************************************************/
|
||||
package org.eclipse.rse.tests.framework.examples;
|
||||
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
public class ErrorSuite extends TestSuite {
|
||||
|
||||
public ErrorSuite() {
|
||||
super(ErrorTests.class);
|
||||
setName("errors");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/* *******************************************************************************
|
||||
* Copyright (c) 2006 IBM Corporation. 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:
|
||||
* David Dykstal (IBM) - initial contribution.
|
||||
* *******************************************************************************/
|
||||
package org.eclipse.rse.tests.framework.examples;
|
||||
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
public class ErrorSuite extends TestSuite {
|
||||
|
||||
public ErrorSuite() {
|
||||
super(ErrorTests.class);
|
||||
setName("errors"); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,31 +1,31 @@
|
|||
/* *******************************************************************************
|
||||
* Copyright (c) 2006 IBM Corporation. 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:
|
||||
* David Dykstal (IBM) - initial contribution.
|
||||
* *******************************************************************************/
|
||||
package org.eclipse.rse.tests.framework.examples;
|
||||
|
||||
public class ErrorTests extends AbstractTest {
|
||||
|
||||
public void testError01() {
|
||||
sleep(1000);
|
||||
throw new RuntimeException("generic runtime exception 01");
|
||||
}
|
||||
|
||||
public void testError02() {
|
||||
sleep(1000);
|
||||
throw new RuntimeException("generic runtime exception 02");
|
||||
}
|
||||
|
||||
public void testError03() {
|
||||
sleep(1000);
|
||||
throw new RuntimeException("generic runtime exception 03");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/* *******************************************************************************
|
||||
* Copyright (c) 2006 IBM Corporation. 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:
|
||||
* David Dykstal (IBM) - initial contribution.
|
||||
* *******************************************************************************/
|
||||
package org.eclipse.rse.tests.framework.examples;
|
||||
|
||||
public class ErrorTests extends AbstractTest {
|
||||
|
||||
public void testError01() {
|
||||
sleep(1000);
|
||||
throw new RuntimeException("generic runtime exception 01"); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
public void testError02() {
|
||||
sleep(1000);
|
||||
throw new RuntimeException("generic runtime exception 02"); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
public void testError03() {
|
||||
sleep(1000);
|
||||
throw new RuntimeException("generic runtime exception 03"); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
/* *******************************************************************************
|
||||
* Copyright (c) 2006 IBM Corporation. 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:
|
||||
* David Dykstal (IBM) - initial contribution.
|
||||
* *******************************************************************************/
|
||||
package org.eclipse.rse.tests.framework.examples;
|
||||
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
public class FailureSuite extends TestSuite {
|
||||
|
||||
public FailureSuite() {
|
||||
super(FailureTests.class);
|
||||
setName("failures");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/* *******************************************************************************
|
||||
* Copyright (c) 2006 IBM Corporation. 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:
|
||||
* David Dykstal (IBM) - initial contribution.
|
||||
* *******************************************************************************/
|
||||
package org.eclipse.rse.tests.framework.examples;
|
||||
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
public class FailureSuite extends TestSuite {
|
||||
|
||||
public FailureSuite() {
|
||||
super(FailureTests.class);
|
||||
setName("failures"); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,31 +1,31 @@
|
|||
/* *******************************************************************************
|
||||
* Copyright (c) 2006 IBM Corporation. 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:
|
||||
* David Dykstal (IBM) - initial contribution.
|
||||
* *******************************************************************************/
|
||||
package org.eclipse.rse.tests.framework.examples;
|
||||
|
||||
public class FailureTests extends AbstractTest {
|
||||
|
||||
public void testFailure01() {
|
||||
sleep(50);
|
||||
fail("generic failure 01");
|
||||
}
|
||||
|
||||
public void testFailure02() {
|
||||
sleep(50);
|
||||
fail("generic failure 02");
|
||||
}
|
||||
|
||||
public void testFailure03() {
|
||||
sleep(50);
|
||||
fail("generic failure 03");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/* *******************************************************************************
|
||||
* Copyright (c) 2006 IBM Corporation. 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:
|
||||
* David Dykstal (IBM) - initial contribution.
|
||||
* *******************************************************************************/
|
||||
package org.eclipse.rse.tests.framework.examples;
|
||||
|
||||
public class FailureTests extends AbstractTest {
|
||||
|
||||
public void testFailure01() {
|
||||
sleep(50);
|
||||
fail("generic failure 01"); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
public void testFailure02() {
|
||||
sleep(50);
|
||||
fail("generic failure 02"); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
public void testFailure03() {
|
||||
sleep(50);
|
||||
fail("generic failure 03"); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,41 +1,41 @@
|
|||
/* *******************************************************************************
|
||||
* Copyright (c) 2006 IBM Corporation. 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:
|
||||
* David Dykstal (IBM) - initial contribution.
|
||||
* *******************************************************************************/
|
||||
package org.eclipse.rse.tests.framework.examples;
|
||||
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
public class MixedSuite extends TestSuite {
|
||||
|
||||
public MixedSuite() {
|
||||
super();
|
||||
setName("mixed results");
|
||||
this.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess01"));
|
||||
this.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess02"));
|
||||
this.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess03"));
|
||||
this.addTest(TestSuite.createTest(FailureTests.class, "testFailure01"));
|
||||
this.addTest(TestSuite.createTest(FailureTests.class, "testFailure02"));
|
||||
this.addTest(TestSuite.createTest(FailureTests.class, "testFailure03"));
|
||||
this.addTest(TestSuite.createTest(ErrorTests.class, "testError01"));
|
||||
this.addTest(TestSuite.createTest(ErrorTests.class, "testError02"));
|
||||
this.addTest(TestSuite.createTest(ErrorTests.class, "testError03"));
|
||||
this.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess01"));
|
||||
this.addTest(TestSuite.createTest(FailureTests.class, "testFailure01"));
|
||||
this.addTest(TestSuite.createTest(ErrorTests.class, "testError01"));
|
||||
this.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess02"));
|
||||
this.addTest(TestSuite.createTest(FailureTests.class, "testFailure02"));
|
||||
this.addTest(TestSuite.createTest(ErrorTests.class, "testError02"));
|
||||
this.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess03"));
|
||||
this.addTest(TestSuite.createTest(FailureTests.class, "testFailure03"));
|
||||
this.addTest(TestSuite.createTest(ErrorTests.class, "testError03"));
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/* *******************************************************************************
|
||||
* Copyright (c) 2006 IBM Corporation. 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:
|
||||
* David Dykstal (IBM) - initial contribution.
|
||||
* *******************************************************************************/
|
||||
package org.eclipse.rse.tests.framework.examples;
|
||||
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
public class MixedSuite extends TestSuite {
|
||||
|
||||
public MixedSuite() {
|
||||
super();
|
||||
setName("mixed results"); //$NON-NLS-1$
|
||||
this.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess01")); //$NON-NLS-1$
|
||||
this.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess02")); //$NON-NLS-1$
|
||||
this.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess03")); //$NON-NLS-1$
|
||||
this.addTest(TestSuite.createTest(FailureTests.class, "testFailure01")); //$NON-NLS-1$
|
||||
this.addTest(TestSuite.createTest(FailureTests.class, "testFailure02")); //$NON-NLS-1$
|
||||
this.addTest(TestSuite.createTest(FailureTests.class, "testFailure03")); //$NON-NLS-1$
|
||||
this.addTest(TestSuite.createTest(ErrorTests.class, "testError01")); //$NON-NLS-1$
|
||||
this.addTest(TestSuite.createTest(ErrorTests.class, "testError02")); //$NON-NLS-1$
|
||||
this.addTest(TestSuite.createTest(ErrorTests.class, "testError03")); //$NON-NLS-1$
|
||||
this.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess01")); //$NON-NLS-1$
|
||||
this.addTest(TestSuite.createTest(FailureTests.class, "testFailure01")); //$NON-NLS-1$
|
||||
this.addTest(TestSuite.createTest(ErrorTests.class, "testError01")); //$NON-NLS-1$
|
||||
this.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess02")); //$NON-NLS-1$
|
||||
this.addTest(TestSuite.createTest(FailureTests.class, "testFailure02")); //$NON-NLS-1$
|
||||
this.addTest(TestSuite.createTest(ErrorTests.class, "testError02")); //$NON-NLS-1$
|
||||
this.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess03")); //$NON-NLS-1$
|
||||
this.addTest(TestSuite.createTest(FailureTests.class, "testFailure03")); //$NON-NLS-1$
|
||||
this.addTest(TestSuite.createTest(ErrorTests.class, "testError03")); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,51 +1,51 @@
|
|||
/* *******************************************************************************
|
||||
* Copyright (c) 2006 IBM Corporation. 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:
|
||||
* David Dykstal (IBM) - initial contribution.
|
||||
* *******************************************************************************/
|
||||
package org.eclipse.rse.tests.framework.examples;
|
||||
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
import org.eclipse.rse.tests.framework.ITestSuiteProvider;
|
||||
|
||||
public class MixedSuiteProvider implements ITestSuiteProvider {
|
||||
|
||||
public TestSuite getSuite(String arg) {
|
||||
TestSuite suite = new TestSuite("Mixed Suite, arg = " + arg);
|
||||
if (arg == null || arg.equals("success")) {
|
||||
suite.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess01"));
|
||||
suite.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess02"));
|
||||
suite.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess03"));
|
||||
}
|
||||
if (arg == null || arg.equals("failure")) {
|
||||
suite.addTest(TestSuite.createTest(FailureTests.class, "testFailure01"));
|
||||
suite.addTest(TestSuite.createTest(FailureTests.class, "testFailure02"));
|
||||
suite.addTest(TestSuite.createTest(FailureTests.class, "testFailure03"));
|
||||
}
|
||||
if (arg == null || arg.equals("error")) {
|
||||
suite.addTest(TestSuite.createTest(ErrorTests.class, "testError01"));
|
||||
suite.addTest(TestSuite.createTest(ErrorTests.class, "testError02"));
|
||||
suite.addTest(TestSuite.createTest(ErrorTests.class, "testError03"));
|
||||
}
|
||||
if (arg == null) {
|
||||
suite.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess01"));
|
||||
suite.addTest(TestSuite.createTest(FailureTests.class, "testFailure01"));
|
||||
suite.addTest(TestSuite.createTest(ErrorTests.class, "testError01"));
|
||||
suite.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess02"));
|
||||
suite.addTest(TestSuite.createTest(FailureTests.class, "testFailure02"));
|
||||
suite.addTest(TestSuite.createTest(ErrorTests.class, "testError02"));
|
||||
suite.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess03"));
|
||||
suite.addTest(TestSuite.createTest(FailureTests.class, "testFailure03"));
|
||||
suite.addTest(TestSuite.createTest(ErrorTests.class, "testError03"));
|
||||
}
|
||||
return suite;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/* *******************************************************************************
|
||||
* Copyright (c) 2006 IBM Corporation. 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:
|
||||
* David Dykstal (IBM) - initial contribution.
|
||||
* *******************************************************************************/
|
||||
package org.eclipse.rse.tests.framework.examples;
|
||||
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
import org.eclipse.rse.tests.framework.ITestSuiteProvider;
|
||||
|
||||
public class MixedSuiteProvider implements ITestSuiteProvider {
|
||||
|
||||
public TestSuite getSuite(String arg) {
|
||||
TestSuite suite = new TestSuite("Mixed Suite, arg = " + arg); //$NON-NLS-1$
|
||||
if (arg == null || arg.equals("success")) { //$NON-NLS-1$
|
||||
suite.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess01")); //$NON-NLS-1$
|
||||
suite.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess02")); //$NON-NLS-1$
|
||||
suite.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess03")); //$NON-NLS-1$
|
||||
}
|
||||
if (arg == null || arg.equals("failure")) { //$NON-NLS-1$
|
||||
suite.addTest(TestSuite.createTest(FailureTests.class, "testFailure01")); //$NON-NLS-1$
|
||||
suite.addTest(TestSuite.createTest(FailureTests.class, "testFailure02")); //$NON-NLS-1$
|
||||
suite.addTest(TestSuite.createTest(FailureTests.class, "testFailure03")); //$NON-NLS-1$
|
||||
}
|
||||
if (arg == null || arg.equals("error")) { //$NON-NLS-1$
|
||||
suite.addTest(TestSuite.createTest(ErrorTests.class, "testError01")); //$NON-NLS-1$
|
||||
suite.addTest(TestSuite.createTest(ErrorTests.class, "testError02")); //$NON-NLS-1$
|
||||
suite.addTest(TestSuite.createTest(ErrorTests.class, "testError03")); //$NON-NLS-1$
|
||||
}
|
||||
if (arg == null) {
|
||||
suite.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess01")); //$NON-NLS-1$
|
||||
suite.addTest(TestSuite.createTest(FailureTests.class, "testFailure01")); //$NON-NLS-1$
|
||||
suite.addTest(TestSuite.createTest(ErrorTests.class, "testError01")); //$NON-NLS-1$
|
||||
suite.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess02")); //$NON-NLS-1$
|
||||
suite.addTest(TestSuite.createTest(FailureTests.class, "testFailure02")); //$NON-NLS-1$
|
||||
suite.addTest(TestSuite.createTest(ErrorTests.class, "testError02")); //$NON-NLS-1$
|
||||
suite.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess03")); //$NON-NLS-1$
|
||||
suite.addTest(TestSuite.createTest(FailureTests.class, "testFailure03")); //$NON-NLS-1$
|
||||
suite.addTest(TestSuite.createTest(ErrorTests.class, "testError03")); //$NON-NLS-1$
|
||||
}
|
||||
return suite;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
/* *******************************************************************************
|
||||
* Copyright (c) 2006 IBM Corporation. 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:
|
||||
* David Dykstal (IBM) - initial contribution.
|
||||
* *******************************************************************************/
|
||||
package org.eclipse.rse.tests.framework.examples;
|
||||
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
public class SuccessSuite extends TestSuite {
|
||||
|
||||
public SuccessSuite() {
|
||||
super(SuccessTests.class);
|
||||
setName("successes");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/* *******************************************************************************
|
||||
* Copyright (c) 2006 IBM Corporation. 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:
|
||||
* David Dykstal (IBM) - initial contribution.
|
||||
* *******************************************************************************/
|
||||
package org.eclipse.rse.tests.framework.examples;
|
||||
|
||||
import junit.framework.TestSuite;
|
||||
|
||||
public class SuccessSuite extends TestSuite {
|
||||
|
||||
public SuccessSuite() {
|
||||
super(SuccessTests.class);
|
||||
setName("successes"); //$NON-NLS-1$
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue