blob: 2d960f00d665f93caf665376f6ff02a528d720c9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// Copyright 2016 Yahoo Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.config.model.application.provider;
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) throws IOException {
SchemaValidator.createTestValidatorServices().validate(reader);
}
}
|