Merge "Unit Testing for TaskbarEduTooltipController" into main
This commit is contained in:
commit
65b5eb472e
7 files changed
+269
-37
No files matched your search
@@ -178,6 +178,11 @@ public final class Utilities {
|
||||
sIsRunningInTestHarness = true;
|
||||
}
|
||||
|
||||
/** Disables running test in test harness mode */
|
||||
public static void disableRunningInTestHarnessForTests() {
|
||||
sIsRunningInTestHarness = false;
|
||||
}
|
||||
|
||||
public static boolean isPropertyEnabled(String propertyName) {
|
||||
return Log.isLoggable(propertyName, Log.VERBOSE);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user