OSDN Git Service

Fix ClassScanner and re-enable CodeInspectionTest tests
[android-x86/packages-apps-Settings.git] / tests / robotests / src / com / android / settings / core / codeinspection / CodeInspectionTest.java
index faaf338..126a346 100644 (file)
@@ -44,14 +44,12 @@ public class CodeInspectionTest {
     @Before
     public void setUp() throws Exception {
         mClasses = new ClassScanner().getClassesForPackage(CodeInspector.PACKAGE_NAME);
-        // Disabled temporarily - see b/64840107
-        //assertThat(mClasses).isNotEmpty();
+        assertThat(mClasses).isNotEmpty();
     }
 
     @Test
     public void runCodeInspections() {
-        // Disabled temporarily - see b/64840107
-        // new InstrumentableFragmentCodeInspector(mClasses).run();
-        // new SearchIndexProviderCodeInspector(mClasses).run();
+        new InstrumentableFragmentCodeInspector(mClasses).run();
+        new SearchIndexProviderCodeInspector(mClasses).run();
     }
 }