Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1784a329 authored by Vadim Tryshev's avatar Vadim Tryshev
Browse files

Adding text messages to some asserts in TaplAddConfigWidgetTest

Bug: 187761685
Flag: N/A
Test: presubmit
Change-Id: Ia8164f60f49b377e41db72f97c4f90d167292574
parent 53eb01bc
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -161,11 +161,12 @@ public class TaplAddConfigWidgetTest extends AbstractLauncherUiTest {

        public int getWidgetId() throws InterruptedException {
            Intent intent = blockingGetExtraIntent();
            assertNotNull(intent);
            assertEquals(AppWidgetManager.ACTION_APPWIDGET_CONFIGURE, intent.getAction());
            assertNotNull("Null EXTRA_INTENT", intent);
            assertEquals("Intent action is not ACTION_APPWIDGET_CONFIGURE",
                    AppWidgetManager.ACTION_APPWIDGET_CONFIGURE, intent.getAction());
            int widgetId = intent.getIntExtra(AppWidgetManager.EXTRA_APPWIDGET_ID,
                    LauncherAppWidgetInfo.NO_ID);
            assertNotSame(widgetId, LauncherAppWidgetInfo.NO_ID);
            assertNotSame("Widget id is NO_ID", widgetId, LauncherAppWidgetInfo.NO_ID);
            return widgetId;
        }
    }