Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 299715 - [LTTng] Preparation of test suites for Linux Tools integration
Summary: [LTTng] Preparation of test suites for Linux Tools integration
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: LinuxTools (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: William Bourque CLA
QA Contact: Francois Chouinard CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 290046
  Show dependency tree
 
Reported: 2010-01-14 18:15 EST by Francois Chouinard CLA
Modified: 2022-01-13 14:53 EST (History)
0 users

See Also:


Attachments
LTTng test preparation (373.06 KB, patch)
2010-01-14 18:15 EST, Francois Chouinard CLA
fchouinard: iplog-
Details | Diff
Updated patch (372.40 KB, patch)
2010-01-15 11:39 EST, Francois Chouinard CLA
fchouinard: iplog-
Details | Diff
Support for test files (13.77 KB, patch)
2010-01-21 15:27 EST, Francois Chouinard CLA
fchouinard: iplog-
Details | Diff
LTTng tests addition (21.85 KB, patch)
2010-01-21 15:35 EST, Francois Chouinard CLA
fchouinard: iplog-
Details | Diff
New tests and some fixes here and there (24.85 KB, patch)
2010-01-22 14:19 EST, William Bourque CLA
william.bourque: iplog-
Details | Diff
To fix failing unit tests (14.72 KB, patch)
2010-01-26 18:31 EST, William Bourque CLA
william.bourque: iplog-
Details | Diff
Fix broken unit tests (4.11 KB, patch)
2010-01-26 18:56 EST, William Bourque CLA
fchouinard: iplog-
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Francois Chouinard CLA 2010-01-14 18:15:45 EST
Created attachment 156180 [details]
LTTng test preparation

A number of small adjustments in preparation for LTTng/TMF test suites integration:

- Standardized the test classes names
- Adjusted some of the LTTng code
- Added the necessary test.xml
Comment 1 Francois Chouinard CLA 2010-01-15 11:39:00 EST
Created attachment 156247 [details]
Updated patch

Updated patch that covers some plugin structural changes in LTTng/TMF (testing only).
Comment 2 Francois Chouinard CLA 2010-01-15 13:45:52 EST
Comment on attachment 156180 [details]
LTTng test preparation

Fix has been committed
Comment 3 Francois Chouinard CLA 2010-01-15 13:46:11 EST
Done.
Comment 4 Francois Chouinard CLA 2010-01-21 15:27:34 EST
Created attachment 156861 [details]
Support for test files

The test plugins were not initially created to be part of the Linux Tools automated testing strategy.

It doesn't matter that much except when test files are bundled with in the plugins.

To be portable, they should be accessed relative to the bundle itself, not the workspace as is the case today.
Comment 5 Francois Chouinard CLA 2010-01-21 15:29:50 EST
Re-opened bug for test files supprt.
Comment 6 Francois Chouinard CLA 2010-01-21 15:35:17 EST
Created attachment 156863 [details]
LTTng tests addition

Same for LTTng
Comment 7 William Bourque CLA 2010-01-22 14:19:53 EST
Created attachment 156976 [details]
New tests and some fixes here and there

Added some new tests in Lttng.
Fixed a bug in old tests.

Added something in LttngTextTrace in org.eclipse.linuxtools.lttng.trace.
Comment 8 Francois Chouinard CLA 2010-01-22 14:28:30 EST
Comment on attachment 156861 [details]
Support for test files

Fix committed.
Comment 9 Francois Chouinard CLA 2010-01-22 14:28:41 EST
Comment on attachment 156863 [details]
LTTng tests addition

Fix committed.
Comment 10 William Bourque CLA 2010-01-22 14:29:40 EST
Comment on attachment 156976 [details]
New tests and some fixes here and there

Patch committed
Comment 11 William Bourque CLA 2010-01-26 18:31:08 EST
Created attachment 157356 [details]
To fix failing unit tests

- Fix the unit tests wthat were failing before.(Lttng part)
- Also add some JNI unit test, event thought they can't be run by Hudson
- Change in the trace name
Comment 12 William Bourque CLA 2010-01-26 18:56:57 EST
Created attachment 157358 [details]
Fix broken unit tests

Some unit tests were broken with the last patch, this should (hepofully) fix all of them.
Comment 13 Andrew Overholt CLA 2010-02-25 11:00:46 EST
You don't need a test.xml if you don't want one.  That being said, they're dead simple and you can probably just copy an existing one and modify it for your plugin IDs.
Comment 14 William Bourque CLA 2010-04-09 15:47:24 EDT
That's pretty much done I believe. 
I will open it again if more tests are needed.
Comment 15 Francois Chouinard CLA 2010-07-05 17:10:25 EDT
Delivered with the Helios release.