Update CTS runner after TF interface update
authorJulien Desprez <jdesprez@google.com>
Tue, 14 Aug 2018 23:50:12 +0000 (16:50 -0700)
committerJulien Desprez <jdesprez@google.com>
Tue, 14 Aug 2018 23:50:12 +0000 (16:50 -0700)
Test: unit tests
Bug: 112468193
Change-Id: I82a0ef4c894ad56dc426e856cfb3dfdbb70d8edd

android/cts/runner/src/com/drawelements/deqp/runner/DeqpTestRunner.java

index 3721712..6b3d313 100644 (file)
@@ -2101,6 +2101,22 @@ public class DeqpTestRunner implements IBuildReceiver, IDeviceTest,
      * {@inheritDoc}
      */
     @Override
+    public Set<String> getIncludeFilters() {
+        return new HashSet<>(mIncludeFilters);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    public void clearIncludeFilters() {
+        mIncludeFilters.clear();
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
     public void addExcludeFilter(String filter) {
         mExcludeFilters.add(filter);
     }
@@ -2117,6 +2133,22 @@ public class DeqpTestRunner implements IBuildReceiver, IDeviceTest,
      * {@inheritDoc}
      */
     @Override
+    public Set<String> getExcludeFilters() {
+        return new HashSet<>(mExcludeFilters);
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
+    public void clearExcludeFilters() {
+        mExcludeFilters.clear();
+    }
+
+    /**
+     * {@inheritDoc}
+     */
+    @Override
     public void setCollectTestsOnly(boolean collectTests) {
         mCollectTestsOnly = collectTests;
     }