Wifi: Rename class name WifiManager_WifiLockTest

This commit renames both the class name and the file name from
WifiManager_WifiLockTest into WifiLockTest since WifiManager is implied
from the package and directory hierarchy.

Bug: 34905427
Test: atest android.net.wifi.cts
Change-Id: Iaade2ba98cb1608384c2527eddb29bb6d020bf78
This commit is contained in:
Ahmed ElArabawy
2019-03-14 14:31:28 -07:00
parent e451659573
commit e16d426550

View File

@@ -21,9 +21,9 @@ import android.net.wifi.WifiManager;
import android.net.wifi.WifiManager.WifiLock;
import android.test.AndroidTestCase;
public class WifiManager_WifiLockTest extends AndroidTestCase {
public class WifiLockTest extends AndroidTestCase {
private static final String WIFI_TAG = "WifiManager_WifiLockTest";
private static final String WIFI_TAG = "WifiLockTest";
/**
* Verify acquire and release of High Performance wifi locks
@@ -82,7 +82,7 @@ public class WifiManager_WifiLockTest extends AndroidTestCase {
wl.release();
assertFalse(wl.isHeld());
assertNotNull(wl.toString());
// should be ignored
// releasing again after release: but ignored for non-referenced locks
wl.release();
}
}