lttng: Fix use of deprecated SWTBot API
[deliverable/tracecompass.git] / lttng / org.eclipse.tracecompass.lttng2.kernel.ui.swtbot.tests / src / org / eclipse / tracecompass / lttng2 / kernel / ui / swtbot / tests / ResourcesViewTest.java
index c95118373405dbeb43243f3dd14595a0f418dbc4..c233c7293fb7c1152fe8db42af303fec091352ba 100644 (file)
@@ -164,14 +164,14 @@ public class ResourcesViewTest extends KernelTestBase {
         assertTrue(fViewBot.toolbarButton(PREVIOUS_MARKER).isEnabled());
 
         /* disable Lost Events markers */
-        fViewBot.menu(LOST_EVENTS).click();
+        fViewBot.viewMenu(LOST_EVENTS).click();
 
         /* check that "Next Marker" and "Previous Marker" are disabled */
         assertFalse(fViewBot.toolbarButton(NEXT_MARKER).isEnabled());
         assertFalse(fViewBot.toolbarButton(PREVIOUS_MARKER).isEnabled());
 
         /* enable Lost Events markers */
-        fViewBot.menu(LOST_EVENTS).click();
+        fViewBot.viewMenu(LOST_EVENTS).click();
 
         /* check that "Next Marker" and "Previous Marker" are enabled */
         assertTrue(fViewBot.toolbarButton(NEXT_MARKER).isEnabled());
This page took 0.027653 seconds and 5 git commands to generate.