Search in sources :

Example 1 with GmonView

use of org.eclipse.linuxtools.internal.gprof.view.GmonView in project linuxtools by eclipse.

the class GprofTest method testView.

@Test
public void testView() {
    GmonView view = GmonView.displayGprofView(gd, gmonFile.getAbsolutePath());
    SwitchContentProviderAction action = new SwitchContentProviderAction("testAction", "icons/ch_callees.png", /* to avoid error */
    view.getSTViewer().getViewer(), contentProvider);
    action.run();
    changeMode(view, timeMode);
    STJunitUtils.testCSVExport(view, dumpFile.getAbsolutePath(), refFile.getAbsolutePath());
}
Also used : SwitchContentProviderAction(org.eclipse.linuxtools.internal.gprof.action.SwitchContentProviderAction) GmonView(org.eclipse.linuxtools.internal.gprof.view.GmonView) Test(org.junit.Test)

Aggregations

SwitchContentProviderAction (org.eclipse.linuxtools.internal.gprof.action.SwitchContentProviderAction)1 GmonView (org.eclipse.linuxtools.internal.gprof.view.GmonView)1 Test (org.junit.Test)1