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

Commit 4820c0f0 authored by Kacper Kapłon's avatar Kacper Kapłon
Browse files

Add short test description and lint minor fixes

Bug: 394261386
Test: N/A - test only changes
Flag: TEST_ONLY
Change-Id: I76fd262dc9f4fb5e1a5280edcb7bf2c3e34c4e49
parent 85972ac8
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -28,6 +28,12 @@ import org.junit.Before
import org.junit.Test
import org.junit.runner.RunWith

/**
 * Tests for serial drivers discovery flow for serial service.
 *
 * atest SerialDriversDiscoveryTest
 * atest SerialTests - to test whole module
 */
@RunWith(AndroidJUnit4::class)
class SerialDriversDiscoveryTest {

@@ -140,7 +146,8 @@ class SerialDriversDiscoveryTest {
        }

        if (!found) {
            fail("Assertion failed: Actual list of drivers does not contain matching driver for driver with device path `${expected.mDevicePath}`")
            fail("Assertion failed: Actual list of drivers does not contain matching driver for " +
                    "driver with device path `${expected.mDevicePath}`")
        }
    }
}
 No newline at end of file