xref: /AOO41X/main/sw/qa/complex/writer/TestDocument.java (revision 86250549560e1d9af9c21e1b686bf3179e3405f4)
1*86250549SAndrew Rist /**************************************************************
2cdf0e10cSrcweir  *
3*86250549SAndrew Rist  * Licensed to the Apache Software Foundation (ASF) under one
4*86250549SAndrew Rist  * or more contributor license agreements.  See the NOTICE file
5*86250549SAndrew Rist  * distributed with this work for additional information
6*86250549SAndrew Rist  * regarding copyright ownership.  The ASF licenses this file
7*86250549SAndrew Rist  * to you under the Apache License, Version 2.0 (the
8*86250549SAndrew Rist  * "License"); you may not use this file except in compliance
9*86250549SAndrew Rist  * with the License.  You may obtain a copy of the License at
10cdf0e10cSrcweir  *
11*86250549SAndrew Rist  *   http://www.apache.org/licenses/LICENSE-2.0
12cdf0e10cSrcweir  *
13*86250549SAndrew Rist  * Unless required by applicable law or agreed to in writing,
14*86250549SAndrew Rist  * software distributed under the License is distributed on an
15*86250549SAndrew Rist  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*86250549SAndrew Rist  * KIND, either express or implied.  See the License for the
17*86250549SAndrew Rist  * specific language governing permissions and limitations
18*86250549SAndrew Rist  * under the License.
19cdf0e10cSrcweir  *
20*86250549SAndrew Rist  *************************************************************/
21*86250549SAndrew Rist 
22*86250549SAndrew Rist 
23cdf0e10cSrcweir 
24cdf0e10cSrcweir package complex.writer;
25cdf0e10cSrcweir 
26cdf0e10cSrcweir import java.io.File;
27cdf0e10cSrcweir import org.openoffice.test.OfficeFileUrl;
28cdf0e10cSrcweir import org.openoffice.test.Argument;
29cdf0e10cSrcweir 
30cdf0e10cSrcweir final class TestDocument {
getUrl(String name)31cdf0e10cSrcweir     public static String getUrl(String name) {
32cdf0e10cSrcweir         return OfficeFileUrl.getAbsolute(new File(Argument.get("tdoc"), name));
33cdf0e10cSrcweir     }
34cdf0e10cSrcweir 
TestDocument()35cdf0e10cSrcweir     private TestDocument() {}
36cdf0e10cSrcweir }
37