Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 218779 | Differences between
and this patch

Collapse All | Expand All

(-)tasks/trecordtest.html (-1 / +1 lines)
Lines 37-43 Link Here
37
a test from the recording, and opening the test in the test editor. You can
37
a test from the recording, and opening the test in the test editor. You can
38
record a test from Internet Explorer (the default on Windows) or from another
38
record a test from Internet Explorer (the default on Windows) or from another
39
browser.</p>
39
browser.</p>
40
<div class="p">Optionally launch the <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/tasks/rac/tworkwac.html">Agent Controller</a> on the local host or default to the <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/concepts/rac/ciacintro.html">Integrated Agent Controller</a>
40
<div class="p">Optionally launch the <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/tasks/ac/tworkwac.html">Agent Controller</a> on the local host or default to the <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/concepts/ac/ciacintro.html">Integrated Agent Controller</a>
41
<p>If you will record with Internet Explorer, you do not need
41
<p>If you will record with Internet Explorer, you do not need
42
to set your browser preferences. However, this procedure assumes that the
42
to set your browser preferences. However, this procedure assumes that the
43
defaults are set, so you might want to click <span class="menucascade"><span class="uicontrol">Window</span> &gt; <span class="uicontrol">Preferences</span></span>, expand Test, select <span class="uicontrol">HTTP
43
defaults are set, so you might want to click <span class="menucascade"><span class="uicontrol">Window</span> &gt; <span class="uicontrol">Preferences</span></span>, expand Test, select <span class="uicontrol">HTTP
(-)notices.html (+16 lines)
Added Link Here
1
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
2
<html lang="en-us" xml:lang="en-us">
3
<head>
4
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
<link rel="STYLESHEET" HREF="css/book.css" charset="ISO-8859-1" type="text/css">
6
<title>Legal Notices</title>
7
</head>
8
<body>
9
10
<h3><a name="Notices"></a>Notices</h3>
11
<p>The material in this guide is Copyright (c) IBM Corporation and
12
others 2008.</p>
13
<p><a href="about.html">Terms and conditions regarding the use of this
14
guide.</a></p>
15
</body>
16
</html>
(-)src/org/eclipse/hyades/test/tools/ui/common/TestCommonImages.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2005 2008 IBM Corporation and others.
2
 * Copyright (c) 2005, 2008 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials 
3
 * All rights reserved. This program and the accompanying materials 
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 20-26 Link Here
20
 * 
20
 * 
21
 * @author  Paul E. Slauenwhite
21
 * @author  Paul E. Slauenwhite
22
 * @author  Marcelo Paternostro
22
 * @author  Marcelo Paternostro
23
 * @version March 14, 2008
23
 * @version April 3, 2008
24
 * @since   February 1, 2005
24
 * @since   February 1, 2005
25
 */
25
 */
26
public class TestCommonImages
26
public class TestCommonImages
(-)tasks/tcreatingamanualtest.htm (-2 / +1 lines)
Lines 33-43 Link Here
33
</p>
33
</p>
34
34
35
<ol>
35
<ol>
36
	<li>Create a Java or General project.</li>
37
	<li>Open the Test perspective <b>Window &gt; Open Perspective &gt; Other... &gt; Test</b>.</li>
36
	<li>Open the Test perspective <b>Window &gt; Open Perspective &gt; Other... &gt; Test</b>.</li>
38
	<li>Click <b>File &gt; New &gt; Other</b>. The <b>New</b> dialog appears.</li>
37
	<li>Click <b>File &gt; New &gt; Other</b>. The <b>New</b> dialog appears.</li>
39
	<li>Expand the <b>Test</b> folder, then select <b>TPTP Manual Test</b>.</li>
38
	<li>Expand the <b>Test</b> folder, then select <b>TPTP Manual Test</b>.</li>
40
	<li>Click <b>Next</b>, select the location (the project created in step 1), and name the manual test suite, for example, <i>exampleManualTest</i>.</li>
39
	<li>Click <b>Next</b>, select the location (<i>generalProject</i>), and name the manual test suite, for example, <i>exampleManualTest</i>.</li>
41
	<li>Click <b>Next</b> and optionally provide a description for the manual test suite. Click <b>Finish</b>.</li>
40
	<li>Click <b>Next</b> and optionally provide a description for the manual test suite. Click <b>Finish</b>.</li>
42
	<li>A manual test suite file (exampleManualTest.testsuite) will be created, becomes visible in the Test Navigator and opens in the Manual Test editor.</li>
41
	<li>A manual test suite file (exampleManualTest.testsuite) will be created, becomes visible in the Test Navigator and opens in the Manual Test editor.</li>
43
</ol>
42
</ol>
(-)tasks/tprereqmanualtestconfiguration.htm (-4 / +4 lines)
Lines 34-47 Link Here
34
	<li>Open the <b>Test</b> perspective. Select <b>Window</b> &gt; <b>Open Perspective</b> &gt; <b>Other...</b> &gt; <b>Test</b> &gt; <b>OK</b>.</li>
34
	<li>Open the <b>Test</b> perspective. Select <b>Window</b> &gt; <b>Open Perspective</b> &gt; <b>Other...</b> &gt; <b>Test</b> &gt; <b>OK</b>.</li>
35
	<li>For local deployments:
35
	<li>For local deployments:
36
	  <ol>
36
	  <ol>
37
	    <li>Optionally launch the <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/tasks/rac/tworkwac.html">Agent Controller</a> on the local host or default to the <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/concepts/rac/ciacintro.html">Integrated Agent Controller</a>.</li>
37
	    <li>Optionally launch the <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/tasks/ac/tworkwac.html">Agent Controller</a> on the local host or default to the <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/concepts/rac/ciacintro.html">Integrated Agent Controller</a>.</li>
38
	    
38
	    
39
	    <li>Optionally create a test deployment or default to the <i>local_deployment</i> deployment.</li>
39
	    <li>Optionally create a test deployment or default to the <i>local_deployment</i> deployment.</li>
40
	  </ol>
40
	  </ol>
41
	</li>
41
	</li>
42
	<li>For remote deployments:
42
	<li>For remote deployments:
43
	  <ol>
43
	  <ol>
44
	    <li>Launch the <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/tasks/rac/tworkwac.html">Agent Controller</a> on the remote host.</li>
44
	    <li>Launch the <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/tasks/ac/tworkwac.html">Agent Controller</a> on the remote host.</li>
45
	    <li>Create a test deployment to the remote host.</li>
45
	    <li>Create a test deployment to the remote host.</li>
46
	  </ol>
46
	  </ol>
47
	</li>
47
	</li>
Lines 56-63 Link Here
56
<p><strong>Related tasks</strong><br/>
56
<p><strong>Related tasks</strong><br/>
57
   <a href="tdeploymentintro.htm">Creating a test deployment</a><br/>
57
   <a href="tdeploymentintro.htm">Creating a test deployment</a><br/>
58
   <a href="trunningmanualtestsuite.htm">Running a manual test</a><br/>
58
   <a href="trunningmanualtestsuite.htm">Running a manual test</a><br/>
59
   <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/tasks/rac/tiactesting.html">Testing with a local deployment</a><br/>
59
   <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/tasks/ac/tiactesting.html">Testing with a local deployment</a><br/>
60
   <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/tasks/rac/tworkwac.html">Working with the Agent Controller</a><br/>
60
   <a href="../../org.eclipse.tptp.platform.agentcontroller.doc.user/tasks/ac/tworkwac.html">Working with the Agent Controller</a><br/>
61
   
61
   
62
</p>
62
</p>
63
</body>
63
</body>
(-)concepts/cmanualtestoverview.htm (-1 / +3 lines)
Lines 3-9 Link Here
3
<html lang="en-us" xml:lang="en-us">
3
<html lang="en-us" xml:lang="en-us">
4
<!-- 
4
<!-- 
5
/**********************************************************************
5
/**********************************************************************
6
 * Copyright (c) 2004, 2007 IBM Corporation.
6
 * Copyright (c) 2004, 2008 IBM Corporation.
7
 * All rights reserved.   This content
7
 * All rights reserved.   This content
8
 * is made available under the terms of the Eclipse Public License v1.0
8
 * is made available under the terms of the Eclipse Public License v1.0
9
 * which accompanies this distribution, and is available at
9
 * which accompanies this distribution, and is available at
Lines 43-48 Link Here
43
43
44
<div>
44
<div>
45
<blockquote>
45
<blockquote>
46
<div class="ulchildlink"><b><a href="../tasks/tcreateGeneralProject.htm">Creating a general project</a></b><br />
47
This section describes the procedure for creating a general project.</div>
46
<div class="ulchildlink"><b><a href="../tasks/tcreatingamanualtest.htm">Creating a manual test</a></b><br />
48
<div class="ulchildlink"><b><a href="../tasks/tcreatingamanualtest.htm">Creating a manual test</a></b><br />
47
This section describes the procedure for creating a manual test suite.</div>
49
This section describes the procedure for creating a manual test suite.</div>
48
<div class="ulchildlink"><b><a href="../tasks/tediting_manual_test.htm">Editing a manual test</a></b><br />
50
<div class="ulchildlink"><b><a href="../tasks/tediting_manual_test.htm">Editing a manual test</a></b><br />
(-)toc/manual_toc.xml (+1 lines)
Lines 15-20 Link Here
15
<?NLS TYPE="org.eclipse.help.toc"?>
15
<?NLS TYPE="org.eclipse.help.toc"?>
16
<toc label="Testing manually" link_to="../org.eclipse.hyades.test.doc.user/toc/comptest_toc.xml#additional_test_types">
16
<toc label="Testing manually" link_to="../org.eclipse.hyades.test.doc.user/toc/comptest_toc.xml#additional_test_types">
17
	<topic label="Testing manually" href="concepts/cmanualtestoverview.htm">
17
	<topic label="Testing manually" href="concepts/cmanualtestoverview.htm">
18
        <topic label="Creating a General project" href="tasks/tcreateGeneralProject.htm"/>
18
		<topic label="Creating a manual test" href="tasks/tcreatingamanualtest.htm"/>
19
		<topic label="Creating a manual test" href="tasks/tcreatingamanualtest.htm"/>
19
	    <topic label="Editing a manual test" href="tasks/tediting_manual_test.htm"/>
20
	    <topic label="Editing a manual test" href="tasks/tediting_manual_test.htm"/>
20
	    <topic label="Running a manual test suite" href="tasks/trunningmanualtestsuite.htm">
21
	    <topic label="Running a manual test suite" href="tasks/trunningmanualtestsuite.htm">
(-)notices.html (+16 lines)
Added Link Here
1
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
2
<html lang="en-us" xml:lang="en-us">
3
<head>
4
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
<link rel="STYLESHEET" HREF="css/book.css" charset="ISO-8859-1" type="text/css">
6
<title>Legal Notices</title>
7
</head>
8
<body>
9
10
<h3><a name="Notices"></a>Notices</h3>
11
<p>The material in this guide is Copyright (c) IBM Corporation and
12
others 2008.</p>
13
<p><a href="about.html">Terms and conditions regarding the use of this
14
guide.</a></p>
15
</body>
16
</html>
(-)tasks/tcreateGeneralProject.htm (+43 lines)
Added Link Here
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
2
<html lang="en-us" xml:lang="en-us">
3
<!-- 
4
/**********************************************************************
5
 * Copyright (c) 2008 IBM Corporation.
6
 * All rights reserved.   This content
7
 * is made available under the terms of the Eclipse Public License v1.0
8
 * which accompanies this distribution, and is available at
9
 * http://www.eclipse.org/legal/epl-v10.html        
10
 * $Id$
11
 *
12
 * Contributors:
13
 * IBM - Initial contribution
14
 **********************************************************************/  
15
 -->
16
<head>
17
<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1"/>
18
<link rel=StyleSheet href="../css/book.css" type="text/css"/>
19
<title>Creating a general project</title>
20
</head>
21
22
<body>
23
24
<h1>Creating a general project</h1>
25
<p>
26
For this example, we create a general project named <i>generalProject</i>.
27
</p>
28
29
<ol>
30
	<li>
31
	Follow the instructions in <a href="../../org.eclipse.platform.doc.user/tasks/tasks-42.htm">Creating a project</a> to create a general project
32
	named <i>generalProject</i>.
33
	</li>
