| java.lang.Object org.eclipse.ui.internal.PartTester
PartTester | public class PartTester (Code) | | |
testEditor | public static void testEditor(IEditorPart part) throws Exception(Code) | | Sanity-check the public interface of the editor. This is called on every editor after it
is fully initiallized, but before it is actually connected to the editor reference or the
layout. Calls as much of the editor's public interface as possible to test for exceptions,
and tests the return values for glaring faults. This does not need to be an exhaustive conformance
test, as it is called every time an editor is opened and it needs to be efficient.
The part should be unmodified when the method exits.
Parameters: part - |
testView | public static void testView(IViewPart part) throws Exception(Code) | | Sanity-check the public interface of a view. This is called on every view after it
is fully initiallized, but before it is actually connected to the part reference or the
layout. Calls as much of the part's public interface as possible without modifying the part
to test for exceptions and check the return values for glaring faults. This does not need
to be an exhaustive conformance test, as it is called every time an editor is opened and
it needs to be efficient.
Parameters: part - |
|
|