org.exist.test.TestConstants Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of exist-core Show documentation
Show all versions of exist-core Show documentation
eXist-db NoSQL Database Core
/*
* eXist-db Open Source Native XML Database
* Copyright (C) 2001 The eXist-db Authors
*
* [email protected]
* http://www.exist-db.org
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
package org.exist.test;
import org.exist.xmldb.XmldbURI;
import org.exist.xquery.util.URIUtils;
public class TestConstants {
/**
* String representing the decoded path: t[e s]tá열
*/
public static final String DECODED_SPECIAL_NAME = "t[e s]t\u00E0\uC5F4";
/**
* String representing the encoded path: t%5Be%20s%5Dt%C3%A0%EC%97%B4
*/
public static final String SPECIAL_NAME = URIUtils.urlEncodeUtf8(DECODED_SPECIAL_NAME);
/**
* XmldbURI representing the decoded path: t[e s]tá열
*/
public static final XmldbURI SPECIAL_URI = XmldbURI.create(SPECIAL_NAME);
/**
* XmldbURI representing the decoded path: /db/test
*/
public static final XmldbURI TEST_COLLECTION_URI = XmldbURI.ROOT_COLLECTION_URI.append("test");
/**
* XmldbURI representing the decoded path: /db/test/test2
*/
public static final XmldbURI TEST_COLLECTION_URI2 = TEST_COLLECTION_URI.append("test2");
/**
* XmldbURI representing the decoded path: /db/test/test2/test3
*/
public static final XmldbURI TEST_COLLECTION_URI3 = TEST_COLLECTION_URI2.append("test3");
/**
* XmldbURI representing the decoded path: /db/t[e s]tá열
*/
public static final XmldbURI SPECIAL_COLLECTION_URI = XmldbURI.ROOT_COLLECTION_URI.append(SPECIAL_NAME);
/**
* XmldbURI representing the decoded path: /db/destination
*/
public static final XmldbURI DESTINATION_COLLECTION_URI = XmldbURI.ROOT_COLLECTION_URI.append("destination");
/**
* XmldbURI representing the decoded path: /db/destination2
*/
public static final XmldbURI DESTINATION_COLLECTION_URI2 = XmldbURI.ROOT_COLLECTION_URI.append("destination2");
/**
* XmldbURI representing the decoded path: /db/destination3
*/
public static final XmldbURI DESTINATION_COLLECTION_URI3 = XmldbURI.ROOT_COLLECTION_URI.append("destination3");
/**
* XmldbURI representing the decoded path: test.xml
*/
public static final XmldbURI TEST_XML_URI = XmldbURI.create("test.xml");
/**
* XmldbURI representing the decoded path: test2.xml
*/
public static final XmldbURI TEST_XML_URI2 = XmldbURI.create("test2.xml");
/**
* XmldbURI representing the decoded path: test3.xml
*/
public static final XmldbURI TEST_XML_URI3 = XmldbURI.create("test3.xml");
/**
* XmldbURI representing the decoded path: t[e s]tá열.xml
*/
public static final XmldbURI SPECIAL_XML_URI = XmldbURI.create(URIUtils.urlEncodeUtf8("t[es]t\u00E0\uC5F4.xml"));
/**
* XmldbURI representing the decoded path: binary.txt
*/
public static final XmldbURI TEST_BINARY_URI = XmldbURI.create("binary.txt");
/**
* XmldbURI representing the decoded path: testmodule.xqm
*/
public static final XmldbURI TEST_MODULE_URI = XmldbURI.create("testmodule.xqm");
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy