From 112bbf1f4378e0ab0108085af03754865cc406cb Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Thu, 22 Feb 2018 18:06:44 -0800 Subject: [PATCH] Frameworks: Annotate JUnit4 test with @Test Mollify Errorprone. Bug: 72076216 Test: m javac-check RUN_ERROR_PRONE=true Test: atest CredentialTest Change-Id: I07635124a306f82e5442a45a1fd61edc63c015a2 --- wifi/tests/src/android/net/wifi/hotspot2/pps/CredentialTest.java | 1 + 1 file changed, 1 insertion(+) diff --git a/wifi/tests/src/android/net/wifi/hotspot2/pps/CredentialTest.java b/wifi/tests/src/android/net/wifi/hotspot2/pps/CredentialTest.java index 9bfc0105fcc9c..71e6859f20492 100644 --- a/wifi/tests/src/android/net/wifi/hotspot2/pps/CredentialTest.java +++ b/wifi/tests/src/android/net/wifi/hotspot2/pps/CredentialTest.java @@ -263,6 +263,7 @@ public class CredentialTest { * * @throws Exception */ + @Test public void validateCertCredentialWithoutCaCert() throws Exception { Credential cred = createCredentialWithCertificateCredential(); cred.setCaCertificate(null);