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