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 133983 Details for
Bug 135983
[doc] Too many screen captures in the Test guide
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.
Bugzilla_135983_Patch.txt (text/plain), 15.92 KB, created by
Paul Slauenwhite
on 2009-04-30 14:02:56 EDT
(
hide
)
Description:
Patch.
Filename:
MIME Type:
Creator:
Paul Slauenwhite
Created:
2009-04-30 14:02:56 EDT
Size:
15.92 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.tptp.test.recorders.url.doc.user >Index: build.properties >=================================================================== >RCS file: /cvsroot/tptp/test/org.eclipse.tptp.test.recorders.url.doc.user/build.properties,v >retrieving revision 1.2 >diff -u -r1.2 build.properties >--- build.properties 30 May 2008 18:26:09 -0000 1.2 >+++ build.properties 30 Apr 2009 18:03:35 -0000 >@@ -5,5 +5,4 @@ > plugin.properties,\ > css/,\ > toc/,\ >- images/,\ > notices.html >#P org.eclipse.tptp.test.tools.junit.plugin.doc.user >Index: build.properties >=================================================================== >RCS file: /cvsroot/tptp/test/org.eclipse.tptp.test.tools.junit.plugin.doc.user/build.properties,v >retrieving revision 1.2 >diff -u -r1.2 build.properties >--- build.properties 30 May 2008 18:26:04 -0000 1.2 >+++ build.properties 30 Apr 2009 18:03:36 -0000 >@@ -6,5 +6,4 @@ > plugin.properties,\ > css/,\ > toc/,\ >- images/,\ > notices.html >#P org.eclipse.hyades.test.doc.user >Index: tasks/tptpJUnitTest_testMethods.htm >=================================================================== >RCS file: /cvsroot/tptp/test/org.eclipse.hyades.test.doc.user/tasks/tptpJUnitTest_testMethods.htm,v >retrieving revision 1.12 >diff -u -r1.12 tptpJUnitTest_testMethods.htm >--- tasks/tptpJUnitTest_testMethods.htm 30 May 2008 18:25:56 -0000 1.12 >+++ tasks/tptpJUnitTest_testMethods.htm 30 Apr 2009 18:03:37 -0000 >@@ -2,7 +2,7 @@ > <html lang="en-us" xml:lang="en-us"> > <!-- > /********************************************************************** >- * Copyright (c) 2006, 2008 Scapa Technologies and others. >+ * Copyright (c) 2006, 2009 Scapa Technologies and others. > * 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 >@@ -25,7 +25,6 @@ > <p>From the Java class, TPTP JUnit Test automatically > identifies methods whose names begin with 'test' and maps these onto Test > Methods. For example, the source of the class SimpleTest is as follows:</p> >-<p> </p> > > <pre> > package junit.samples; >@@ -102,14 +101,9 @@ > } > </pre> > >-<p> </p> >-<p> </p> > <p>There are 3 methods whose names begin with 'test': <b>testAdd</b>, > <b>testDivideByZero</b>, and <b>testEquals</b>. These methods are listed in the <b>Test > Methods</b> pane of the Overview tab.</p> >-<p> </p> >-<p align=center><img src="../images/junittest001.png" alt=""/></p> >-<p> </p> > > <p>Note that, if the user adds a test method using the test editor, a new method will be added to the code.</p> > >Index: tasks/trunningjunittestsuite.htm >=================================================================== >RCS file: /cvsroot/tptp/test/org.eclipse.hyades.test.doc.user/tasks/trunningjunittestsuite.htm,v >retrieving revision 1.11 >diff -u -r1.11 trunningjunittestsuite.htm >--- tasks/trunningjunittestsuite.htm 23 Feb 2009 14:52:18 -0000 1.11 >+++ tasks/trunningjunittestsuite.htm 30 Apr 2009 18:03:37 -0000 >@@ -29,18 +29,7 @@ > > <p>If you want to run a TPTP JUnit Test remotely, you must create and configure a test deployment. > At a basic level, test deployments are >-entities which relate other TPTP entities, artifacts and locations in pairs.<br/> >-<img width=486 height=216 src="../images/trunningjunittestsuite_image001.gif" alt="tree rooted at 1 with children 2 and 3. 4 is a leaf of 2 and 5 is a leaf of 3."/> >-<br/><b>Figure 1: >-<ol> >- <li>Deployment</li> >- <li>Artifact</li> >- <li>Location</li> >- <li>Test suites, datapools, and so on</li> >- <li>Host name, and so on</li> >-</ol> >-</b> >-</p> >+entities which relate other TPTP entities, artifacts and locations in pairs.</p> > > <p>Test <i>artifacts</i> provide associations for test assets like test suites (TPTP JUnit Tests for example) and datapools; test <i>locations</i> identify > the computer where the test suite is to be run; and a test deployment definition typically consists of a pairing comprising a test artifact and a >@@ -57,11 +46,8 @@ > <li>OS Considerations</li> > </ul> > >-<p> >-These issues are discussed in the <i>Deployment ground rules</i> topic. >-</p> >- > <p><b>Related tasks</b><br/> >+ <a href="tdeploymentintro.htm">Creating a test deployment</a><br/> > <a href="trun.htm">Running a test</a><br/> > </p> > >Index: tasks/tcreatetestreports.htm >=================================================================== >RCS file: /cvsroot/tptp/test/org.eclipse.hyades.test.doc.user/tasks/tcreatetestreports.htm,v >retrieving revision 1.9 >diff -u -r1.9 tcreatetestreports.htm >--- tasks/tcreatetestreports.htm 29 Apr 2009 17:08:12 -0000 1.9 >+++ tasks/tcreatetestreports.htm 30 Apr 2009 18:03:37 -0000 >@@ -15,8 +15,9 @@ > --> > > <head> >-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> >-<link rel="StyleSheet" href="../css/book.css" type="text/css" /> >+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/> >+<link rel="stylesheet" type="text/css" href="../css/book.css"/> >+<link rel="stylesheet" type="text/css" href="../css/swg_info_common.css"/> > <title>Generating test reports</title> > </head> > <body> >Index: tasks/tptpJUnitTest_addingTestMethods.htm >=================================================================== >RCS file: /cvsroot/tptp/test/org.eclipse.hyades.test.doc.user/tasks/tptpJUnitTest_addingTestMethods.htm,v >retrieving revision 1.10 >diff -u -r1.10 tptpJUnitTest_addingTestMethods.htm >--- tasks/tptpJUnitTest_addingTestMethods.htm 3 May 2007 14:33:15 -0000 1.10 >+++ tasks/tptpJUnitTest_addingTestMethods.htm 30 Apr 2009 18:03:37 -0000 >@@ -2,7 +2,7 @@ > <html lang="en-us" xml:lang="en-us"> > <!-- > /********************************************************************** >- * Copyright (c) 2006, 2007 Scapa Technologies and others. >+ * Copyright (c) 2006, 2009 Scapa Technologies and others. > * 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 >@@ -36,12 +36,6 @@ > 1</i> method with <i>testAccount</i> by editing the value in the <b>Name</b> text box. Read about the other widgets on this page in the <i>JUnit Test Editor</i> topic. > </p> > >-<p> </p> >- >-<p align=center><img src="../images/junitadd001.png" alt=""/></p> >- >-<p> </p> >- > <p>Repeat to add <i>testOrder</i> and <i>testInvoice</i>.</p> > > <h3>Associate test methods with the loop</h3> >@@ -56,9 +50,6 @@ > > <p>To include the testInvoice test method, stop selecting <i>Loop > 1</i>, click<b> Add...</b>, select <i>testInvoice</i>, and click on <b>OK</b>. The Behavior should look like the screen capture below: a loop containing an invocation to testAccount and to testOrder, and following the loop an invocation to testInvoice.</p> >-<img border="0" src="../images/addmethod.gif" width="557" height="380" alt=""/> >- >-<p> </p> > > <h3>The Associated Java</h3> > >Index: concepts/cJUnitTestEditor.htm >=================================================================== >RCS file: /cvsroot/tptp/test/org.eclipse.hyades.test.doc.user/concepts/cJUnitTestEditor.htm,v >retrieving revision 1.10 >diff -u -r1.10 cJUnitTestEditor.htm >--- concepts/cJUnitTestEditor.htm 29 Apr 2009 17:08:14 -0000 1.10 >+++ concepts/cJUnitTestEditor.htm 30 Apr 2009 18:03:37 -0000 >@@ -30,8 +30,6 @@ > how those methods are invoked. > Double-clicking on a JUnit test suite file opens the TPTP > JUnit Test Suite editor. Three tabs are visible: <b>Overview</b>, <b>Test Methods</b>, and <b>Behavior</b>.</p> >-<p align="center"><img border="0" src="../images/juniteditor.gif" width="590" >- height="461" alt=""/></p> > > <h2>Overview Tab</h2> > >@@ -48,8 +46,7 @@ > > <h2>Test Methods Tab</h2> > <p>If the Test Methods tab is selected then the view switches >-to the Test Methods section of the editor:</p> >-<p align=center><img src="../images/junittest003.png" alt=""/></p> >+to the Test Methods section of the editor</p> > <p>Selecting a test method reveals its <i>Name</i> and <i>Description</i> > (if present) in the right-hand pane.</p> > <p>To alter a test method <b>name</b>, select the test method >@@ -91,10 +88,6 @@ > can be changed via the <b>Number of Iterations</b> > check box which specifies the number of loop iterations. </p> > >-<p><img src="../images/junitbehavior.png" alt=""/></p> >- >-<p> </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 >Index: concepts/cedittest.htm >=================================================================== >RCS file: /cvsroot/tptp/test/org.eclipse.hyades.test.doc.user/concepts/cedittest.htm,v >retrieving revision 1.21 >diff -u -r1.21 cedittest.htm >--- concepts/cedittest.htm 29 Apr 2009 17:08:13 -0000 1.21 >+++ concepts/cedittest.htm 30 Apr 2009 18:03:37 -0000 >@@ -40,8 +40,8 @@ > by right-clicking it in the <a href='javascript:executeCommand("org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.hyades.test.ui.TestNavigator)")'>Test Navigator</a> of the <a href='javascript:executeCommand("org.eclipse.ui.perspectives.showPerspective(org.eclipse.ui.perspectives.showPerspective.perspectiveId=org.eclipse.hyades.ui.perspective.TestPerspective)")'>Test Perspective</a> and selecting <span class="uicontrol">Generate</span>. > Or you can first edit the test by right-clicking it and selecting <span class="uicontrol">Open</span>. </p> > <p> </p> >-<p>Open the performance test in the TPTP URL Test editor:</p> >-<img src="../images/editOverview.jpg" alt=""/><p>The test opens in the <span class="uicontrol">Overview</span> tab (see the bottom >+<p>Open the performance test in the TPTP URL Test editor.</p> >+<p>The test opens in the <span class="uicontrol">Overview</span> tab (see the bottom > border) with the four edit areas (<span class="uicontrol">TPTP URL Test</span> and <span class="uicontrol">Source > Information</span> on the left and <span class="uicontrol">Deployment</span> and <span class="uicontrol">HTTP Requests</span> on > the right) expanded. You switch to the other edit panes by clicking the appropriate >@@ -65,8 +65,8 @@ > and select <b>Open Source</b> or <b>Alt+Shift+T, O</b>.</p> > <p>The <span class="uicontrol">HTTP Requests</span> area on the right lists all HTTP > requests in the test. Clicking one of these requests takes you to the HTTP >-Requests view, shown below.</p> >-<img src="../images/editRequests.jpg" alt="" /><p>You can also get to this edit pane by clicking the <span class="uicontrol">HTTP Requests</span> tab >+Requests view.</p> >+<p>You can also get to this edit pane by clicking the <span class="uicontrol">HTTP Requests</span> tab > along the bottom. When you click a request on the left, you see that request's > properties on the right. You can:</p> > <ul><li>Change the properties of an existing request</li> >@@ -83,8 +83,8 @@ > that you want to simulate during test execution. > </p> > <p>Clicking the <span class="uicontrol">Behavior</span> tab opens the behavior edit >-pane, shown below.</p> >-<img src="../images/editBehavior.jpg" alt=""/><p>The HTTP requests are listed by page, as >+pane.</p> >+<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>. When <span class="uicontrol">Synchronous</span> >@@ -101,8 +101,7 @@ > Thus, if you click an invocation, an Edit button appears under Detailed Properties. > Clicking this button opens the Test Invocation dialog box, allowing you to > invoke another existing test suite in your workspace with the selected GET >-invocation. <br /> >-<img src="../images/editBehaviorInvocation.jpg" alt=""/></li> >+invocation.</li> > </ul> > <p>With the <span class="uicontrol">Add</span> button, you can create a new loop. > Then, by right-clicking that new loop and selecting <span class="uicontrol">Invocation</span>, >Index: samples/saccessdatapool.htm >=================================================================== >RCS file: /cvsroot/tptp/test/org.eclipse.hyades.test.doc.user/samples/saccessdatapool.htm,v >retrieving revision 1.1 >diff -u -r1.1 saccessdatapool.htm >--- samples/saccessdatapool.htm 2 Apr 2009 17:29:23 -0000 1.1 >+++ samples/saccessdatapool.htm 30 Apr 2009 18:03:37 -0000 >@@ -172,8 +172,6 @@ > Invocation dialog appears. Select <b>testItemCost</b> and click OK.</li> > <li>Save the test suite. From the File menu, choose <b>File > Save</b>. > <br /> >- <img border="0" src="../images/testTutorial_Behavior.gif" width="534" >- height="407" alt=""/> <br /> > Note: the Save command causes the TPTP JUnit Test editor to create > test method stubs in <i>MyShoppingCartTest.java</i>.<br /> > </li> >@@ -217,9 +215,9 @@ > select the datapoolExample project folder for the location.</li> > <li>Click <b>Run</b> to launch the test.</li> > </ul></li> >- <li>Double-click the MyShoppingCartTest test log, which appears in the <a href='javascript:executeCommand("org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.hyades.test.ui.TestNavigator)")'>Test Navigator</a> of the <a href='javascript:executeCommand("org.eclipse.ui.perspectives.showPerspective(org.eclipse.ui.perspectives.showPerspective.perspectiveId=org.eclipse.hyades.ui.perspective.TestPerspective)")'>Test Perspective</a>. The MyShoppingCartTest test log appears. Select the Events tab to view the test details. You should see the following events: start of test suite, start of Loop_MyShoppingCart, test start, test verdict, test stop, second test start, second test verdict, second test stop, loop stop, test suite verdict, and test suite stop.<br /> >- <img border="0" src="../images/testTutorial_JUnitSuccess.gif" >- width="666" height="420" alt=""/></li></ol><br /> >+ <li>Double-click the MyShoppingCartTest test log, which appears in the <a href='javascript:executeCommand("org.eclipse.ui.views.showView(org.eclipse.ui.views.showView.viewId=org.eclipse.hyades.test.ui.TestNavigator)")'>Test Navigator</a> of the <a href='javascript:executeCommand("org.eclipse.ui.perspectives.showPerspective(org.eclipse.ui.perspectives.showPerspective.perspectiveId=org.eclipse.hyades.ui.perspective.TestPerspective)")'>Test Perspective</a>. The MyShoppingCartTest test log appears. Select the Events tab to view the test details. You should see the following events: start of test suite, start of Loop_MyShoppingCart, test start, test verdict, test stop, second test start, second test verdict, second test stop, loop stop, test suite verdict, and test suite stop.</li> >+ </ol> >+ <br /> > <h2><a name="CreateDatapool">Creating a datapool and initializing test > data</a></h2> > <br />In this procedure, you create a simple datapool to store test data. Using the datapool editor, you define a datapool's structural >@@ -270,10 +268,7 @@ > </li> > <li class="skipspace"><span>Click <span class="uicontrol">Finish</span>.</span> If you specified initial datapool dimensions, which may conflict with the CSV file dimensions, a dialog appears. Click <b>Yes</b> to use the dimensions of the CSV file. Click <b>No</b> to use the specified initial dimensions (and possibly truncate the CSV file data).<span> > </span>The Datapool editor appears, showing the data contained in the flowers equivalence class. <br /> >- <img >- border="0" src="../images/testTutorial_datapoolAppears.gif" >- width="354" height="416" alt=""/> >- <br />For detailed information about creating a datapool, see <a >+ For detailed information about creating a datapool, see <a > href="../tasks/tcreatedatapool.htm">Creating a datapool</a>.</li> > </ol> > <h2><a name="ModifyTestCasesDP"><br />
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 135983
: 133983 |
133984