blob: 1284d3150588e7a94a1d5d76f6c73d5463c15687 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.config.model.application.provider;
import com.yahoo.component.Version;
import java.io.IOException;
import java.io.Reader;
/**
* Simple Validation of services.xml for unit tests against RELAX NG schemas.
*
* @author hmusum
*/
public class SimpleApplicationValidator {
public static void checkServices(Reader reader, Version version) throws IOException {
new SchemaValidators(version).servicesXmlValidator().validate(reader);
}
}
|