Add test plan for dns resolver module.
Test: m mts, mts-tradefed run mts-dns-resolver
Bug: 139554892
Bug: 123411735
Change-Id: I0ad080ddff5bec6e9df2cee4d20f9702707840f0
diff --git a/tools/mts-tradefed/res/config/mts-dns-resolver.xml b/tools/mts-tradefed/res/config/mts-dns-resolver.xml
new file mode 100644
index 0000000..0bab71c
--- /dev/null
+++ b/tools/mts-tradefed/res/config/mts-dns-resolver.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2019 The Android Open Source Project
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+<configuration description="Runs MTS-Dns-Resolver from a pre-existing MTS installation">
+
+ <include name="mts" />
+
+ <option name="plan" value="mts-dns-resolver" />
+
+ <option name="compatibility:module-metadata-include-filter" key="component" value="networking" />
+ <option name="compatibility:include-filter" value="CtsNetTestCases android.net.cts.DnsTest" />
+ <option name="compatibility:include-filter" value="CtsNetTestCases android.net.cts.DnsResolverTest" />
+ <option name="compatibility:include-filter" value="CtsNativeNetDnsTestCases" />
+</configuration>