Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dsdp-tm-dev] Re: Platform Unit Tests


Thanks, Martin.  I will give it a try.

Thanks,

Xuan Chen,  Problem Determination Tools for iSeries
(905) 413-3769 T/L 969-3769
xuanchen@xxxxxxxxxx




"Oberhuber, Martin" <Martin.Oberhuber@xxxxxxxxxxxxx>

07/31/2007 03:26 PM

To
Xuan Chen/Toronto/IBM@IBMCA
cc
<dsdp-tm-dev@xxxxxxxxxxx>
Subject
Platform Unit Tests





Hi Xuan,

as discussed at the committer meeting: One example
of a Platform Core unit test is in plugin
  org.eclipse.core.tests.resources
and it's class
  SymlinkTest

To try it out:
* set a breakpoint at SymlinkTest#isTestablePlatform()
* Select SymlinkTest in package explorer
* Right-click > Debug as > Junit Plug-in Test

It will hit your breakpoint.

Same way you can select any test suite, e.g.
  org.eclipse.core.tests.filesystem.AllTests
Right-click > Run as > Junit plug-in Test

Hope that helps, if there are any more questions
let me know,

--
Martin Oberhuber
Wind River Systems, Inc.
Target Management Project Lead, DSDP PMC Member
http://www.eclipse.org/dsdp/tm


Back to the top