blob: 62f7ee0d1ef9baa2307a8082da42d7f1e9c4634b [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suppressions PUBLIC "-//Puppy Crawl//DTD Suppressions 1.1//EN" "http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
<suppressions>
<!-- Code in chrome/ should use SharedPreferencesManager. Ref: crbug.com/1022108 -->
<suppress id="UseSharedPreferencesManagerFromChromeCheck"
files="src/(android_webview|base|chromecast|components|content|device|media|net|remoting|services|testing|third_party|tools|ui|weblayer)/"/>
<!-- FooTest.java, FooTestUtil.java, and FooTestUtils.java do not need to use SharedPreferencesManager. -->
<suppress id="UseSharedPreferencesManagerFromChromeCheck"
files="Test(Utils?)?\.java"/>
<!-- All other usages of the app SharedPreference should go through
ContextUtils. -->
<suppress id="DefaultSharedPreferencesCheck" files="src/chrome/"/>
<!-- Only chrome/ and remoting/ can depend on the support library. Ref:
crbug.com/640248 -->
<suppress id="AlertDialogCheck"
files="src/(android_webview|base|build|chromecast|components|content|device|media|mojo|net|printing|services|testing|third_party|tools|ui|url)/"/>
<suppress id="StringBufferCheck" files="src/chrome/android/webapk/"/>
<!-- Robolectric shadows can overwrite constructor by implementing
__constructor__() method. -->
<suppress id="MethodNameCheck" files="FirstRunIntegrationUnitTest.java"/>
<suppress id="MethodNameCheck" files="SplashActivityTest.java"/>
<!-- Third-party libraries, test infrastructure, build, and tooling can use
System#exit freely. Feel free to add other test directories here. -->
<suppress id="SystemExitCheck" files="src/(build|testing|third_party|tools|base/test)/"/>
</suppressions>