Community
Participate
Working Groups
If Test log viewer is opened before the test finishes executing, the verdict navigation toolbar (enabled/disabled) status reflects the verdicts contained when the log is opened. While test log viewer refreshes when there's changes to the content of test log, toolbar status doesn't.
workaround is to close the Test log viewer and reopen it. Deferring to 4.2.
Sizing updated as provided by Bianaca.
Targeting to future since not containable in 4.4.
As discussed on this week's Test Project call (January 22, 2007), the Test Project will focus on existing P1 - P2/Blocker - Major and P1/Normal and test creation/automation defects (omitting defects dependant on outstanding features) in TPTP 4.4. All other Test Project defects have been targeted to future. If this defect has been targeted to future and you/originator feel it should be completed in 4.4, please provide the necessary reason as a reply to this comment or a post to the Test Project mailing list (tptp-test-tooling-dev@eclipse.org). We will collectively triage and assess our resources to determine a case-by-case decision.
Correction: The Test Project mailing list is tptp-testing-tools-dev@eclipse.org.
Reassigning to the Project Lead.
*** Bug 218794 has been marked as a duplicate of this bug. ***
*** Bug 210742 has been marked as a duplicate of this bug. ***
In addition: [Defect #210742] Log Viewer : navigation button on event part of test log are not enabled by default Steps To Reproduce: 1.open a test log 2.navigation button on event part of test log are not enabled by default. they only become enable when you use the "select" button [Defect #218794] The five toolbar buttons in test log are disabled after click some verdicts in event tree There are five buttons in eventpage of test log: Navigate to First Navigate to Previous Select the verdict type to navigate Navigate to Next Navigate to Last when I open one execution file--events page, those buttons are enabled as long as I don't click some verdict or message in events tree, after I click/expand the tree by myself, the buttons become disabled For the button: Selece the verdict type to navigate the default value for that button is 'All' ,after I choose one type of verdict(ie.'FAIL'), it will expand the tree contains the first 'FAIL' result, and those buttons are still enabled as long as I don't click some verdict or message in events tree, after I click/expand other tree by myself, the buttons become disabled except the last 'FAIL' result expanded by buttons(navigate to/first previous/nest/last) no matter what you choose(or use default'All') in the button to select verdict type, those 5 buttons are always disabled after you click/expand events tree except you click the last result expanded by those navigating buttons
See /org.eclipse.hyades.test.ui/src/org/eclipse/hyades/test/ui/forms/actions/VerdictTypesPullDownAction.java.
Defect #218794 is a regression caused by the model scalability work recently completed in 4.4.0 (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=180986#c1). As a result, the new query-based verdict navigation in Test Log Viewer (/org.eclipse.hyades.test.ui/src/org/eclipse/hyades/test/ui/forms/base/TestLogVerdictTraversalQuery.java) does not support navigating relative to a element selection (other than the current selected verdict event) in the event tree, despite the interface (/org.eclipse.hyades.test.ui/src/org/eclipse/hyades/test/ui/forms/util/ITestLogVerdictTraversal.java) defining such methods. If the user changes selection from the current selected verdict event, they have to close/reopen the editor or reselect a new verdict type for the navigation buttons.
Created attachment 107135 [details] Patch. Patch to fix disabling the verdict navigation buttons when there is no verdict in the test log (e.g. 'no verdict'). Patch checked in to CVS (HEAD).
Hours worked for the first patch.
Created attachment 107192 [details] Patch Part 2. Patch to fix disabling the verdict navigation buttons when there is no verdicts of the current type.
(In reply to comment #14) > Created an attachment (id=107192) [details] > Patch Part 2. > > Patch to fix disabling the verdict navigation buttons when there is no verdicts > of the current type. > Patch checked in to CVS (HEAD).
(In reply to comment #0) > If Test log viewer is opened before the test finishes executing, the verdict > navigation toolbar (enabled/disabled) status reflects the verdicts contained > when the log is opened. While test log viewer refreshes when there's changes > to the content of test log, toolbar status doesn't. Handled under https://bugs.eclipse.org/bugs/show_bug.cgi?id=158284.
Created attachment 107200 [details] Patch Part 3. Patch to fix the following: -Enabled the verdict navigation buttons when the Test Log Viewer is first opened (opening the Events tab manually or from the links on the Overview tab) and verdicts events are selected in the event tree. Since the TestLogVerdictTraversalQuery does not support iterating non-TPFVerdictEvent events, only the first/last navigation buttons will be enabled when non-verdicts events are selected in the event tree. -Updated the verdict type drop-down to only change the verdict type, notify the listeners, and run the action when the verdict type has changed. -Updated TestLogVerdictTraversalQuery.java to support navigation relative to a verdict element selection in the event tree. -Commented the ITestLogVerdictTraversal.java interface. Patch checked in to CVS (HEAD).
Hours worked to create/test the last two patches.
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.
Correcting component.