From 716ddc28575cadea761e5c36c4466b9a2c22217b Mon Sep 17 00:00:00 2001 From: Pavel Feldman Date: Sun, 13 Dec 2020 08:34:03 -0800 Subject: [PATCH] chore(adb): lint the driver --- bin/android-driver.apk | Bin 580631 -> 576897 bytes .../androiddriver/InstrumentedTest.java | 16 ++++++++-------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/bin/android-driver.apk b/bin/android-driver.apk index 66cc5a2c0af6f249adfb7ed3e233756b34f5e246..1f3e389b991958c0392d85ececc05fdf036ba311 100644 GIT binary patch delta 12362 zcmY*2 z-gga}tk8+np1l&;4J#9u62lzG?f0{@uM@S?)vv%;xKqz}Q!1NV9}^w69F`D}4$y^{ zDh|$vE`Vav=douwXFNwa=eEb0CYOUIz2lx-Y4-(Gh0#r^AFfjxN*QZjF8}`d6Z*- zEi54nA#^&d5Arj|IpU8W;;eXuFmg}{(0d?Y+k47~Wxz7<7@iQ$2gr-ai^>b%3e$?% zitGi%VVT4hq+%pYgkuF>`I&SsbaLyX&%v@ zfRP>~4CnwkI6Oa5K?-~N3HV&U@A?eqKi9Q7b2?c%E8f}j>>TJ^gOZ2d{lW;sD+E~j zlIycq0@UGBVV$9w)=Ac--e*X-PQ0$?H{eU*x91Cj*M;?ge}=k8xQD?3hKrS|bi#+j z^h3q^QD=vd#O&d=-L0Jgs> zw-HB@D}PJUX>>c1(vo$@k%MGdx<3=6P-V3st_T-0XL0|9VTG;%G;;lV%E8j7w@2!H zwIyUEQU}n&X!?nE8m_ahJ7=P*18HGZfqFohO!$4+M}RHIa^bUE+;XVc_O{EQ=)_S1 zA}Vyxj3RidXJr^|sWDC)xXaIn&CX9I{91L?;$eISh+W6#@T zJmLZovWy3r5VoXA?J^nj%_Z&VL^q}L+CCd34MYjhUfo{=nIsNJ5v}nCauj)~w+rtm zQPGt;YV7)Kai8PVjPA?=?x^{qoW=tOo{00zl5Um-cwd`*j2?We4IVOOBL#P#H6SOO z?*(3s0vbMxrdL3a@u}Ku2QX<58p81E44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#k3SQ-U$f+9`-%|DERxv0F%{>Kpak00)fEHvo9=KNna^?!duLNI#4xFFRg2u&}T zg5>|V)BWdMprBGRz!1*?FbT=O2K+Z2I2b4>%>P?|%NXFHAbKNjD*yW55ul)A(4nAk g{vS#c7z!fP55~uVgZ~Hr`1av`JN}^w@Y~)00UBGB5dZ)H diff --git a/src/server/android/driver/app/src/androidTest/java/com/microsoft/playwright/androiddriver/InstrumentedTest.java b/src/server/android/driver/app/src/androidTest/java/com/microsoft/playwright/androiddriver/InstrumentedTest.java index f8e930e61c4c0..4c7519003a833 100644 --- a/src/server/android/driver/app/src/androidTest/java/com/microsoft/playwright/androiddriver/InstrumentedTest.java +++ b/src/server/android/driver/app/src/androidTest/java/com/microsoft/playwright/androiddriver/InstrumentedTest.java @@ -1,4 +1,4 @@ -/** +/* * Copyright (c) Microsoft Corporation. * * Licensed under the Apache License, Version 2.0 (the "License"); @@ -16,12 +16,10 @@ package com.microsoft.playwright.androiddriver; -import android.bluetooth.BluetoothClass; import android.graphics.Point; import android.graphics.Rect; import android.net.LocalServerSocket; import android.net.LocalSocket; -import android.os.Bundle; import android.view.accessibility.AccessibilityNodeInfo; import androidx.test.ext.junit.runners.AndroidJUnit4; @@ -32,7 +30,6 @@ import androidx.test.uiautomator.Direction; import androidx.test.uiautomator.UiDevice; import androidx.test.uiautomator.UiObject2; -import androidx.test.uiautomator.UiSelector; import androidx.test.uiautomator.Until; import org.json.JSONArray; @@ -48,7 +45,6 @@ import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; import java.nio.charset.StandardCharsets; -import java.util.ArrayList; import java.util.regex.Pattern; /** @@ -60,12 +56,13 @@ @SdkSuppress(minSdkVersion = 21) public class InstrumentedTest { + @SuppressWarnings("ConstantConditions") private static BySelector parseSelector(JSONObject param) throws JSONException{ JSONObject selector = param.getJSONObject("selector"); BySelector result = null; if (selector.has("checkable")) { boolean value = selector.getBoolean("checkable"); - result = result != null ? result.checkable(value) : By.checkable(value); + result = result != null ? result.checked(value) : By.checkable(value); } if (selector.has("checked")) { boolean value = selector.getBoolean("checked"); @@ -146,7 +143,7 @@ private static int parseTimeout(JSONObject params) throws JSONException { private static Point parsePoint(JSONObject params, String propertyName) throws JSONException { JSONObject point = params.getJSONObject(propertyName); - return new Point(params.getInt("x"), params.getInt("y")); + return new Point(point.getInt("x"), point.getInt("y")); } private static Direction parseDirection(JSONObject params) throws JSONException { @@ -313,6 +310,7 @@ private static AccessibilityNodeInfo getRootA11yNode(UiDevice device) { getQueryController.setAccessible(true); Object queryController = getQueryController.invoke(device); + assert queryController != null; Method getRootNode = queryController.getClass().getDeclaredMethod("getRootNode"); getRootNode.setAccessible(true); return (AccessibilityNodeInfo) getRootNode.invoke(queryController); @@ -343,6 +341,7 @@ public void main() { DataInputStream dis = new DataInputStream(is); DataOutputStream dos = new DataOutputStream(socket.getOutputStream()); + //noinspection InfiniteLoopStatement while (true) { int id = 0; String method = null; @@ -356,7 +355,7 @@ public void main() { id = message.getInt("id"); method = message.getString("method"); params = message.getJSONObject("params"); - } catch (JSONException e) { + } catch (JSONException ignored) { } if (method == null) continue; @@ -365,6 +364,7 @@ public void main() { response.put("id", id); response.put("result", params); try { + assert params != null; switch (method) { case "wait": wait(device, params);