DESCRIPTION

TMF: Add a getTrace() method to TmfTraceElement

This will return the corresponding opened and instantiated trace from the
trace manager.
Also add some unit tests and test objects for the UI project elements

Change-Id: Ief78119ee4d75906c881ce2347a420d50b072399
Signed-off-by: Aryana Jones xxx@xxx.xxx


COMMENTS

author: Annalise Jimenez
date: 2013-08-14 19:53:26.000000000

Uploaded patch set 3.

-------------------------------------
author: Annalise Jimenez
date: 2013-08-14 19:55:51.000000000

Patch Set 3:

Is Brenden Conley on vacation?

-------------------------------------
author: Ricky Reeves
date: 2013-08-14 20:18:00.000000000

Patch Set 3: Code-Review-1

(4 comments)

Line:48, lttng/org.eclipse.linuxtools.tmf.ui.tests/src/org/eclipse/linuxtools/tmf/ui/tests/project/model/ProjectModelTraceTest.java -> You also xxx@xxx.xxx method to remove the tracing project. This makes sure that next execution of the test starts from a clean base.

Line:50, lttng/org.eclipse.linuxtools.tmf.ui.tests/src/org/eclipse/linuxtools/tmf/ui/tests/project/model/ProjectModelTestObjects.java -> Use TmfProjectRegistry.createProject() to create a tracing project.

Line:21, lttng/org.eclipse.linuxtools.tmf.ui.tests/src/org/eclipse/linuxtools/tmf/ui/tests/project/model/AllTests.java -> Add this test suite to org.eclipse.linuxtools.tmf.ui.tests.AllTmfUITests so that it is executed during every maven build

Line:254, lttng/org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/model/TmfOpenTraceHelper.java -> this should be in a finally block

-------------------------------------
