1 /*******************************************************************************
2 * Copyright (c) 2014 École Polytechnique de Montréal
4 * All rights reserved. This program and the accompanying materials are
5 * made available under the terms of the Eclipse Public License v1.0 which
6 * accompanies this distribution, and is available at
7 * http://www.eclipse.org/legal/epl-v10.html
10 * Geneviève Bastien - Initial API and implementation
11 *******************************************************************************/
13 package org
.eclipse
.linuxtools
.tmf
.analysis
.xml
.core
.tests
.common
;
18 * Provides some test XML files to use
20 * @author Geneviève Bastien
22 public enum TmfXmlTestFiles
{
23 /** A valid XML test file */
24 VALID_FILE("../org.eclipse.linuxtools.tmf.analysis.xml.core.tests/test_xml_files/test_valid/test_valid.xml"),
25 /** An invalid test file */
26 INVALID_FILE("../org.eclipse.linuxtools.tmf.analysis.xml.core.tests/test_xml_files/test_invalid/test_invalid.xml");
28 private final String fPath
;
30 private TmfXmlTestFiles(String file
) {
35 * Get the file name part of the file
37 * @return The path of this test file
39 public String
getPath() {
44 * Returns the file object corresponding to the test XML file
46 * @return The file object for this test file
48 public File
getFile() {
49 return new File(fPath
);
This page took 0.037914 seconds and 5 git commands to generate.