jaxp/test/javax/xml/jaxp/libs/javax/xml/validation/ptests/ValidationTestConst.java
author joehw
Wed, 28 Jan 2015 22:49:58 -0800
changeset 28697 fae50549d70d
permissions -rw-r--r--
8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests Reviewed-by: lancea, joehw Contributed-by: frank.yuan@oracle.com
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
28697
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
     1
/*
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
     2
 * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
     4
 *
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
     7
 * published by the Free Software Foundation.
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
     8
 *
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    13
 * accompanied this code).
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    14
 *
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    18
 *
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    21
 * questions.
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    22
 */
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    23
package javax.xml.validation.ptests;
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    24
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    25
import static jaxp.library.JAXPTestUtilities.FILE_SEP;
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    26
import static jaxp.library.JAXPTestUtilities.getPathByClassName;
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    27
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    28
/**
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    29
 * This class defines the path constant
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    30
 */
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    31
public class ValidationTestConst {
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    32
    /**
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    33
     * XML source file directory.
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    34
     */
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    35
    public static final String XML_DIR = getPathByClassName(ValidationTestConst.class,
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    36
            ".." + FILE_SEP + "xmlfiles");
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    37
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    38
    /**
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    39
     * Golden validation files directory.
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    40
     */
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    41
    public static final String GOLDEN_DIR = getPathByClassName(ValidationTestConst.class,
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    42
            ".." + FILE_SEP + "xmlfiles" + FILE_SEP + "out");
fae50549d70d 8051547: Convert JAXP function tests: javax.xml.validation.* to jtreg (testng) tests
joehw
parents:
diff changeset
    43
}