xref: /aosp_15_r20/cts/tests/signature/api-check/current-api/DynamicConfig.xml (revision b7c941bb3fa97aba169d73cee0bed2de8ac964bf)
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2024 Google Inc.
3
4     Licensed under the Apache License, Version 2.0 (the "License");
5     you may not use this file except in compliance with the License.
6     You may obtain a copy of the License at
7
8          http://www.apache.org/licenses/LICENSE-2.0
9
10     Unless required by applicable law or agreed to in writing, software
11     distributed under the License is distributed on an "AS IS" BASIS,
12     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13     See the License for the specific language governing permissions and
14     limitations under the License.
15-->
16<dynamicConfig>
17    <entry key ="expected_failures">
18        <!--
19         ! Each value in this section identifies an expected failure and is of the
20         ! form:
21         !    <failure-type>:<signature of class/member>
22         !
23         ! These entries are loaded by AnnotationTest which uses them to construct
24         ! an ExpectedFailuresFilter which discards them.
25         !
26         ! See go/triage-cts-signature-tests for more information and below for some examples.
27         !-->
28       <!-- Bug: 233719013 -->
29       <value>missing_method:java.util.Optional#flatMap(java.util.function.Function&lt;? super T,java.util.Optional&lt;U&gt;&gt;)</value>
30       <value>missing_method:java.util.OptionalDouble#orElseThrow(java.util.function.Supplier&lt;X&gt;)</value>
31       <value>missing_method:java.util.OptionalInt#orElseThrow(java.util.function.Supplier&lt;X&gt;)</value>
32       <value>missing_method:java.util.OptionalLong#orElseThrow(java.util.function.Supplier&lt;X&gt;)</value>
33       <value>mismatch_method:java.util.concurrent.ConcurrentHashMap.KeySetView#removeAll(java.util.Collection&lt;?&gt;)</value>
34    </entry>
35</dynamicConfig>
36