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 62155 Details for
Bug 162487
Event loader should tie defect to the ExecutionResult record
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]
Fix patch file for XMLexecutionEventLoader.java
XMLexecutionEventLoader_patch.txt (text/plain), 1.52 KB, created by
Bianca Jiang
on 2007-03-27 17:32:01 EDT
(
hide
)
Description:
Fix patch file for XMLexecutionEventLoader.java
Filename:
MIME Type:
Creator:
Bianca Jiang
Created:
2007-03-27 17:32:01 EDT
Size:
1.52 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.tptp.platform.models >Index: src-test/org/eclipse/hyades/loaders/common/XMLexecutionEventLoader.java >=================================================================== >RCS file: /cvsroot/tptp/platform/org.eclipse.tptp.platform.models/src-test/org/eclipse/hyades/loaders/common/XMLexecutionEventLoader.java,v >retrieving revision 1.9 >diff -u -r1.9 XMLexecutionEventLoader.java >--- src-test/org/eclipse/hyades/loaders/common/XMLexecutionEventLoader.java 8 Mar 2007 21:17:24 -0000 1.9 >+++ src-test/org/eclipse/hyades/loaders/common/XMLexecutionEventLoader.java 27 Mar 2007 21:31:04 -0000 >@@ -349,13 +349,23 @@ > } > } > >- // Now add all the repository records of that event >+ // Now add all the repository records of that event to the root result > if (repositoryRecords != null) { >- Iterator iter = repositoryRecords.iterator(); >+ TPFExecutionResult exResult = null; >+ try { >+ ExecutionContext eContext = (ExecutionContext) context.getCustomData().get(ExecutionContext.root); >+ exResult = eContext.rootResult.getResult(); >+ } >+ catch(Throwable t){t.printStackTrace();} >+ >+ Iterator iter = repositoryRecords.iterator(); > while (iter.hasNext()) { > TPFRepositoryRecord record = (TPFRepositoryRecord)iter.next(); > if (record != null) { > event.getDefectRecords().add(record); >+ // Also add the repository record to root level execution result. >+ if(exResult != null) >+ exResult.getRecords().add(record); > } > } > }
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 162487
: 62155