blob: 4092c280443b5f210a8488a6cda80a6a04f371af [file] [log] [blame]
/**********************************************************************
* Copyright (c) 2000, 2002 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v0.5
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/cpl-v05.html
*
* Contributors:
* IBM - Initial API and implementation
**********************************************************************/
package org.eclipse.core.tests.internal.indexing;
public interface TestEnvironment {
/**
* Returns the file name which will be used as a target for a
* particular test suite. This will be the name of an IndexedStore,
* an ObjectStore, or a PageStore file.
*/
public String getFileName();
/**
* Prints a string on an output stream. All testcase strings are informational only.
*/
public void print(String s);
/**
* Prints a string on an output stream. All testcase strings are informational only.
*/
public void println(String s);
/**
* Prints a number on an output stream. All testcase strings are informational only.
*/
public void print(int n, int width);
/**
* Prints a blank line first then a full line
*/
public void printHeading(String s);
}