blob: ff9b0605bf694ecdf165688dca392fc1ca6175b5 [file] [log] [blame]
Sundong Ahn76839442019-03-20 23:02:57 +09001/*
2 * Copyright (C) 2019 The Android Open Source Project
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
17#include "utility/ValidateXml.h"
18
19TEST(CheckConfig, mediaProfilesValidation) {
20 RecordProperty("description",
21 "Verify that the media profiles file "
22 "is valid according to the schema");
23
24 const char* location = "/vendor/etc";
25
26 EXPECT_ONE_VALID_XML_MULTIPLE_LOCATIONS("media_profiles_V1_0.xml", {location},
27 "/data/local/tmp/media_profiles.xsd");
28}