Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dsdp-tm-dev] 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