ozonetestcase.java
来自「用Java写的面相对象的数据库管理系统」· Java 代码 · 共 68 行
JAVA
68 行
// You can redistribute this software and/or modify it under the terms of// the Ozone Library License version 1 published by ozone-db.org.//// The original code and portions created by SMB are// Copyright (C) 1997-2000 by SMB GmbH. All rights reserved.//// $Id: OzoneTestCase.java,v 1.4 2000/10/28 16:55:19 daniela Exp $package org.ozoneDB.test;import org.ozoneDB.*;import org.ozoneDB.DxLib.*;import test.framework.*;/** * Base class for all the test cases in the dub-directories. * * * @author <a href="http://www.softwarebuero.de/">SMB</a> * @version $Revision: 1.4 $Date: 2000/10/28 16:55:19 $ */public abstract class OzoneTestCase extends TestCase { protected ExternalDatabase db; protected boolean debug; protected OzoneTestCase( String name ) { super( name ); } public void assert( boolean condition ) { super.assert( condition ); } public void assert( boolean condition, String s ) { super.assert( s, condition ); } public ExternalDatabase db() { return db; } public void debugMsg( String msg ) { if (debug) { System.out.println( msg ); } } protected void setUp() { // initialize the local members Suite.setUp( this ); } protected void tearDown() { Suite.tearDown( this ); } }
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?