Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 96319 Details for
Bug 201893
what does the synchronous option mean for an invocation behavior in a JUnit Test Suite?
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Patch.
Defect_201893_patch.txt (text/plain), 14.42 KB, created by
Paul Slauenwhite
on 2008-04-16 15:30:58 EDT
(
hide
)
Description:
Patch.
Filename:
MIME Type:
Creator:
Paul Slauenwhite
Created:
2008-04-16 15:30:58 EDT
Size:
14.42 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.tptp.test.tools.manual.doc.user >Index: tasks/tediting_manual_test.htm >=================================================================== >RCS file: /cvsroot/tptp/test/org.eclipse.tptp.test.tools.manual.doc.user/tasks/tediting_manual_test.htm,v >retrieving revision 1.1 >diff -u -r1.1 tediting_manual_test.htm >--- tasks/tediting_manual_test.htm 5 Dec 2007 23:05:47 -0000 1.1 >+++ tasks/tediting_manual_test.htm 16 Apr 2008 19:30:40 -0000 >@@ -3,7 +3,7 @@ > <html lang="en-us" xml:lang="en-us"> > <!-- > /********************************************************************** >- * Copyright (c) 2004, 2007 IBM Corporation. >+ * Copyright (c) 2004, 2008 IBM Corporation. > * All rights reserved. This content > * is made available under the terms of the Eclipse Public License v1.0 > * which accompanies this distribution, and is available at >@@ -105,7 +105,10 @@ > <li>The <b>Detailed Properties</b> area displays the > invocation's test case name, test type, and name of the file containing the > test suite. Click on the invocation's test case name hyperlink or the <b>Edit</b> >- button to display the <b>Test Cases</b> view. Alternatively, click the <b>Test Cases</b> tab >+ button to display the <b>Test Cases</b> view. When <span class="uicontrol">Synchronous</span> >+is checked, the invocation is executed sequentially. That is, the invocation is executed before continuing >+to the next invocation or loop. Conversely, when <span class="uicontrol">Synchronous</span> is unchecked, the invocation >+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 > to display the <b>Test Cases</b> view. > </li> > </ul> >@@ -120,7 +123,13 @@ > <li>The <b>Detailed Properties</b> area displays the loop's number of iterations > that specifies how many times to execute the loop. Use the <b>Number of > Iterations</b> box to specify how many times to execute the loop. You can edit >-information appearing in the box. Finally, you can collapse all loops >+information appearing in the box. When <span class="uicontrol">Synchronous</span> >+is checked, each iteration of the loop is executed sequentially. That is, the invocations and nested loops contained >+in the loop are executed, based to their <span class="uicontrol">Synchronous</span> property, for an >+iteration before continuing to the next iteration. Conversely, when <span class="uicontrol">Synchronous</span> is >+unchecked, the iterations of the loop are executed simultaneously. That is, the invocations and nested loops contained >+in the loop are executed, based to their <span class="uicontrol">Synchronous</span> property, for all iterations >+at the same time. Finally, you can collapse all loops > in the Behavior pane by right-clicking in the Behavior pane and selecting > <b>Collapse All</b>. > </li> >#P org.eclipse.hyades.test.doc.user >Index: toc/junit_toc.xml >=================================================================== >RCS file: /cvsroot/tptp/test/org.eclipse.hyades.test.doc.user/toc/junit_toc.xml,v >retrieving revision 1.3 >diff -u -r1.3 junit_toc.xml >--- toc/junit_toc.xml 9 Apr 2008 19:58:06 -0000 1.3 >+++ toc/junit_toc.xml 16 Apr 2008 19:30:41 -0000 >@@ -20,11 +20,14 @@ > <topic label="Creating a JUnit test manually" href="tasks/tptpJUnitTest_creatingManually.htm"/> > <topic label="Importing an existing JUnit test" href="tasks/tptpJUnitTest_importing.htm"/> > </topic> >- <topic label="Editing JUnit tests" href="concepts/cJUnitTestEditor.htm"> >- <topic label="Mapping test methods to a TPTP JUnit test" href="tasks/tptpJUnitTest_testMethods.htm"/> >- <topic label="Adding test methods" href="tasks/tptpJUnitTest_addingTestMethods.htm"/> >- <topic label="Tutorial: Accessing a datapool from a JUnit test" href="samples/saccessdp.htm"/> >- </topic> >+ <topic label="Editing JUnit tests" href="concepts/cEditingJUnitTests.htm"> >+ <topic label="JUnit Test Suite Editor" href="concepts/cJUnitTestEditor.htm"> >+ <topic label="Adding test methods" href="tasks/tptpJUnitTest_addingTestMethods.htm"/> >+ <topic label="Mapping test methods to a TPTP JUnit test" href="tasks/tptpJUnitTest_testMethods.htm"/> >+ </topic> >+ <topic label="Tutorial: Accessing a datapool from a JUnit Plug-in test" href="samples/saccessdp.htm"/> >+ </topic> >+ > <topic label="Running a test" href="tasks/trun.htm"/> > <topic href="tasks/trunningjunittestsuite.htm" label="Running a JUnit test remotely"> > </topic> >Index: concepts/cJUnitTestEditor.htm >=================================================================== >RCS file: /cvsroot/tptp/test/org.eclipse.hyades.test.doc.user/concepts/cJUnitTestEditor.htm,v >retrieving revision 1.6 >diff -u -r1.6 cJUnitTestEditor.htm >--- concepts/cJUnitTestEditor.htm 3 May 2007 14:33:15 -0000 1.6 >+++ concepts/cJUnitTestEditor.htm 16 Apr 2008 19:30:41 -0000 >@@ -91,10 +91,18 @@ > > <p> </p> > >-<p>If Synchronous >-is checked and more than one iteration<b></b> is specified, the loop iterations >-execute sequentially. If Synchronous is cleared and more than one >-iteration is specified, the loop iterations execute concurrently. </p> >+<p>When <span class="uicontrol">Synchronous</span> >+is checked for a loop, each iteration of the loop is executed sequentially. That is, the invocations and nested loops contained >+in the loop are executed, based to their <span class="uicontrol">Synchronous</span> property, for an >+iteration before continuing to the next iteration. Conversely, when <span class="uicontrol">Synchronous</span> is >+unchecked for a loop, the iterations of the loop are executed simultaneously. That is, the invocations and nested loops contained >+in the loop are executed, based to their <span class="uicontrol">Synchronous</span> property, for all iterations >+at the same time.</p> >+ >+<p>When <span class="uicontrol">Synchronous</span> >+is checked for an invocation, the invocation is executed sequentially. That is, the invocation is executed before continuing >+to the next invocation or loop. Conversely, when <span class="uicontrol">Synchronous</span> is unchecked for an invocation, the invocation >+executed simultaneously. That is, the invocation is executed at the same time as the sibling invocations and loops.</p>. > > <p>The <b>Up</b> and <b>Down</b> buttons are > used to alter the relative positions of invocations and loops. The <b>Add</b> >Index: concepts/cedittest.htm >=================================================================== >RCS file: /cvsroot/tptp/test/org.eclipse.hyades.test.doc.user/concepts/cedittest.htm,v >retrieving revision 1.17 >diff -u -r1.17 cedittest.htm >--- concepts/cedittest.htm 11 Mar 2008 18:12:20 -0000 1.17 >+++ concepts/cedittest.htm 16 Apr 2008 19:30:41 -0000 >@@ -81,10 +81,13 @@ > <img src="../images/editBehavior.jpg" alt=""/><p>The HTTP requests are listed by page, as > invocations, inside a loop construct initially named <span class="uicontrol">Loop 1</span>. > With this loop selected, you can rename the loop, describe what it does, or >-change the <span class="uicontrol">Number of Iterations</span>. With <span class="uicontrol">Synchronous</span> checked >-and more than one iteration specified, the loop iterations execute in sequence. >-With <span class="uicontrol">Synchronous</span> unchecked and more than one iteration >-specified, the loop iterations execute simultaneously. Inside Loop 1, you >+change the <span class="uicontrol">Number of Iterations</span>. When <span class="uicontrol">Synchronous</span> >+is checked, each iteration of the loop is executed sequentially. That is, the invocations and nested loops contained >+in the loop are executed, based to their <span class="uicontrol">Synchronous</span> property, for an >+iteration before continuing to the next iteration. Conversely, when <span class="uicontrol">Synchronous</span> is >+unchecked, the iterations of the loop are executed simultaneously. That is, the invocations and nested loops contained >+in the loop are executed, based to their <span class="uicontrol">Synchronous</span> property, for all iterations >+at the same time. Inside Loop 1, you > can:</p> > <ul><li>Re-arrange the invocations</li> > <li>Remove invocations</li> >@@ -99,7 +102,11 @@ > Then, by right-clicking that new loop and selecting <span class="uicontrol">Invocation</span>, > you can populate the new loop with invocations of other test suites or test > suite instances. You can also nest loops, and create invocations that are >-outside of any loop. </p> >+outside of any loop. With an invocation selected, you can rename the invocation, describe what it does, or >+modify an invocation such that it invokes another existing test suite. When <span class="uicontrol">Synchronous</span> >+is checked, the invocation is executed sequentially. That is, the invocation is executed before continuing >+to the next invocation or loop. Conversely, when <span class="uicontrol">Synchronous</span> is unchecked, the invocation >+executed simultaneously. That is, the invocation is executed at the same time as the sibling invocations and loops.</p> > </div> > > <div> >Index: concepts/cEditingJUnitTests.htm >=================================================================== >RCS file: concepts/cEditingJUnitTests.htm >diff -N concepts/cEditingJUnitTests.htm >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ concepts/cEditingJUnitTests.htm 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,48 @@ >+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"> >+<html lang="en-us" xml:lang="en-us"> >+<!-- >+/********************************************************************** >+ * Copyright (c) 2008 IBM Corporation. >+ * All rights reserved. This content >+ * is made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * $Id$ >+ * >+ * Contributors: >+ * IBM - Initial contribution >+ **********************************************************************/ >+ --> >+ >+<head> >+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1"/> >+<link rel=StyleSheet href="../css/book.css" type="text/css"/> >+ >+<title>Editing JUnit tests</title> >+</head> >+ >+<body> >+ >+<h1>Editing JUnit tests</h1> >+ >+<p> >+You can edit TPTP JUnit test before execution. >+</p> >+ >+<ul> >+ <li> >+ <a href="cJUnitTestEditor.htm">JUnit Test Suite Editor</a> >+ <p> >+ TPTP JUnit Tests can be edited using the TPTP JUnit test suite editor. >+ </p> >+ <br/> >+ </li> >+ <li> >+ <a href="../samples/saccessdp.htm">Tutorial: Accessing a datapool from a JUnit test</a> >+ <br/> >+ </li> >+</ul> >+ >+</body> >+ >+</html> >#P org.eclipse.tptp.test.tools.junit.plugin.doc.user >Index: toc/junitplugin_toc.xml >=================================================================== >RCS file: /cvsroot/tptp/test/org.eclipse.tptp.test.tools.junit.plugin.doc.user/toc/junitplugin_toc.xml,v >retrieving revision 1.2 >diff -u -r1.2 junitplugin_toc.xml >--- toc/junitplugin_toc.xml 9 Apr 2008 19:57:54 -0000 1.2 >+++ toc/junitplugin_toc.xml 16 Apr 2008 19:30:42 -0000 >@@ -20,9 +20,14 @@ > <topic label="Creating a JUnit plug-in test manually" href="tasks/tptpJUnitPluginTest_creatingManually.htm"/> > <topic label="Importing an existing JUnit plug-in test" href="tasks/tptpJUnitPluginTest_importing.htm"/> > </topic> >- <topic label="JUnit Plug-in Test Suite Editor" href="concepts/cpluginTestEditor.htm"> >- <topic label="Tutorial: Accessing a datapool from a JUnit test" href="../org.eclipse.hyades.test.doc.user/samples/saccessdp.htm"/> >- </topic> >+ <topic label="Editing JUnit Plug-in tests" href="concepts/cEditingJUnitPluginTests.htm"> >+ <topic label="JUnit Plug-in Test Suite Editor" href="concepts/cpluginTestEditor.htm"> >+ <topic label="JUnit Test Suite Editor" href="../org.eclipse.hyades.test.doc.user/concepts/cJUnitTestEditor.htm"/> >+ <topic label="Adding test methods" href="../org.eclipse.hyades.test.doc.user/tasks/tptpJUnitTest_addingTestMethods.htm"/> >+ <topic label="Mapping test methods to a TPTP JUnit Plug-in test" href="../org.eclipse.hyades.test.doc.user/tasks/tptpJUnitTest_testMethods.htm"/> >+ </topic> >+ <topic label="Tutorial: Accessing a datapool from a JUnit Plug-in test" href="../org.eclipse.hyades.test.doc.user/samples/saccessdp.htm"/> >+ </topic> > <topic label="Creating a workbench location" href="tasks/tcreateWorkbenchLocation.htm"/> > <topic label="Workbench location editor" href="concepts/cworkbenchLocationEditor.htm"/> > <topic label="Create a deployment" href="tasks/tdeploy2.htm"/> >Index: concepts/cEditingJUnitPluginTests.htm >=================================================================== >RCS file: concepts/cEditingJUnitPluginTests.htm >diff -N concepts/cEditingJUnitPluginTests.htm >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ concepts/cEditingJUnitPluginTests.htm 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,48 @@ >+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"> >+<html lang="en-us" xml:lang="en-us"> >+<!-- >+/********************************************************************** >+ * Copyright (c) 2008 IBM Corporation. >+ * All rights reserved. This content >+ * is made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * $Id$ >+ * >+ * Contributors: >+ * IBM - Initial contribution >+ **********************************************************************/ >+ --> >+ >+<head> >+<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1"/> >+<link rel=StyleSheet href="../css/book.css" type="text/css"/> >+ >+<title>Editing JUnit Plug-in tests</title> >+</head> >+ >+<body> >+ >+<h1>Editing JUnit Plug-in tests</h1> >+ >+<p> >+You can edit TPTP JUnit Plug-in test before execution. >+</p> >+ >+<ul> >+ <li> >+ <a href="cpluginTestEditor.htm">JUnit Plug-in Test Suite Editor</a> >+ <p> >+ TPTP JUnit Plug-in Tests can be edited using the TPTP JUnit Plug-in test suite editor. >+ </p> >+ <br/> >+ </li> >+ <li> >+ <a href="../../org.eclipse.hyades.test.doc.user/samples/saccessdp.htm">Tutorial: Accessing a datapool from a JUnit Plug-in test</a> >+ <br/> >+ </li> >+</ul> >+ >+</body> >+ >+</html>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 201893
: 96319