Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 302579

Summary: TPTP JUnit/Plug-in test logs are missing events.
Product: z_Archived Reporter: Paul Slauenwhite <paulslau>
Component: TPTPAssignee: Paul Slauenwhite <paulslau>
Status: CLOSED FIXED QA Contact: Kathy Chan <kathy>
Severity: major    
Priority: P1 CC: paulslau
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on: 299964    
Bug Blocks:    
Attachments:
Description Flags
Sample projects.
none
Patch. none

Description Paul Slauenwhite CLA 2010-02-11 08:50:18 EST
Created attachment 158844 [details]
Sample projects.

TPTP JUnit Plug-in test logs are missing events.

See /Plugin_Project/JUnit_Plugin_Test_Suite.execution in the attached sample projects.

Appears to be a regression caused by https://bugs.eclipse.org/bugs/show_bug.cgi?id=299964.
Comment 1 Paul Slauenwhite CLA 2010-02-11 08:52:41 EST
The test log is missing the first start event and invocation event(s).  That is, it only contains the aggregate verdict event and last stop event.
Comment 2 Paul Slauenwhite CLA 2010-02-11 09:16:15 EST
Reproducible in both TPTP JUnit and TPTP JUnit Plug-in test types (see test logs for http://download.eclipse.org/tptp/4.7.0/dev/TPTP-4.7.0-201002091900/BVT/IBM_JRE_150/index.html).
Comment 3 Paul Slauenwhite CLA 2010-02-11 09:58:52 EST
Note, this was reproduced for the TPTP JUnit Plug-in test type using the IAC.
Comment 4 Paul Slauenwhite CLA 2010-02-11 10:27:30 EST
Created attachment 158864 [details]
Patch.
Comment 5 Paul Slauenwhite CLA 2010-02-11 10:28:52 EST
Regression caused by https://bugs.eclipse.org/bugs/show_bug.cgi?id=299964.

The attached patch checked in to CVS (HEAD).
Comment 6 Paul Slauenwhite CLA 2010-02-15 09:25:22 EST
In the TPTP-4.7.0-201002141900, the first start event is now in the test log, but not the invocation event.  

Test Types:
TPTP JUnit
TPTP JUnit Plug-in

Configs:
IAC (IBM JRE 1.6)
AC (IBM JRE 1.6)
Comment 7 Paul Slauenwhite CLA 2010-02-16 11:02:17 EST
(In reply to comment #6)
> In the TPTP-4.7.0-201002141900, the first start event is now in the test log,
> but not the invocation event.  
> 
> Test Types:
> TPTP JUnit
> TPTP JUnit Plug-in
> 
> Configs:
> IAC (IBM JRE 1.6)
> AC (IBM JRE 1.6)

Caused by https://bugs.eclipse.org/bugs/show_bug.cgi?id=302859 since the new test methods/invocations did not mark the editor dirty so the code generation was not invoked.
Comment 8 Paul Slauenwhite CLA 2010-02-16 11:05:51 EST
Verified in TPTP-4.7.0-201002141900.