1*b191c303SAndrew Rist /************************************************************** 2*b191c303SAndrew Rist * 3*b191c303SAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one 4*b191c303SAndrew Rist * or more contributor license agreements. See the NOTICE file 5*b191c303SAndrew Rist * distributed with this work for additional information 6*b191c303SAndrew Rist * regarding copyright ownership. The ASF licenses this file 7*b191c303SAndrew Rist * to you under the Apache License, Version 2.0 (the 8*b191c303SAndrew Rist * "License"); you may not use this file except in compliance 9*b191c303SAndrew Rist * with the License. You may obtain a copy of the License at 10*b191c303SAndrew Rist * 11*b191c303SAndrew Rist * http://www.apache.org/licenses/LICENSE-2.0 12*b191c303SAndrew Rist * 13*b191c303SAndrew Rist * Unless required by applicable law or agreed to in writing, 14*b191c303SAndrew Rist * software distributed under the License is distributed on an 15*b191c303SAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16*b191c303SAndrew Rist * KIND, either express or implied. See the License for the 17*b191c303SAndrew Rist * specific language governing permissions and limitations 18*b191c303SAndrew Rist * under the License. 19*b191c303SAndrew Rist * 20*b191c303SAndrew Rist *************************************************************/ 21*b191c303SAndrew Rist 22cdf0e10cSrcweir package complex.olesimplestorage; 23cdf0e10cSrcweir 24cdf0e10cSrcweir 25cdf0e10cSrcweir public class TestHelper 26cdf0e10cSrcweir { 27cdf0e10cSrcweir 28cdf0e10cSrcweir String m_sTestPrefix; 29cdf0e10cSrcweir 30cdf0e10cSrcweir /** Creates a new instance of TestHelper 31cdf0e10cSrcweir * @param sTestPrefix 32cdf0e10cSrcweir */ TestHelper( String sTestPrefix )33cdf0e10cSrcweir public TestHelper ( String sTestPrefix ) 34cdf0e10cSrcweir { 35cdf0e10cSrcweir 36cdf0e10cSrcweir m_sTestPrefix = sTestPrefix; 37cdf0e10cSrcweir } 38cdf0e10cSrcweir Error( String sError )39cdf0e10cSrcweir public void Error ( String sError ) 40cdf0e10cSrcweir { 41cdf0e10cSrcweir System.out.println ( m_sTestPrefix + "Error: " + sError ); 42cdf0e10cSrcweir } 43cdf0e10cSrcweir Message( String sMessage )44cdf0e10cSrcweir public void Message ( String sMessage ) 45cdf0e10cSrcweir { 46cdf0e10cSrcweir System.out.println ( m_sTestPrefix + sMessage ); 47cdf0e10cSrcweir } 48cdf0e10cSrcweir } 49