/* * (C) Copyright 2016 Nuxeo SA (http://nuxeo.com/) and others. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * Contributors: * Thomas Roger * */ package org.nuxeo.ftest.cap; import org.nuxeo.functionaltests.Constants; /** * @since 8.3 */ public class TestConstants { private TestConstants() { // Constants class } public static final String TEST_WORKSPACE_TITLE = "ws"; public static final String TEST_WORKSPACE_PATH = Constants.WORKSPACES_PATH + TEST_WORKSPACE_TITLE + "/"; public static final String TEST_WORKSPACE_URL = String.format(Constants.NXPATH_URL_FORMAT, TEST_WORKSPACE_PATH); public static final String TEST_SECTION_TITLE = "section"; public static final String TEST_SECTION_PATH = Constants.SECTIONS_PATH + TEST_SECTION_TITLE + "/"; public static final String TEST_SECTION_URL = String.format(Constants.NXPATH_URL_FORMAT, TEST_SECTION_PATH); public static final String TEST_FILE_TITLE = "file"; public static final String TEST_FOLDER_TITLE = "folder"; public static final String TEST_FILE_PATH = TEST_WORKSPACE_PATH + TEST_FILE_TITLE; public static final String TEST_FILE_URL = String.format(Constants.NXPATH_URL_FORMAT, TEST_FILE_PATH); public static final String TEST_NOTE_TITLE = "note"; public static final String TEST_NOTE_PATH = TEST_WORKSPACE_PATH + TEST_NOTE_TITLE; public static final String TEST_NOTE_URL = String.format(Constants.NXPATH_URL_FORMAT, TEST_NOTE_PATH); public static final String TEST_FORUM_TITLE = "forum"; public static final String TEST_FORUM_PATH = TEST_WORKSPACE_PATH + TEST_FORUM_TITLE + "/"; public static final String TEST_FORUM_URL = String.format(Constants.NXPATH_URL_FORMAT, TEST_FORUM_PATH); }