34
</ol>
35
36
<p>
37
<b>Related tasks</b><br/>
38
<a href="../../org.eclipse.platform.doc.user/concepts/concepts-12.htm">Resources</a><br/>
39
</p>
40
41
</body>
42
43
</html>
(-)src/org/eclipse/hyades/test/core/internal/launch/processes/TestExecutionProcess.java (-2 / +5 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2005, 2007 ,2008 IBM Corporation and others.
2
 * Copyright (c) 2005, 2008 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials 
3
 * All rights reserved. This program and the accompanying materials 
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 50-56 Link Here
50
 * Fake process that represents a Hyades Execution Session. The lifecycle of
50
 * Fake process that represents a Hyades Execution Session. The lifecycle of
51
 * this process is mapped to the one of an IExecutor Execution Component.
51
 * this process is mapped to the one of an IExecutor Execution Component.
52
 * 
52
 * 
53
 * @author jcanches
53
 * @author  Julien Canches
54
 * @author  Paul E. Slauenwhite
55
 * @version April 3, 2008
56
 * @since   February 8, 2005
54
 */
57
 */
55
public class TestExecutionProcess implements IProcess {
58
public class TestExecutionProcess implements IProcess {
56
59
(-)src/org/eclipse/hyades/test/core/launch/delegates/AbstractLaunchConfigurationDelegate2.java (-3 / +7 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2005, 2007 ,2008 IBM Corporation and others.
2
 * Copyright (c) 2005, 2008 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials 
3
 * All rights reserved. This program and the accompanying materials 
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 51-58 Link Here
51
 * Sub-classes should implement <code>getLaunchedElement(ILaunchConfiguration)</code>,
51
 * Sub-classes should implement <code>getLaunchedElement(ILaunchConfiguration)</code>,
52
 * <code>invokeTestExecutionHarness(ILaunchConfiguration, String, StringBuffer)</code>.
52
 * <code>invokeTestExecutionHarness(ILaunchConfiguration, String, StringBuffer)</code>.
53
 * They should usually also override <code>validate(ILaunchConfiguration)</code>.
53
 * They should usually also override <code>validate(ILaunchConfiguration)</code>.
54
 * @author jcanches
54
 * 
55
 * @since 3.1
55
 * 
56
 * @author  Julien Canches
57
 * @author  Paul E. Slauenwhite
58
 * @version April 3, 2008
59
 * @since   February 8, 2005
56
 */
60
 */
57
public abstract class AbstractLaunchConfigurationDelegate2 implements ILaunchConfigurationDelegate {
61
public abstract class AbstractLaunchConfigurationDelegate2 implements ILaunchConfigurationDelegate {
58
62
(-)src/org/eclipse/hyades/test/tools/core/services/ResourceContentsExtractionService.java (-1 / +4 lines)
Lines 1-5 Link Here
1
/********************************************************************** 
1
/********************************************************************** 
2
 * Copyright (c) 2005 2006, 2007 IBM Corporation and others. 
2
 * Copyright (c) 2006, 2008 IBM Corporation and others. 
3
 * All rights reserved.   This program and the accompanying materials 
3
 * All rights reserved.   This program and the accompanying materials 
4
 * are made available under the terms of the Eclipse Public License v1.0 
4
 * are made available under the terms of the Eclipse Public License v1.0 
5
 * which accompanies this distribution, and is available at 
5
 * which accompanies this distribution, and is available at 
Lines 17-22 Link Here
17
 * Work in progress (currently under development and not functional yet)
17
 * Work in progress (currently under development and not functional yet)
18
 * 
18
 * 
19
 * @author Scott E. Schneider
19
 * @author Scott E. Schneider
20
 * @author  Paul E. Slauenwhite
21
 * @version April 3, 2008
22
 * @since   March 11, 2006
20
 */
23
 */
21
public class ResourceContentsExtractionService extends
24
public class ResourceContentsExtractionService extends
22
		AbstractResourceContentsExtractionService {
25
		AbstractResourceContentsExtractionService {
(-)src/org/eclipse/hyades/test/tools/core/services/AgentControllerVerificationService.java (-2 / +5 lines)
Lines 1-5 Link Here
1
/********************************************************************** 
1
/********************************************************************** 
2
 * Copyright (c) 2005 2006, 2007 IBM Corporation and others. 
2
 * Copyright (c) 2006, 2008 IBM Corporation and others. 
3
 * All rights reserved.   This program and the accompanying materials 
3
 * All rights reserved.   This program and the accompanying materials 
4
 * are made available under the terms of the Eclipse Public License v1.0 
4
 * are made available under the terms of the Eclipse Public License v1.0 
5
 * which accompanies this distribution, and is available at 
5
 * which accompanies this distribution, and is available at 
Lines 22-28 Link Here
22
 * 
22
 * 
23
 * The service identity is 'org.eclipse.hyades.test.core.verify'
23
 * The service identity is 'org.eclipse.hyades.test.core.verify'
24
 * 
24
 * 
25
 * @author Scott E. Schneider
25
 * @author  Scott E. Schneider
26
 * @author  Paul E. Slauenwhite
27
 * @version April 3, 2008
28
 * @since   March 13, 2006
26
 */
29
 */
27
public class AgentControllerVerificationService extends
30
public class AgentControllerVerificationService extends
28
		AbstractAgentControllerVerificationService {
31
		AbstractAgentControllerVerificationService {
(-)src-common-runner/org/eclipse/hyades/test/common/runner/HyadesRunner.java (-5 / +8 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2005, 2007 ,2008 IBM Corporation and others.
2
 * Copyright (c) 2005, 2008 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 33-42 Link Here
33
import org.eclipse.hyades.test.common.testservices.resources.DatapoolPasswordProvider;
33
import org.eclipse.hyades.test.common.testservices.resources.DatapoolPasswordProvider;
34
34
35
/**
35
/**
36
 * @author jsutton
36
 * Hyades runner.
37
 *
37
 * 
38
 * To change the template for this generated type comment go to
38
 * 
39
 * Window - Preferences - Java - Code Generation - Code and Comments
39
 * @author  Judy Sutton
40
 * @author  Paul E. Slauenwhite
41
 * @version April 3, 2008
42
 * @since   January 27, 2005
40
 */
43
 */
41
public class HyadesRunner {
44
public class HyadesRunner {
42
45
(-)src/org/eclipse/hyades/test/ui/internal/wizard/DatapoolImportWizard.java (-2 / +2 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2005, 2007 ,2008 IBM Corporation and others.
2
 * Copyright (c) 2005, 2008 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials 
3
 * All rights reserved. This program and the accompanying materials 
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 46-52 Link Here
46
 * 
46
 * 
47
 * @author  Bianca Xue Jiang
47
 * @author  Bianca Xue Jiang
48
 * @author  Paul E. Slauenwhite
48
 * @author  Paul E. Slauenwhite
49
 * @version March 7, 2008
49
 * @version April 3, 2008
50
 * @since   March 18, 2005
50
 * @since   March 18, 2005
51
 */
51
 */
52
public class DatapoolImportWizard extends Wizard implements IImportWizard {
52
public class DatapoolImportWizard extends Wizard implements IImportWizard {
(-)src/org/eclipse/hyades/test/ui/internal/wizard/DatapoolExportSelectionPage.java (-5 / +8 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2005, 2007 ,2008 IBM Corporation and others.
2
 * Copyright (c) 2005, 2008 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials 
3
 * All rights reserved. This program and the accompanying materials 
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 46-55 Link Here
46
import org.eclipse.swt.widgets.Tree;
46
import org.eclipse.swt.widgets.Tree;
47
47
48
/**
48
/**
49
 * @author psun
49
 * Datapool export selection page.
50
 *
50
 * 
51
 * To change the template for this generated type comment go to
51
 * 
52
 * Window - Preferences - Java - Code Generation - Code and Comments
52
 * @author  Peter Sun
53
 * @author  Paul E. Slauenwhite
54
 * @version April 3, 2008
55
 * @since   February 1, 2005
53
 */
56
 */
54
public class DatapoolExportSelectionPage extends WizardPage implements SelectionListener {
57
public class DatapoolExportSelectionPage extends WizardPage implements SelectionListener {
55
	
58
	
(-)src/org/eclipse/hyades/test/ui/internal/monitor/OverviewFormPart.java (-2 / +5 lines)
Lines 1-5 Link Here
1
/********************************************************************** 
1
/********************************************************************** 
2
 * Copyright (c) 2005 2006, 2007 IBM Corporation and others. 
2
 * Copyright (c) 2005, 2008 IBM Corporation and others. 
3
 * All rights reserved.   This program and the accompanying materials 
3
 * All rights reserved.   This program and the accompanying materials 
4
 * are made available under the terms of the Eclipse Public License v1.0 
4
 * are made available under the terms of the Eclipse Public License v1.0 
5
 * which accompanies this distribution, and is available at 
5
 * which accompanies this distribution, and is available at 
Lines 25-31 Link Here
25
 * functional but can be used as starting point in the future for continuation
25
 * functional but can be used as starting point in the future for continuation
26
 * of test execution monitor work
26
 * of test execution monitor work
27
 * 
27
 * 
28
 * @author Scott E. Schneider
28
 * @author  Scott E. Schneider
29
 * @author  Paul E. Slauenwhite
30
 * @version April 3, 2008
31
 * @since   April 26, 2005
29
 */
32
 */
30
class OverviewFormPart extends AbstractFormPart {
33
class OverviewFormPart extends AbstractFormPart {
31
34
(-)src/org/eclipse/hyades/test/ui/internal/monitor/TestExecutionMonitor.java (-3 / +5 lines)
Lines 1-5 Link Here
1
/********************************************************************** 
1
/********************************************************************** 
2
 * Copyright (c) 2005 2006, 2007 IBM Corporation and others. 
2
 * Copyright (c) 2005, 2008 IBM Corporation and others. 
3
 * All rights reserved.   This program and the accompanying materials 
3
 * All rights reserved.   This program and the accompanying materials 
4
 * are made available under the terms of the Eclipse Public License v1.0 
4
 * are made available under the terms of the Eclipse Public License v1.0 
5
 * which accompanies this distribution, and is available at 
5
 * which accompanies this distribution, and is available at 
Lines 26-33 Link Here
26
 * functional but can be used as starting point in the future for continuation
26
 * functional but can be used as starting point in the future for continuation
27
 * of test execution monitor work
27
 * of test execution monitor work
28
 * 
28
 * 
29
 * @author Scott E. Schneider
29
 * @author  Scott E. Schneider
30
 */
30
 * @author  Paul E. Slauenwhite
31
 * @version April 3, 2008
32
 * @since   April 4, 2005 */
31
public class TestExecutionMonitor extends ViewPart {
33
public class TestExecutionMonitor extends ViewPart {
32
34
33
	public static final String ID = "org.eclipse.hyades.test.ui.TestExecutionMonitor"; //$NON-NLS-1$
35
	public static final String ID = "org.eclipse.hyades.test.ui.TestExecutionMonitor"; //$NON-NLS-1$
(-)src/org/eclipse/hyades/test/ui/internal/editor/extension/DatapoolEditorExtension.java (-2 / +8 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2005, 2007 ,2008 IBM Corporation and others.
2
 * Copyright (c) 2005, 2008 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials 
3
 * All rights reserved. This program and the accompanying materials 
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 51-57 Link Here
51
import org.eclipse.ui.PartInitException;
51
import org.eclipse.ui.PartInitException;
52
52
53
/**
53
/**
54
 * @author psun
54
 * Datapool editor extension.
55
 * 
56
 * 
57
 * @author  Peter Sun
58
 * @author  Paul E. Slauenwhite
59
 * @version April 3, 2008
60
 * @since   February 1, 2005
55
 */
61
 */
56
public class DatapoolEditorExtension extends BaseEditorExtension implements IDatapoolPartExtended, IEditActionsExtension {
62
public class DatapoolEditorExtension extends BaseEditorExtension implements IDatapoolPartExtended, IEditActionsExtension {
57
    private static final int PAGE_OVERVIEW = 0;
63
    private static final int PAGE_OVERVIEW = 0;
(-)src/org/eclipse/hyades/test/ui/datapool/internal/util/ValueObject.java (-3 / +5 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2005, 2007 ,2008 IBM Corporation and others.
2
 * Copyright (c) 2005, 2008 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials 
3
 * All rights reserved. This program and the accompanying materials 
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 17-24 Link Here
17
import org.eclipse.swt.widgets.Control;
17
import org.eclipse.swt.widgets.Control;
18
18
19
/**
19
/**
20
 * @author psun
20
 * @author  Peter Sun
21
 *
21
 * @author  Paul E. Slauenwhite
22
 * @version April 3, 2008
23
 * @since   January 27, 2005
22
 */
24
 */
23
public class ValueObject {
25
public class ValueObject {
24
26
(-)src/org/eclipse/hyades/test/ui/internal/editor/form/ArtifactLocationMapForm.java (-3 / +6 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2005 2006, 2007 IBM Corporation and others.
2
 * Copyright (c) 2005, 2008 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials 
3
 * All rights reserved. This program and the accompanying materials 
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
Lines 69-76 Link Here
69
 * This class implements the map tab of the deployment editor for the editing of 
69
 * This class implements the map tab of the deployment editor for the editing of 
70
 * {@link org.eclipse.hyades.models.common.configuration.CFGArtifact} - {@link org.eclipse.hyades.models.common.configuration.CFGLocation} pairs.
70
 * {@link org.eclipse.hyades.models.common.configuration.CFGArtifact} - {@link org.eclipse.hyades.models.common.configuration.CFGLocation} pairs.
71
 * 
71
 * 
72
 * @author bjiang
72
 * 
73
 * @since  3.0
73
 * @author  Bianca Xue Jiang
74
 * @author  Paul E. Slauenwhite
75
 * @version April 3, 2008
76
 * @since   February 1, 2005
74
 */
77
 */
75
public class ArtifactLocationMapForm extends EditorForm implements ISelectionChangedListener, SelectionListener
78
public class ArtifactLocationMapForm extends EditorForm implements ISelectionChangedListener, SelectionListener
76
{
79
{
(-)toc/junit_toc.xml (-1 / +2 lines)
Lines 1-7 Link Here
1
<?xml version="1.0" encoding="utf-8"?>
1
<?xml version="1.0" encoding="utf-8"?>
2
<!-- 
2
<!-- 
3
/**********************************************************************
3
/**********************************************************************
4
 * Copyright (c) 2007 IBM Corporation.
4
 * Copyright (c) 2007, 2008 IBM Corporation.
5
 * All rights reserved.   This content
5
 * All rights reserved.   This content
6
 * is made available under the terms of the Eclipse Public License v1.0
6
 * is made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
7
 * which accompanies this distribution, and is available at
Lines 15-20 Link Here
15
<?NLS TYPE="org.eclipse.help.toc"?>
15
<?NLS TYPE="org.eclipse.help.toc"?>
16
<toc label="Testing with JUnit">
16
<toc label="Testing with JUnit">
17
   <topic label="Testing with JUnit" href="concepts/cjunitintro.htm">
17
   <topic label="Testing with JUnit" href="concepts/cjunitintro.htm">
18
      <topic label="Creating a Java project" href="tasks/tcreateJavaProject.htm"/>
18
      <topic label="Creating JUnit tests" href="tasks/tcreatejunit.htm">
19
      <topic label="Creating JUnit tests" href="tasks/tcreatejunit.htm">
19
	      <topic label="Creating a JUnit test manually" href="tasks/tptpJUnitTest_creatingManually.htm"/>
20
	      <topic label="Creating a JUnit test manually" href="tasks/tptpJUnitTest_creatingManually.htm"/>
20
	      <topic label="Importing an existing JUnit test" href="tasks/tptpJUnitTest_importing.htm"/>
21
	      <topic label="Importing an existing JUnit test" href="tasks/tptpJUnitTest_importing.htm"/>
(-)toc/url_toc.xml (+2 lines)
Lines 16-21 Link Here
16
<toc label="Testing performance"> 
16
<toc label="Testing performance"> 
17
	<topic label="Testing performance" href="concepts/ctestwithhyades.htm">
17
	<topic label="Testing performance" href="concepts/ctestwithhyades.htm">
18
           
18
           
19
      <topic label="Creating a Java project" href="tasks/tcreateJavaProject.htm"/>
20
      
19
      <topic label="Creating a test" href="tasks/tcreatingaperformancetest.htm">
21
      <topic label="Creating a test" href="tasks/tcreatingaperformancetest.htm">
20
            <anchor id="test_suite_generators"/>
22
            <anchor id="test_suite_generators"/>
21
      </topic>
23
      </topic>
(-)concepts/cjunitintro.htm (-1 / +8 lines)
Lines 3-9 Link Here
3
<head>
3
<head>
4
<!-- 
4
<!-- 
5
/**********************************************************************
5
/**********************************************************************
6
 * Copyright (c) 2006, 2007 IBM Corporation.
6
 * Copyright (c) 2006, 2008 IBM Corporation.
7
 * All rights reserved.   This content
7
 * All rights reserved.   This content
8
 * is made available under the terms of the Eclipse Public License v1.0
8
 * is made available under the terms of the Eclipse Public License v1.0
9
 * which accompanies this distribution, and is available at
9
 * which accompanies this distribution, and is available at
Lines 28-33 Link Here
28
</p>
28
</p>
29
<ol>
29
<ol>
30
	<li>
30
	<li>
31
	<a href="../tasks/tcreateJavaProject.htm">Creating a Java project</a>
32
	<p>
33
	Create a Java project to contain the TPTP JUnit test.
34
	</p>
35
	<br/>
36
	</li>
37
	<li>
31
	<a href="../tasks/tcreatejunit.htm">Creating JUnit tests</a>
38
	<a href="../tasks/tcreatejunit.htm">Creating JUnit tests</a>
32
	<p>
39
	<p>
33
	You can create a TPTP JUnit test in one of two ways: manually or 
40
	You can create a TPTP JUnit test in one of two ways: manually or 
(-)concepts/ctestwithhyades.htm (+2 lines)
Lines 44-49 Link Here
44
44
45
<div>
45
<div>
46
<blockquote>
46
<blockquote>
47
<div class="ulchildlink"><b><a href="../tasks/tcreateJavaProject.htm">Creating a Java project</a></b><br />
48
Create a Java project to contain a performance test.</div>
47
<div class="ulchildlink"><b><a href="../tasks/tcreatingaperformancetest.htm">Creating a test</a></b><br />
49
<div class="ulchildlink"><b><a href="../tasks/tcreatingaperformancetest.htm">Creating a test</a></b><br />
48
You can create a performance test.</div>
50
You can create a performance test.</div>
49
<div class="ulchildlink"><b><a href="../concepts/cedittest.htm">Editing a test</a></b><br />
51
<div class="ulchildlink"><b><a href="../concepts/cedittest.htm">Editing a test</a></b><br />
(-)tasks/tptpJUnitTest_importing.htm (-1 / +4 lines)
Lines 2-8 Link Here
2
<html lang="en-us" xml:lang="en-us">
2
<html lang="en-us" xml:lang="en-us">
3
<!-- 
3
<!-- 
4
/**********************************************************************
4
/**********************************************************************
5
 * Copyright (c) 2006, 2007 Scapa Technologies and others.
5
 * Copyright (c) 2006, 2008 Scapa Technologies and others.
6
 * All rights reserved. This content is made available under 
6
 * All rights reserved. This content is made available under 
7
 * the terms of the Eclipse Public License v1.0
7
 * the terms of the Eclipse Public License v1.0
8
 * which accompanies this distribution, and is available at
8
 * which accompanies this distribution, and is available at
Lines 61-66 Link Here
61
	dialog.
61
	dialog.
62
	</li>
62
	</li>
63
	<li>
63
	<li>
64
	Select <b>TPTP JUnit Test</b> as the Destination type.
65
	</li>
66
	<li>
64
	Navigate to the required files and then click on <b>Finish</b>.
67
	Navigate to the required files and then click on <b>Finish</b>.
65
	</li>
68
	</li>
66
	<li>
69
	<li>
(-)tasks/tcreatingaperformancetest.htm (-1 lines)
Lines 33-39 Link Here
33
</p>
33
</p>
34
34
35
<ol>
35
<ol>
36
	<li>Create a Java project.</li>
37
	<li>Open the Test perspective <b>Window &gt; Open Perspective &gt; Other... &gt; Test</b>.</li>
36
	<li>Open the Test perspective <b>Window &gt; Open Perspective &gt; Other... &gt; Test</b>.</li>
38
	<li>Click <b>File &gt; New &gt; Other</b>. The <b>New</b> dialog appears.</li>
37
	<li>Click <b>File &gt; New &gt; Other</b>. The <b>New</b> dialog appears.</li>
39
	<li>Expand the <b>Test</b> folder, then select <b>TPTP URL Test</b>.</li>
38
	<li>Expand the <b>Test</b> folder, then select <b>TPTP URL Test</b>.</li>
(-)notices.html (+16 lines)
Added Link Here
1
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
2
<html lang="en-us" xml:lang="en-us">
3
<head>
4
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
<link rel="STYLESHEET" HREF="css/book.css" charset="ISO-8859-1" type="text/css">
6
<title>Legal Notices</title>
7
</head>
8
<body>
9
10
<h3><a name="Notices"></a>Notices</h3>
11
<p>The material in this guide is Copyright (c) IBM Corporation and
12
others 2005, 2008.</p>
13
<p><a href="about.html">Terms and conditions regarding the use of this
14
guide.</a></p>
15
</body>
16
</html>
(-)tasks/tcreateJavaProject.htm (+43 lines)
Added Link Here
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
2
<html lang="en-us" xml:lang="en-us">
3
<!-- 
4
/**********************************************************************
5
 * Copyright (c) 2008 IBM Corporation.
6
 * All rights reserved.   This content
7
 * is made available under the terms of the Eclipse Public License v1.0
8
 * which accompanies this distribution, and is available at
9
 * http://www.eclipse.org/legal/epl-v10.html        
10
 * $Id$
11
 *
12
 * Contributors:
13
 * IBM - Initial contribution
14
 **********************************************************************/  
15
 -->
16
<head>
17
<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1"/>
18
<link rel=StyleSheet href="../css/book.css" type="text/css"/>
19
<title>Creating a Java project</title>
20
</head>
21
22
<body>
23
24
<h1>Creating a Java project</h1>
25
<p>
26
For this example, we create a Java project named <i>javaProject</i>.
27
</p>
28
29
<ol>
30
	<li>
31
	Follow the instructions in <a href="../../org.eclipse.jdt.doc.user/reference/ref-121.htm">New Java Project Wizard</a> to create a Java project
32
	named <i>javaProject</i>.
33
	</li>
34
</ol>
35
36
<p>
37
<b>Related tasks</b><br/>
38
<a href="../../org.eclipse.jdt.doc.user/concepts/concepts-3.htm">Java projects</a><br/>
39
</p>
40
41
</body>
42
43
</html>
(-)tasks/tdeploy.htm (-1 / +1 lines)
Lines 41-47 Link Here
41
41
42
<p>
42
<p>
43
<b>Related tasks</b><br/>
43
<b>Related tasks</b><br/>
44
<a href="tdeploymentintro.htm">Creating a deployment</a><br/>
44
<a href="../../org.eclipse.hyades.test.doc.user/tasks/tdeploymentintro.htm">Creating a deployment</a><br/>
45
<a href="tcreateWorkbenchLocation.htm">Creating a workbench location</a><br/>
45
<a href="tcreateWorkbenchLocation.htm">Creating a workbench location</a><br/>
46
</p>
46
</p>
47
47
(-)tasks/tcreatePluginTest.htm (-42 / +29 lines)
Lines 1-64 Link Here
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE html
3
  PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
<html lang="en-us" xml:lang="en-us">
2
<!-- 
5
<!-- 
3
/**********************************************************************
6
/**********************************************************************
4
 * Copyright (c) 2005, 2008 Scapa Technologies.
7
 * Copyright (c) 2008 IBM Corporation.
5
 * All rights reserved.   This content
8
 * All rights reserved.   This content
6
 * is made available under the terms of the Eclipse Public License v1.0
9
 * is made available under the terms of the Eclipse Public License v1.0
7
 * which accompanies this distribution, and is available at
10
 * which accompanies this distribution, and is available at
8
 * http://www.eclipse.org/legal/epl-v10.html        
11
 * http://www.eclipse.org/legal/epl-v10.html        
9
 * $Id: tcreatePluginTest.htm,v 1.1 2008/02/29 04:18:22 paules Exp $
12
 * $Id: tcreatejunit.htm,v 1.7 2008/02/28 17:04:27 jkubasta Exp $
10
 *
13
 *
11
 * Contributors:
14
 * Contributors:
12
 * Scapa Technologies - Initial contribution
15
 * IBM - Initial contribution
13
 **********************************************************************/  
16
 **********************************************************************/  
14
 -->
17
 -->
15
<html lang="en-us" xml:lang="en-us">
16
17
<head>
18
<head>
18
<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1"/>
19
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/> 
19
<link rel=StyleSheet href="../css/book.css" type="text/css"/>
20
<link rel="stylesheet" type="text/css" href="../css/book.css" />
20
<title>Creating a JUnit plug-in test</title>
21
<title>Creating JUnit Plug-in tests</title>
21
</head>
22
</head>
22
23
<body>
23
<body>
24
24
25
<h1>Creating a JUnit plug-in test</h1>
25
<h1>Creating JUnit Plug-in tests</h1>
26
		<p>
26
<p>
27
		Create the test that will be used to test the plug-in.
27
You can create a TPTP JUnit Plug-in test in one of two ways: manually or from an 
28
		</p>
28
existing JUnit Plug-in test case.
29
</p>
29
30
30
<ol>
31
<ul>
31
	<li>
32
	Select <b>File</b> &gt; <b>New </b>&gt; <b>Other </b>&gt; <b>Test </b>&gt; <b>TPTP JUnit Plug-in Test</b>.
33
	If you see the <b>New Test Case</b> dialog asking you if you want to add some libraries on the build path, 
34
	click <b>Yes</b>.
35
	</li>
36
	<li>
32
	<li>
37
	Click <b>Next</b>. 
33
      <a href="tptpJUnitPluginTest_creatingManually.htm">Creating a JUnit Plug-in test manually</a>
38
		<ul>
34
      <p>
39
			<li>In the <b>Source folder</b> entry field type <i>pluginProj/src</i>.</li>
35
		TPTP JUnit Plug-in Tests can be created manually or as a result of
40
			<li>In the <b>Package</b> entry field type <i>tests</i>.</li>
36
		importing existing JUnit Plug-in tests outside TPTP into a TPTP JUnit Plug-in Test. They should
41
			<li>In the <b>Name</b> entry field type <i>EclipseUiTest</i>.</li>
37
		be created manually if they are to exploit the TPTP JUnit Plug-in Test <i>behavior</i>
42
		</ul>
38
		feature.      
39
      </p>
40
      <br/>
43
	</li>
41
	</li>
44
	<li>
42
	<li>
45
	Select either 'In the test editor' or 'In the code editor' for the test behavior option.
43
	<a href="tptpJUnitPluginTest_importing.htm">Importing an existing JUnit Plug-in test</a>
46
	See <i>JUnit Test Suite Editor</i> for a detailed explanation of these options.
44
	<p>If you have JUnit Plug-in tests outside of TPTP, these can be
45
imported into a TPTP JUnit Plug-in test.</p>
46
	<br/>
47
	</li>
47
	</li>
48
	<li>
48
</ul>
49
	Click <b>Next</b> and provide the test's name and location.
50
	</li>
51
	<li>Click <b>Next</b> and provide a description if required. Click <b>Finish</b>. </li>
52
</ol>
53
54
<p>You now have a JUnit plug-in project test named <b>EclipseUiTest</b>.</p>
55
56
57
<p>
58
<b>Related concepts</b><br />
59
<a href="../concepts/cJUnitTestEditor.htm">JUnit Test Suite Editor</a><br />
60
</p>
61
49
62
</body>
50
</body>
63
64
</html>
51
</html>
(-)tasks/tdeploy2.htm (-7 / +7 lines)
Lines 47-63 Link Here
47
47
48
<p>
48
<p>
49
<b>Related concepts</b><br/>
49
<b>Related concepts</b><br/>
50
<a href="../concepts/cartifacteditor.htm">Artifact Editor - overview</a><br/>
50
<a href="../../org.eclipse.hyades.test.doc.user/concepts/cartifacteditor.htm">Artifact Editor - overview</a><br/>
51
<a href="../concepts/cdeployeditor.htm">Deployment Editor - overview</a><br/>
51
<a href="../../org.eclipse.hyades.test.doc.user/concepts/cdeployeditor.htm">Deployment Editor - overview</a><br/>
52
<a href="../concepts/clocationeditor.htm">Location Editor - overview</a><br/>
52
<a href="../../org.eclipse.hyades.test.doc.user/concepts/clocationeditor.htm">Location Editor - overview</a><br/>
53
</p>
53
</p>
54
54
55
<p>
55
<p>
56
<b>Related tasks</b><br/>
56
<b>Related tasks</b><br/>
57
<a href="../tasks/tcreateartifact.htm">Creating an artifact</a><br/>
57
<a href="../../org.eclipse.hyades.test.doc.user/tasks/tcreateartifact.htm">Creating an artifact</a><br/>
58
<a href="../tasks/tcreatetestdeployment.htm">Creating a deployment</a><br/>
58
<a href="../../org.eclipse.hyades.test.doc.user/tasks/tcreatetestdeployment.htm">Creating a deployment</a><br/>
59
<a href="../tasks/tcreatelocation.htm">Creating a location</a><br/>
59
<a href="../../org.eclipse.hyades.test.doc.user/tasks/tcreatelocation.htm">Creating a location</a><br/>
60
<a href="../tasks/tassociateartifact.htm">Forming an artifact and location pairing</a><br/>
60
<a href="../../org.eclipse.hyades.test.doc.user/tasks/tassociateartifact.htm">Forming an artifact and location pairing</a><br/>
61
</p>
61
</p>
62
62
63
</body>
63
</body>
(-)tasks/tcreateWorkbenchLocation.htm (-1 / +1 lines)
Lines 34-40 Link Here
34
	&gt; <b>Test </b>&gt; <b>Test Assets</b>. Click  <b>Next</b>.
34
	&gt; <b>Test </b>&gt; <b>Test Assets</b>. Click  <b>Next</b>.
35
	</li>
35
	</li>
36
	<li>
36
	<li>
37
	In the &quot;Enter or select the parent folder&quot; field, type <i>pluginProj/src</i>. 
37
	In the &quot;Enter or select the parent folder&quot; field, type <i>pluginProject/src</i>. 
38
	In the Name field type <i>workLOC</i>. 
38
	In the Name field type <i>workLOC</i>. 
39
	</li>
39
	</li>
40
	<li>
40
	<li>
(-)tasks/tcreatePluginProject.htm (-3 / +3 lines)
Lines 24-36 Link Here
24
24
25
<h1>Creating and configuring a plug-in project</h1>
25
<h1>Creating and configuring a plug-in project</h1>
26
<p>
26
<p>
27
For this example, we create and configure a plug-in project named <i>pluginProj</i>.
27
For this example, we create and configure a plug-in project named <i>pluginProject</i>.
28
</p>
28
</p>
29
29
30
<ol>
30
<ol>
31
	<li>
31
	<li>
32
	Follow the instructions in <i>Creating a plug-in project</i> to create a project
32
	Follow the instructions in <a href="../../org.eclipse.platform.doc.user/tasks/tasks-42.htm">Creating a plug-in project</a> to create a plug-in project
33
	named <i>pluginProj</i> that uses an Eclipse version of 3.1.
33
	named <i>pluginProject</i> that uses an Eclipse version of 3.1 or above.
34
	</li>
34
	</li>
35
	<li>
35
	<li>
36
	Add the <i>org.eclipse.ui</i> plug-in as a required plug-in as explained in 
36
	Add the <i>org.eclipse.ui</i> plug-in as a required plug-in as explained in 
(-)concepts/cworkbenchLocationEditor.htm (-2 / +2 lines)
Lines 42-48 Link Here
42
42
43
<p>The General Information section provides the Workbench
43
<p>The General Information section provides the Workbench
44
Location name (workLOC in this example), description, the path to the workLOC file
44
Location name (workLOC in this example), description, the path to the workLOC file
45
(/pluginProj/src/workLOC.location), and the host name (localhost). </p>
45
(/pluginProject/src/workLOC.location), and the host name (localhost). </p>
46
46
47
<p>The <i>Property Groups</i>
47
<p>The <i>Property Groups</i>
48
section provides links to&nbsp; <b>Eclipse Workbench Properties</b> and <b>General Properties</b>. These also have their
48
section provides links to&nbsp; <b>Eclipse Workbench Properties</b> and <b>General Properties</b>. These also have their
Lines 94-100 Link Here
94
94
95
<p>
95
<p>
96
<b>Related tasks</b><br />
96
<b>Related tasks</b><br />
97
<a href="../tasks/tdeploymentintro.htm">Creating a Test Deployment</a><br />
97
<a href="../../org.eclipse.hyades.test.doc.user/tasks/tdeploymentintro.htm">Creating a Test Deployment</a><br />
98
</p>
98
</p>
99
</body>
99
</body>
100
100
(-)concepts/cintro.htm (-2 / +2 lines)
Lines 46-52 Link Here
46
	<li>
46
	<li>
47
		<a href="../tasks/tcreatePluginProject.htm">Create and configure a plug-in project</a>
47
		<a href="../tasks/tcreatePluginProject.htm">Create and configure a plug-in project</a>
48
		<p>
48
		<p>
49
		For this example, we create and configure a plug-in project named <i>pluginProj</i>.
49
		For this example, we create and configure a plug-in project named <i>pluginProject</i>.
50
		</p>
50
		</p>
51
		<br/>
51
		<br/>
52
	</li>
52
	</li>
Lines 88-94 Link Here
88
		<br/>
88
		<br/>
89
	</li>
89
	</li>
90
	<li>
90
	<li>
91
	    <a href="../tasks/tcreatetestreports.htm">Generating test reports</a>
91
	    <a href="../../org.eclipse.hyades.test.doc.user/tasks/tcreatetestreports.htm">Generating test reports</a>
92
		<p>
92
		<p>
93
		After you have run your tests and generated execution histories, you can generate a report
93
		After you have run your tests and generated execution histories, you can generate a report
94
		on those test results to summarize the data.
94
		on those test results to summarize the data.
(-)toc/junitplugin_toc.xml (-1 / +4 lines)
Lines 16-22 Link Here
16
<toc label="Testing plug-ins with JUnit" link_to="../org.eclipse.hyades.test.doc.user/toc/comptest_toc.xml#additional_test_types">
16
<toc label="Testing plug-ins with JUnit" link_to="../org.eclipse.hyades.test.doc.user/toc/comptest_toc.xml#additional_test_types">
17
  <topic label="Testing plug-ins with JUnit" href="concepts/cintro.htm">
17
  <topic label="Testing plug-ins with JUnit" href="concepts/cintro.htm">
18
      <topic label="Creating and configuring a plug-in project" href="tasks/tcreatePluginProject.htm"/>
18
      <topic label="Creating and configuring a plug-in project" href="tasks/tcreatePluginProject.htm"/>
19
      <topic label="Creating a JUnit plug-in test" href="tasks/tcreatePluginTest.htm"/>
19
      <topic label="Creating a JUnit plug-in test" href="tasks/tcreatePluginTest.htm">
20
      	<topic label="Creating a JUnit plug-in test manually" href="tasks/tptpJUnitPluginTest_creatingManually.htm"/>
21
	    <topic label="Importing an existing JUnit plug-in test" href="tasks/tptpJUnitPluginTest_importing.htm"/>
22
      </topic>      
20
      <topic label="JUnit Plug-in Test Suite Editor" href="concepts/cpluginTestEditor.htm">
23
      <topic label="JUnit Plug-in Test Suite Editor" href="concepts/cpluginTestEditor.htm">
21
      	<topic label="Tutorial: Accessing a datapool from a JUnit test" href="../org.eclipse.hyades.test.doc.user/samples/saccessdp.htm"/>
24
      	<topic label="Tutorial: Accessing a datapool from a JUnit test" href="../org.eclipse.hyades.test.doc.user/samples/saccessdp.htm"/>
22
      </topic>
25
      </topic>
(-)tasks/tptpJUnitPluginTest_importing.htm (+83 lines)
Added Link Here
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
2
<html lang="en-us" xml:lang="en-us">
3
<!-- 
4
/**********************************************************************
5
 * Copyright (c) 2008 IBM Corporation.
6
 * All rights reserved.   This content
7
 * is made available under the terms of the Eclipse Public License v1.0
8
 * which accompanies this distribution, and is available at
9
 * http://www.eclipse.org/legal/epl-v10.html        
10
 * $Id$
11
 *
12
 * Contributors:
13
 * IBM - Initial contribution
14
 **********************************************************************/  
15
 -->
16
17
<head>
18
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
19
<link rel="StyleSheet" href="../css/book.css" type="text/css" />
20
<title>Importing an existing JUnit Plug-in test</title>
21
</head>
22
<body>
23
24
<div>
25
26
<h2>Importing an existing JUnit Plug-in test</h2>
27
28
<p>If you have JUnit Plug-in tests outside of TPTP, these can be
29
imported into a TPTP JUnit Plug-in test.</p>
30
31
<h3>Step 1</h3>
32
33
<p>If the tests are already within an existing Eclipse plug-in
34
project, then go to <b>Step 2</b>.</p>
35
36
<ul>
37
	<li>
38
	Otherwise, first import the Java source and class files from
39
	the file system into a plug-in project by clicking <b>File</b> &gt; 
40
	<b>Import</b> &gt; <b>File system</b>.
41
	</li>
42
	<li>
43
	Click <b>Next</b>. The <b>File system</b> import dialog launches.
44
	</li>
45
	<li>
46
	<b>Browse</b> to the required directory, then
47
	navigate to, and select, the relevant files. Click <b>Finish</b>.
48
	</li>
49
</ul>
50
51
<h3>Step 2</h3>
52
53
<ul>
54
	<li>
55
	Once the files are in your Eclipse workbench, then import the relevant 
56
	Java class files from the plug-in project
57
	by clicking <b>File</b> &gt; <b>Import</b> &gt; <b>JUnit tests to TPTP</b>.
58
	</li>
59
	<li>
60
	Click <b>Next</b> to display the <b>JUnit Tests selection</b>
61
	dialog.
62
	</li>
63
	<li>
64
	Select <b>TPTP JUnit Plug-in Test</b> as the Destination type.
65
	</li>
66
	<li>
67
	Navigate to the required files and then click on <b>Finish</b>.
68
	</li>
69
	<li>
70
	The outcome of a successful import operation will be a TPTP 
71
	JUnit Plug-in Test File associated with the imported package or class.
72
	</li>
73
</ul>
74
75
<p>Note that the import wizard shows all existing JUnit Plug-in test cases in the workspace that have not already been imported to TPTP.  If this list is empty, then it means that either no JUnit Plug-in tests were found in the workspace, or that all existing JUnit Plug-in test classes have already been imported to TPTP.</p>
76
77
<p></p>
78
79
</div>
80
81
</body>
82
83
</html>
(-)notices.html (+16 lines)
Added Link Here
1
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
2
<html lang="en-us" xml:lang="en-us">
3
<head>
4
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
<link rel="STYLESHEET" HREF="css/book.css" charset="ISO-8859-1" type="text/css">
6
<title>Legal Notices</title>
7
</head>
8
<body>
9
10
<h3><a name="Notices"></a>Notices</h3>
11
<p>The material in this guide is Copyright (c) IBM Corporation and
12
others 2008.</p>
13
<p><a href="about.html">Terms and conditions regarding the use of this
14
guide.</a></p>
15
</body>
16
</html>
(-)tasks/tptpJUnitPluginTest_creatingManually.htm (+49 lines)
Added Link Here
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
2
<html lang="en-us" xml:lang="en-us">
3
4
<!-- 
5
/**********************************************************************
6
 * Copyright (c) 2008 IBM Corporation.
7
 * All rights reserved.   This content
8
 * is made available under the terms of the Eclipse Public License v1.0
9
 * which accompanies this distribution, and is available at
10
 * http://www.eclipse.org/legal/epl-v10.html        
11
 * $Id$
12
 *
13
 * Contributors:
14
 * IBM - Initial contribution
15
 **********************************************************************/  
16
 -->
17
 
18
<head>
19
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
20
<link rel="StyleSheet" href="../css/book.css" type="text/css" />
21
<title>Creating a JUnit Plug-in test manually</title>
22
</head>
23
<body>
24
25
<h2>Creating a JUnit Plug-in test manually</h2>
26
27
<p>TPTP JUnit Plug-in Tests can be created manually or as a result of
28
importing existing JUnit Plug-in tests outside TPTP into a TPTP JUnit Plug-in Test. They should
29
be created manually if they are to exploit the TPTP JUnit Plug-in Test <i>behavior</i>
30
feature.</p>
31
32
<p>Note that, before creating a JUnit Plug-in test, a Plug-in project
33
must exist.</p>
34
35
<ol>
36
	<li>Select <b>File</b> &gt; <b>New</b> &gt; <b>Other</b>.</li>
37
	<li>Expand <b>Test</b>. Select <b>TPTP JUnit Plug-in Test</b>.</li>
38
	<li>Click <b>Next</b> to launch the <b>New JUnit Plug-in Test</b> dialog. 
39
	Identify the Source folder (<i>pluginProject</i>), the Package
40
	(<i>junit.plugin.samples</i>), and the name to be assigned to the JUnit Plug-in Test source code
41
	(<i>EclipseUiTest</i>).
42
	</li>
43
	<li>Select either 'In the test editor' or 'In the code editor' for the test behavior option. See JUnit Test Suite Editor for a detailed explanation of these options.</li>
44
	<li>Click <b>Next</b> and provide the test's name and location.</li>
45
	<li>Click <b>Next</b> and provide a description if required. Click <b>Finish</b>.</li>
46
</ol>
47
<p>Note that the second and third pages of the wizard are optional (that is, you can finish the wizard at the first page). Also, the difference between the information requested in page 1 and page 2 is as follows: the first page asks for the name and location of the source code, while the second one asks for the name and location of the TPTP Test (the model). By default, they are identical.</p>
48
</body>
49
</html>
(-)notices.html (+16 lines)
Added Link Here
1
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
2
<html lang="en-us" xml:lang="en-us">
3
<head>
4
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
<link rel="STYLESHEET" HREF="css/book.css" charset="ISO-8859-1" type="text/css">
6
<title>Legal Notices</title>
7
</head>
8
<body>
9
10
<h3><a name="Notices"></a>Notices</h3>
11
<p>The material in this guide is Copyright (c) IBM Corporation and
12
others 2006, 2008.</p>
13
<p><a href="about.html">Terms and conditions regarding the use of this
14
guide.</a></p>
15
</body>
16
</html>
(-)notices.html (+16 lines)
Added Link Here
1
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
2
<html lang="en-us" xml:lang="en-us">
3
<head>
4
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5
<link rel="STYLESHEET" HREF="css/book.css" charset="ISO-8859-1" type="text/css">
6
<title>Legal Notices</title>
7
</head>
8
<body>
9
10
<h3><a name="Notices"></a>Notices</h3>
11
<p>The material in this guide is Copyright (c) IBM Corporation and
12
others 2006, 2008.</p>
13
<p><a href="about.html">Terms and conditions regarding the use of this
14
guide.</a></p>
15
</body>
16
</html>

Return to bug 218779