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 201893
Collapse All | Expand All

(-)tasks/tediting_manual_test.htm (-3 / +12 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 105-111 Link Here
105
				<li>The <b>Detailed Properties</b> area displays the
105
				<li>The <b>Detailed Properties</b> area displays the
106
		invocation's test case name, test type, and name of the file containing the
106
		invocation's test case name, test type, and name of the file containing the
107
		test suite.  Click on the invocation's test case name hyperlink or the <b>Edit</b>
107
		test suite.  Click on the invocation's test case name hyperlink or the <b>Edit</b>
108
		button to display the <b>Test Cases</b> view. Alternatively, click the <b>Test Cases</b> tab
108
		button to display the <b>Test Cases</b> view. When <span class="uicontrol">Synchronous</span> 
109
is checked, the invocation is executed sequentially.  That is, the invocation is executed before continuing 
110
to the next invocation or loop.  Conversely, when <span class="uicontrol">Synchronous</span> is unchecked, the invocation 
111
executed simultaneously.  That is, the invocation is executed at the same time as the sibling invocations and loops.  Alternatively, click the <b>Test Cases</b> tab
109
		to display the <b>Test Cases</b> view. 
112
		to display the <b>Test Cases</b> view. 
110
				</li>
113
				</li>
111
			</ul>
114
			</ul>
Lines 120-126 Link Here
120
				<li>The <b>Detailed Properties</b> area displays the loop's number of iterations
123
				<li>The <b>Detailed Properties</b> area displays the loop's number of iterations
121
that specifies how many times to execute the loop.  Use the <b>Number of
124
that specifies how many times to execute the loop.  Use the <b>Number of
122
Iterations</b> box to specify how many times to execute the loop. You can edit
125
Iterations</b> box to specify how many times to execute the loop. You can edit
123
information appearing in the box.  Finally, you can collapse all loops
126
information appearing in the box.  When <span class="uicontrol">Synchronous</span> 
127
is checked, each iteration of the loop is executed sequentially.  That is, the invocations and nested loops contained 
128
in the loop are executed, based to their  <span class="uicontrol">Synchronous</span> property, for an 
129
iteration before continuing to the next iteration.  Conversely, when <span class="uicontrol">Synchronous</span> is 
130
unchecked, the iterations of the loop are executed simultaneously.  That is, the invocations and nested loops contained 
131
in the loop are executed, based to their  <span class="uicontrol">Synchronous</span> property, for all iterations 
132
at the same time.  Finally, you can collapse all loops
124
in the Behavior pane by right-clicking in the Behavior pane and selecting
133
in the Behavior pane by right-clicking in the Behavior pane and selecting
125
<b>Collapse All</b>. 
134
<b>Collapse All</b>. 
126
				</li>
135
				</li>
(-)toc/junit_toc.xml (-5 / +8 lines)
Lines 20-30 Link Here
20
	      <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"/>
21
	      <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"/>
22
      </topic>
22
      </topic>
23
      <topic label="Editing JUnit tests" href="concepts/cJUnitTestEditor.htm">
23
      <topic label="Editing JUnit tests" href="concepts/cEditingJUnitTests.htm">
24
	      <topic label="Mapping test methods to a TPTP JUnit test" href="tasks/tptpJUnitTest_testMethods.htm"/>
24
          <topic label="JUnit Test Suite Editor" href="concepts/cJUnitTestEditor.htm">
25
	      <topic label="Adding test methods" href="tasks/tptpJUnitTest_addingTestMethods.htm"/>
25
	        <topic label="Adding test methods" href="tasks/tptpJUnitTest_addingTestMethods.htm"/>
26
		  <topic label="Tutorial: Accessing a datapool from a JUnit test" href="samples/saccessdp.htm"/>
26
  	        <topic label="Mapping test methods to a TPTP JUnit test" href="tasks/tptpJUnitTest_testMethods.htm"/>
27
      </topic>
27
	      </topic>
28
		  <topic label="Tutorial: Accessing a datapool from a JUnit Plug-in test" href="samples/saccessdp.htm"/>
29
      </topic>          
30
      
28
      <topic label="Running a test" href="tasks/trun.htm"/>
31
      <topic label="Running a test" href="tasks/trun.htm"/>
29
      <topic href="tasks/trunningjunittestsuite.htm" label="Running a JUnit test remotely">
32
      <topic href="tasks/trunningjunittestsuite.htm" label="Running a JUnit test remotely">
30
      </topic>
33
      </topic>
(-)concepts/cJUnitTestEditor.htm (-4 / +12 lines)
Lines 91-100 Link Here
91
91
92
<p>&nbsp;</p>
92
<p>&nbsp;</p>
93
93
94
<p>If Synchronous
94
<p>When <span class="uicontrol">Synchronous</span> 
95
is checked and more than one iteration<b></b> is specified, the loop iterations
95
is checked for a loop, each iteration of the loop is executed sequentially.  That is, the invocations and nested loops contained 
96
execute sequentially. If Synchronous is cleared and more than one
96
in the loop are executed, based to their  <span class="uicontrol">Synchronous</span> property, for an 
97
iteration is specified, the loop iterations execute concurrently. </p>
97
iteration before continuing to the next iteration.  Conversely, when <span class="uicontrol">Synchronous</span> is 
98
unchecked for a loop, the iterations of the loop are executed simultaneously.  That is, the invocations and nested loops contained 
99
in the loop are executed, based to their  <span class="uicontrol">Synchronous</span> property, for all iterations 
100
at the same time.</p>
101
102
<p>When <span class="uicontrol">Synchronous</span> 
103
is checked for an invocation, the invocation is executed sequentially.  That is, the invocation is executed before continuing 
104
to the next invocation or loop.  Conversely, when <span class="uicontrol">Synchronous</span> is unchecked for an invocation, the invocation 
105
executed simultaneously.  That is, the invocation is executed at the same time as the sibling invocations and loops.</p>.
98
106
99
<p>The <b>Up</b> and <b>Down</b> buttons are
107
<p>The <b>Up</b> and <b>Down</b> buttons are
100
used to alter the relative positions of invocations and loops. The <b>Add</b>
108
used to alter the relative positions of invocations and loops. The <b>Add</b>
(-)concepts/cedittest.htm (-5 / +12 lines)
Lines 81-90 Link Here
81
<img src="../images/editBehavior.jpg"  alt=""/><p>The HTTP requests are listed by page, as
81
<img src="../images/editBehavior.jpg"  alt=""/><p>The HTTP requests are listed by page, as
82
invocations, inside a loop construct initially named <span class="uicontrol">Loop 1</span>.
82
invocations, inside a loop construct initially named <span class="uicontrol">Loop 1</span>.
83
With this loop selected, you can rename the loop, describe what it does, or
83
With this loop selected, you can rename the loop, describe what it does, or
84
change the <span class="uicontrol">Number of Iterations</span>. With <span class="uicontrol">Synchronous</span> checked
84
change the <span class="uicontrol">Number of Iterations</span>. When <span class="uicontrol">Synchronous</span> 
85
and more than one iteration specified, the loop iterations execute in sequence.
85
is checked, each iteration of the loop is executed sequentially.  That is, the invocations and nested loops contained 
86
With <span class="uicontrol">Synchronous</span> unchecked and more than one iteration
86
in the loop are executed, based to their  <span class="uicontrol">Synchronous</span> property, for an 
87
specified, the loop iterations execute simultaneously. Inside Loop 1, you
87
iteration before continuing to the next iteration.  Conversely, when <span class="uicontrol">Synchronous</span> is 
88
unchecked, the iterations of the loop are executed simultaneously.  That is, the invocations and nested loops contained 
89
in the loop are executed, based to their  <span class="uicontrol">Synchronous</span> property, for all iterations 
90
at the same time.  Inside Loop 1, you
88
can:</p>
91
can:</p>
89
<ul><li>Re-arrange the invocations</li>
92
<ul><li>Re-arrange the invocations</li>
90
<li>Remove invocations</li>
93
<li>Remove invocations</li>
Lines 99-105 Link Here
99
Then, by right-clicking that new loop and selecting <span class="uicontrol">Invocation</span>,
102
Then, by right-clicking that new loop and selecting <span class="uicontrol">Invocation</span>,
100
you can populate the new loop with invocations of other test suites or test
103
you can populate the new loop with invocations of other test suites or test
101
suite instances. You can also nest loops, and create invocations that are
104
suite instances. You can also nest loops, and create invocations that are
102
outside of any loop. </p>
105
outside of any loop. With an invocation selected, you can rename the invocation, describe what it does, or
106
modify an invocation such that it invokes another existing test suite. When <span class="uicontrol">Synchronous</span> 
107
is checked, the invocation is executed sequentially.  That is, the invocation is executed before continuing 
108
to the next invocation or loop.  Conversely, when <span class="uicontrol">Synchronous</span> is unchecked, the invocation 
109
executed simultaneously.  That is, the invocation is executed at the same time as the sibling invocations and loops.</p>
103
</div>
110
</div>
104
111
105
<div>
112
<div>
(-)concepts/cEditingJUnitTests.htm (+48 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
21
<title>Editing JUnit tests</title>
22
</head>
23
24
<body>
25
26
<h1>Editing JUnit tests</h1>
27
28
<p>
29
You can edit TPTP JUnit test before execution.
30
</p>
31
32
<ul>
33
	<li>
34
      <a href="cJUnitTestEditor.htm">JUnit Test Suite Editor</a>
35
      <p>
36
		TPTP JUnit Tests can be edited using the TPTP JUnit test suite editor.      
37
      </p>
38
      <br/>
39
	</li>
40
	<li>
41
	<a href="../samples/saccessdp.htm">Tutorial: Accessing a datapool from a JUnit test</a>
42
	<br/>
43
	</li>
44
</ul>
45
46
</body>
47
48
</html>
(-)toc/junitplugin_toc.xml (-3 / +8 lines)
Lines 20-28 Link Here
20
      	<topic label="Creating a JUnit plug-in test manually" href="tasks/tptpJUnitPluginTest_creatingManually.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"/>
21
	    <topic label="Importing an existing JUnit plug-in test" href="tasks/tptpJUnitPluginTest_importing.htm"/>
22
      </topic>      
22
      </topic>      
23
      <topic label="JUnit Plug-in Test Suite Editor" href="concepts/cpluginTestEditor.htm">
23
      <topic label="Editing JUnit Plug-in tests" href="concepts/cEditingJUnitPluginTests.htm">
24
      	<topic label="Tutorial: Accessing a datapool from a JUnit test" href="../org.eclipse.hyades.test.doc.user/samples/saccessdp.htm"/>
24
	      <topic label="JUnit Plug-in Test Suite Editor" href="concepts/cpluginTestEditor.htm">
25
      </topic>
25
          	<topic label="JUnit Test Suite Editor" href="../org.eclipse.hyades.test.doc.user/concepts/cJUnitTestEditor.htm"/>
26
	        <topic label="Adding test methods" href="../org.eclipse.hyades.test.doc.user/tasks/tptpJUnitTest_addingTestMethods.htm"/>
27
  	        <topic label="Mapping test methods to a TPTP JUnit Plug-in test" href="../org.eclipse.hyades.test.doc.user/tasks/tptpJUnitTest_testMethods.htm"/>
28
          </topic>
29
		  <topic label="Tutorial: Accessing a datapool from a JUnit Plug-in test" href="../org.eclipse.hyades.test.doc.user/samples/saccessdp.htm"/>
30
      </topic>          
26
      <topic label="Creating a workbench location" href="tasks/tcreateWorkbenchLocation.htm"/>
31
      <topic label="Creating a workbench location" href="tasks/tcreateWorkbenchLocation.htm"/>
27
      <topic label="Workbench location editor" href="concepts/cworkbenchLocationEditor.htm"/>
32
      <topic label="Workbench location editor" href="concepts/cworkbenchLocationEditor.htm"/>
28
      <topic label="Create a deployment" href="tasks/tdeploy2.htm"/>
33
      <topic label="Create a deployment" href="tasks/tdeploy2.htm"/>
(-)concepts/cEditingJUnitPluginTests.htm (+48 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
21
<title>Editing JUnit Plug-in tests</title>
22
</head>
23
24
<body>
25
26
<h1>Editing JUnit Plug-in tests</h1>
27
28
<p>
29
You can edit TPTP JUnit Plug-in test before execution.
30
</p>
31
32
<ul>
33
	<li>
34
      <a href="cpluginTestEditor.htm">JUnit Plug-in Test Suite Editor</a>
35
      <p>
36
		TPTP JUnit Plug-in Tests can be edited using the TPTP JUnit Plug-in test suite editor.      
37
      </p>
38
      <br/>
39
	</li>
40
	<li>
41
	<a href="../../org.eclipse.hyades.test.doc.user/samples/saccessdp.htm">Tutorial: Accessing a datapool from a JUnit Plug-in test</a>
42
	<br/>
43
	</li>
44
</ul>
45
46
</body>
47
48
</html>

Return to bug 201893