mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-06 08:35: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
|
Manifest-Version: 1.0
|
||||||
Bundle-ManifestVersion: 2
|
Bundle-ManifestVersion: 2
|
||||||
Bundle-Name: %pluginName
|
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-Version: 1.0.1.qualifier
|
||||||
Bundle-Vendor: %providerName
|
Bundle-Vendor: %providerName
|
||||||
Bundle-Localization: plugin
|
Bundle-Localization: plugin
|
||||||
|
|
|
@ -1,23 +1,23 @@
|
||||||
/* *******************************************************************************
|
/* *******************************************************************************
|
||||||
* Copyright (c) 2006 IBM Corporation. All rights reserved.
|
* Copyright (c) 2006 IBM Corporation. All rights reserved.
|
||||||
* This program and the accompanying materials are made available under the terms
|
* 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
|
* of the Eclipse Public License v1.0 which accompanies this distribution, and is
|
||||||
* available at http://www.eclipse.org/legal/epl-v10.html
|
* available at http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* David Dykstal (IBM) - initial contribution.
|
* David Dykstal (IBM) - initial contribution.
|
||||||
* *******************************************************************************/
|
* *******************************************************************************/
|
||||||
package org.eclipse.rse.tests.framework.examples;
|
package org.eclipse.rse.tests.framework.examples;
|
||||||
|
|
||||||
import junit.framework.TestSuite;
|
import junit.framework.TestSuite;
|
||||||
|
|
||||||
public class AnnotatingSuite extends TestSuite {
|
public class AnnotatingSuite extends TestSuite {
|
||||||
|
|
||||||
public AnnotatingSuite() {
|
public AnnotatingSuite() {
|
||||||
super(AnnotatingTests.class);
|
super(AnnotatingTests.class);
|
||||||
setName("annotation");
|
setName("annotation"); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,46 +1,46 @@
|
||||||
/* *******************************************************************************
|
/* *******************************************************************************
|
||||||
* Copyright (c) 2006 IBM Corporation. All rights reserved.
|
* Copyright (c) 2006 IBM Corporation. All rights reserved.
|
||||||
* This program and the accompanying materials are made available under the terms
|
* 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
|
* of the Eclipse Public License v1.0 which accompanies this distribution, and is
|
||||||
* available at http://www.eclipse.org/legal/epl-v10.html
|
* available at http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* David Dykstal (IBM) - initial contribution.
|
* David Dykstal (IBM) - initial contribution.
|
||||||
* *******************************************************************************/
|
* *******************************************************************************/
|
||||||
package org.eclipse.rse.tests.framework.examples;
|
package org.eclipse.rse.tests.framework.examples;
|
||||||
|
|
||||||
public class AnnotatingTests extends AbstractTest {
|
public class AnnotatingTests extends AbstractTest {
|
||||||
|
|
||||||
public void testSuccess01() {
|
public void testSuccess01() {
|
||||||
remark("Remark 1 for 01");
|
remark("Remark 1 for 01"); //$NON-NLS-1$
|
||||||
remark("Remark 2 for 01");
|
remark("Remark 2 for 01"); //$NON-NLS-1$
|
||||||
sleep(500);
|
sleep(500);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testSuccess02() {
|
public void testSuccess02() {
|
||||||
remark("Remark 1 for 02");
|
remark("Remark 1 for 02"); //$NON-NLS-1$
|
||||||
remark("Remark 2 for 02");
|
remark("Remark 2 for 02"); //$NON-NLS-1$
|
||||||
sleep(500);
|
sleep(500);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testSuccess03() {
|
public void testSuccess03() {
|
||||||
remark("Remark 1 for 03");
|
remark("Remark 1 for 03"); //$NON-NLS-1$
|
||||||
remark("Remark 2 for 03");
|
remark("Remark 2 for 03"); //$NON-NLS-1$
|
||||||
sleep(500);
|
sleep(500);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testSuccess04() {
|
public void testSuccess04() {
|
||||||
remark("Remark 1 for 04");
|
remark("Remark 1 for 04"); //$NON-NLS-1$
|
||||||
remark("Remark 2 for 04");
|
remark("Remark 2 for 04"); //$NON-NLS-1$
|
||||||
sleep(500);
|
sleep(500);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testSuccess05() {
|
public void testSuccess05() {
|
||||||
remark("Remark 1 for 05");
|
remark("Remark 1 for 05"); //$NON-NLS-1$
|
||||||
remark("Remark 2 for 05");
|
remark("Remark 2 for 05"); //$NON-NLS-1$
|
||||||
sleep(500);
|
sleep(500);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,23 +1,23 @@
|
||||||
/* *******************************************************************************
|
/* *******************************************************************************
|
||||||
* Copyright (c) 2006 IBM Corporation. All rights reserved.
|
* Copyright (c) 2006 IBM Corporation. All rights reserved.
|
||||||
* This program and the accompanying materials are made available under the terms
|
* 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
|
* of the Eclipse Public License v1.0 which accompanies this distribution, and is
|
||||||
* available at http://www.eclipse.org/legal/epl-v10.html
|
* available at http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* David Dykstal (IBM) - initial contribution.
|
* David Dykstal (IBM) - initial contribution.
|
||||||
* *******************************************************************************/
|
* *******************************************************************************/
|
||||||
package org.eclipse.rse.tests.framework.examples;
|
package org.eclipse.rse.tests.framework.examples;
|
||||||
|
|
||||||
import junit.framework.TestSuite;
|
import junit.framework.TestSuite;
|
||||||
|
|
||||||
public class ErrorSuite extends TestSuite {
|
public class ErrorSuite extends TestSuite {
|
||||||
|
|
||||||
public ErrorSuite() {
|
public ErrorSuite() {
|
||||||
super(ErrorTests.class);
|
super(ErrorTests.class);
|
||||||
setName("errors");
|
setName("errors"); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,31 +1,31 @@
|
||||||
/* *******************************************************************************
|
/* *******************************************************************************
|
||||||
* Copyright (c) 2006 IBM Corporation. All rights reserved.
|
* Copyright (c) 2006 IBM Corporation. All rights reserved.
|
||||||
* This program and the accompanying materials are made available under the terms
|
* 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
|
* of the Eclipse Public License v1.0 which accompanies this distribution, and is
|
||||||
* available at http://www.eclipse.org/legal/epl-v10.html
|
* available at http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* David Dykstal (IBM) - initial contribution.
|
* David Dykstal (IBM) - initial contribution.
|
||||||
* *******************************************************************************/
|
* *******************************************************************************/
|
||||||
package org.eclipse.rse.tests.framework.examples;
|
package org.eclipse.rse.tests.framework.examples;
|
||||||
|
|
||||||
public class ErrorTests extends AbstractTest {
|
public class ErrorTests extends AbstractTest {
|
||||||
|
|
||||||
public void testError01() {
|
public void testError01() {
|
||||||
sleep(1000);
|
sleep(1000);
|
||||||
throw new RuntimeException("generic runtime exception 01");
|
throw new RuntimeException("generic runtime exception 01"); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testError02() {
|
public void testError02() {
|
||||||
sleep(1000);
|
sleep(1000);
|
||||||
throw new RuntimeException("generic runtime exception 02");
|
throw new RuntimeException("generic runtime exception 02"); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testError03() {
|
public void testError03() {
|
||||||
sleep(1000);
|
sleep(1000);
|
||||||
throw new RuntimeException("generic runtime exception 03");
|
throw new RuntimeException("generic runtime exception 03"); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,23 +1,23 @@
|
||||||
/* *******************************************************************************
|
/* *******************************************************************************
|
||||||
* Copyright (c) 2006 IBM Corporation. All rights reserved.
|
* Copyright (c) 2006 IBM Corporation. All rights reserved.
|
||||||
* This program and the accompanying materials are made available under the terms
|
* 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
|
* of the Eclipse Public License v1.0 which accompanies this distribution, and is
|
||||||
* available at http://www.eclipse.org/legal/epl-v10.html
|
* available at http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* David Dykstal (IBM) - initial contribution.
|
* David Dykstal (IBM) - initial contribution.
|
||||||
* *******************************************************************************/
|
* *******************************************************************************/
|
||||||
package org.eclipse.rse.tests.framework.examples;
|
package org.eclipse.rse.tests.framework.examples;
|
||||||
|
|
||||||
import junit.framework.TestSuite;
|
import junit.framework.TestSuite;
|
||||||
|
|
||||||
public class FailureSuite extends TestSuite {
|
public class FailureSuite extends TestSuite {
|
||||||
|
|
||||||
public FailureSuite() {
|
public FailureSuite() {
|
||||||
super(FailureTests.class);
|
super(FailureTests.class);
|
||||||
setName("failures");
|
setName("failures"); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,31 +1,31 @@
|
||||||
/* *******************************************************************************
|
/* *******************************************************************************
|
||||||
* Copyright (c) 2006 IBM Corporation. All rights reserved.
|
* Copyright (c) 2006 IBM Corporation. All rights reserved.
|
||||||
* This program and the accompanying materials are made available under the terms
|
* 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
|
* of the Eclipse Public License v1.0 which accompanies this distribution, and is
|
||||||
* available at http://www.eclipse.org/legal/epl-v10.html
|
* available at http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* David Dykstal (IBM) - initial contribution.
|
* David Dykstal (IBM) - initial contribution.
|
||||||
* *******************************************************************************/
|
* *******************************************************************************/
|
||||||
package org.eclipse.rse.tests.framework.examples;
|
package org.eclipse.rse.tests.framework.examples;
|
||||||
|
|
||||||
public class FailureTests extends AbstractTest {
|
public class FailureTests extends AbstractTest {
|
||||||
|
|
||||||
public void testFailure01() {
|
public void testFailure01() {
|
||||||
sleep(50);
|
sleep(50);
|
||||||
fail("generic failure 01");
|
fail("generic failure 01"); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testFailure02() {
|
public void testFailure02() {
|
||||||
sleep(50);
|
sleep(50);
|
||||||
fail("generic failure 02");
|
fail("generic failure 02"); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testFailure03() {
|
public void testFailure03() {
|
||||||
sleep(50);
|
sleep(50);
|
||||||
fail("generic failure 03");
|
fail("generic failure 03"); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,41 +1,41 @@
|
||||||
/* *******************************************************************************
|
/* *******************************************************************************
|
||||||
* Copyright (c) 2006 IBM Corporation. All rights reserved.
|
* Copyright (c) 2006 IBM Corporation. All rights reserved.
|
||||||
* This program and the accompanying materials are made available under the terms
|
* 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
|
* of the Eclipse Public License v1.0 which accompanies this distribution, and is
|
||||||
* available at http://www.eclipse.org/legal/epl-v10.html
|
* available at http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* David Dykstal (IBM) - initial contribution.
|
* David Dykstal (IBM) - initial contribution.
|
||||||
* *******************************************************************************/
|
* *******************************************************************************/
|
||||||
package org.eclipse.rse.tests.framework.examples;
|
package org.eclipse.rse.tests.framework.examples;
|
||||||
|
|
||||||
import junit.framework.TestSuite;
|
import junit.framework.TestSuite;
|
||||||
|
|
||||||
public class MixedSuite extends TestSuite {
|
public class MixedSuite extends TestSuite {
|
||||||
|
|
||||||
public MixedSuite() {
|
public MixedSuite() {
|
||||||
super();
|
super();
|
||||||
setName("mixed results");
|
setName("mixed results"); //$NON-NLS-1$
|
||||||
this.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess01"));
|
this.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess01")); //$NON-NLS-1$
|
||||||
this.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess02"));
|
this.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess02")); //$NON-NLS-1$
|
||||||
this.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess03"));
|
this.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess03")); //$NON-NLS-1$
|
||||||
this.addTest(TestSuite.createTest(FailureTests.class, "testFailure01"));
|
this.addTest(TestSuite.createTest(FailureTests.class, "testFailure01")); //$NON-NLS-1$
|
||||||
this.addTest(TestSuite.createTest(FailureTests.class, "testFailure02"));
|
this.addTest(TestSuite.createTest(FailureTests.class, "testFailure02")); //$NON-NLS-1$
|
||||||
this.addTest(TestSuite.createTest(FailureTests.class, "testFailure03"));
|
this.addTest(TestSuite.createTest(FailureTests.class, "testFailure03")); //$NON-NLS-1$
|
||||||
this.addTest(TestSuite.createTest(ErrorTests.class, "testError01"));
|
this.addTest(TestSuite.createTest(ErrorTests.class, "testError01")); //$NON-NLS-1$
|
||||||
this.addTest(TestSuite.createTest(ErrorTests.class, "testError02"));
|
this.addTest(TestSuite.createTest(ErrorTests.class, "testError02")); //$NON-NLS-1$
|
||||||
this.addTest(TestSuite.createTest(ErrorTests.class, "testError03"));
|
this.addTest(TestSuite.createTest(ErrorTests.class, "testError03")); //$NON-NLS-1$
|
||||||
this.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess01"));
|
this.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess01")); //$NON-NLS-1$
|
||||||
this.addTest(TestSuite.createTest(FailureTests.class, "testFailure01"));
|
this.addTest(TestSuite.createTest(FailureTests.class, "testFailure01")); //$NON-NLS-1$
|
||||||
this.addTest(TestSuite.createTest(ErrorTests.class, "testError01"));
|
this.addTest(TestSuite.createTest(ErrorTests.class, "testError01")); //$NON-NLS-1$
|
||||||
this.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess02"));
|
this.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess02")); //$NON-NLS-1$
|
||||||
this.addTest(TestSuite.createTest(FailureTests.class, "testFailure02"));
|
this.addTest(TestSuite.createTest(FailureTests.class, "testFailure02")); //$NON-NLS-1$
|
||||||
this.addTest(TestSuite.createTest(ErrorTests.class, "testError02"));
|
this.addTest(TestSuite.createTest(ErrorTests.class, "testError02")); //$NON-NLS-1$
|
||||||
this.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess03"));
|
this.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess03")); //$NON-NLS-1$
|
||||||
this.addTest(TestSuite.createTest(FailureTests.class, "testFailure03"));
|
this.addTest(TestSuite.createTest(FailureTests.class, "testFailure03")); //$NON-NLS-1$
|
||||||
this.addTest(TestSuite.createTest(ErrorTests.class, "testError03"));
|
this.addTest(TestSuite.createTest(ErrorTests.class, "testError03")); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,51 +1,51 @@
|
||||||
/* *******************************************************************************
|
/* *******************************************************************************
|
||||||
* Copyright (c) 2006 IBM Corporation. All rights reserved.
|
* Copyright (c) 2006 IBM Corporation. All rights reserved.
|
||||||
* This program and the accompanying materials are made available under the terms
|
* 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
|
* of the Eclipse Public License v1.0 which accompanies this distribution, and is
|
||||||
* available at http://www.eclipse.org/legal/epl-v10.html
|
* available at http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* David Dykstal (IBM) - initial contribution.
|
* David Dykstal (IBM) - initial contribution.
|
||||||
* *******************************************************************************/
|
* *******************************************************************************/
|
||||||
package org.eclipse.rse.tests.framework.examples;
|
package org.eclipse.rse.tests.framework.examples;
|
||||||
|
|
||||||
import junit.framework.TestSuite;
|
import junit.framework.TestSuite;
|
||||||
|
|
||||||
import org.eclipse.rse.tests.framework.ITestSuiteProvider;
|
import org.eclipse.rse.tests.framework.ITestSuiteProvider;
|
||||||
|
|
||||||
public class MixedSuiteProvider implements ITestSuiteProvider {
|
public class MixedSuiteProvider implements ITestSuiteProvider {
|
||||||
|
|
||||||
public TestSuite getSuite(String arg) {
|
public TestSuite getSuite(String arg) {
|
||||||
TestSuite suite = new TestSuite("Mixed Suite, arg = " + arg);
|
TestSuite suite = new TestSuite("Mixed Suite, arg = " + arg); //$NON-NLS-1$
|
||||||
if (arg == null || arg.equals("success")) {
|
if (arg == null || arg.equals("success")) { //$NON-NLS-1$
|
||||||
suite.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess01"));
|
suite.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess01")); //$NON-NLS-1$
|
||||||
suite.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess02"));
|
suite.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess02")); //$NON-NLS-1$
|
||||||
suite.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess03"));
|
suite.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess03")); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
if (arg == null || arg.equals("failure")) {
|
if (arg == null || arg.equals("failure")) { //$NON-NLS-1$
|
||||||
suite.addTest(TestSuite.createTest(FailureTests.class, "testFailure01"));
|
suite.addTest(TestSuite.createTest(FailureTests.class, "testFailure01")); //$NON-NLS-1$
|
||||||
suite.addTest(TestSuite.createTest(FailureTests.class, "testFailure02"));
|
suite.addTest(TestSuite.createTest(FailureTests.class, "testFailure02")); //$NON-NLS-1$
|
||||||
suite.addTest(TestSuite.createTest(FailureTests.class, "testFailure03"));
|
suite.addTest(TestSuite.createTest(FailureTests.class, "testFailure03")); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
if (arg == null || arg.equals("error")) {
|
if (arg == null || arg.equals("error")) { //$NON-NLS-1$
|
||||||
suite.addTest(TestSuite.createTest(ErrorTests.class, "testError01"));
|
suite.addTest(TestSuite.createTest(ErrorTests.class, "testError01")); //$NON-NLS-1$
|
||||||
suite.addTest(TestSuite.createTest(ErrorTests.class, "testError02"));
|
suite.addTest(TestSuite.createTest(ErrorTests.class, "testError02")); //$NON-NLS-1$
|
||||||
suite.addTest(TestSuite.createTest(ErrorTests.class, "testError03"));
|
suite.addTest(TestSuite.createTest(ErrorTests.class, "testError03")); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
if (arg == null) {
|
if (arg == null) {
|
||||||
suite.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess01"));
|
suite.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess01")); //$NON-NLS-1$
|
||||||
suite.addTest(TestSuite.createTest(FailureTests.class, "testFailure01"));
|
suite.addTest(TestSuite.createTest(FailureTests.class, "testFailure01")); //$NON-NLS-1$
|
||||||
suite.addTest(TestSuite.createTest(ErrorTests.class, "testError01"));
|
suite.addTest(TestSuite.createTest(ErrorTests.class, "testError01")); //$NON-NLS-1$
|
||||||
suite.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess02"));
|
suite.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess02")); //$NON-NLS-1$
|
||||||
suite.addTest(TestSuite.createTest(FailureTests.class, "testFailure02"));
|
suite.addTest(TestSuite.createTest(FailureTests.class, "testFailure02")); //$NON-NLS-1$
|
||||||
suite.addTest(TestSuite.createTest(ErrorTests.class, "testError02"));
|
suite.addTest(TestSuite.createTest(ErrorTests.class, "testError02")); //$NON-NLS-1$
|
||||||
suite.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess03"));
|
suite.addTest(TestSuite.createTest(SuccessTests.class, "testSuccess03")); //$NON-NLS-1$
|
||||||
suite.addTest(TestSuite.createTest(FailureTests.class, "testFailure03"));
|
suite.addTest(TestSuite.createTest(FailureTests.class, "testFailure03")); //$NON-NLS-1$
|
||||||
suite.addTest(TestSuite.createTest(ErrorTests.class, "testError03"));
|
suite.addTest(TestSuite.createTest(ErrorTests.class, "testError03")); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
return suite;
|
return suite;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,23 +1,23 @@
|
||||||
/* *******************************************************************************
|
/* *******************************************************************************
|
||||||
* Copyright (c) 2006 IBM Corporation. All rights reserved.
|
* Copyright (c) 2006 IBM Corporation. All rights reserved.
|
||||||
* This program and the accompanying materials are made available under the terms
|
* 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
|
* of the Eclipse Public License v1.0 which accompanies this distribution, and is
|
||||||
* available at http://www.eclipse.org/legal/epl-v10.html
|
* available at http://www.eclipse.org/legal/epl-v10.html
|
||||||
*
|
*
|
||||||
* Contributors:
|
* Contributors:
|
||||||
* David Dykstal (IBM) - initial contribution.
|
* David Dykstal (IBM) - initial contribution.
|
||||||
* *******************************************************************************/
|
* *******************************************************************************/
|
||||||
package org.eclipse.rse.tests.framework.examples;
|
package org.eclipse.rse.tests.framework.examples;
|
||||||
|
|
||||||
import junit.framework.TestSuite;
|
import junit.framework.TestSuite;
|
||||||
|
|
||||||
public class SuccessSuite extends TestSuite {
|
public class SuccessSuite extends TestSuite {
|
||||||
|
|
||||||
public SuccessSuite() {
|
public SuccessSuite() {
|
||||||
super(SuccessTests.class);
|
super(SuccessTests.class);
|
||||||
setName("successes");
|
setName("successes"); //$NON-NLS-1$
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue