OSDN Git Service

Frameworks: Annotate JUnit4 test with @Test
authorAndreas Gampe <agampe@google.com>
Fri, 23 Feb 2018 02:06:44 +0000 (18:06 -0800)
committerAndreas Gampe <agampe@google.com>
Mon, 26 Feb 2018 16:07:19 +0000 (08:07 -0800)
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

index 9bfc010..71e6859 100644 (file)
@@ -263,6 +263,7 @@ public class CredentialTest {
      *
      * @throws Exception
      */
+    @Test
     public void validateCertCredentialWithoutCaCert() throws Exception {
         Credential cred = createCredentialWithCertificateCredential();
         cred.setCaCertificate(null);