org.objectweb.cjdbc.scenario.templates
Class NoTemplate

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.objectweb.cjdbc.scenario.templates.NoTemplate
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
AbstractPoolConnectionManagerTest, AbstractRequestTest, AlterRequestTest, AuthenticationManagerTest, BlobFilterTest, CjdbcUrlTest, CreateRequestTest, DatabaseBackendMetaDataTest, DatabaseBackendTest, DatabaseBackendUserTest, DatabaseSchemaTest, DatabaseTableTest, DeleteRequestTest, DriverTest, DropRequestTest, FailFastPoolConnectionManagerTest, InsertRequestTest, JmxNotificationTest, MacrosHandlerTest, RandomWaitPoolConnectionManagerTest, ReadPrioritaryFIFOWriteLockTest, RegexpTest, ReplaceRequestPatternTest, SchemaTest, SelectRequestTest, SimpleConnectionManagerTest, SpeedTest, StringsTest, Template, TranslationTest, UpdateRequestTest, UTFEncodingTest, UTFWithSocketTest, VariablePoolConnectionManagerTest, VirtualDatabaseUserTest, XmlParserTest

public class NoTemplate
extends junit.framework.TestCase

This class defines a NoTemplate template, the test does not need anything to run

Version:
1.0
Author:
Nicolas Modryzk

Field Summary
static Trace logger
          Logger for all scenari
static java.lang.String TEXT_DIR
          The directory where to find text files
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
NoTemplate()
           
 
Method Summary
static java.lang.String getTextPath(java.lang.String textFile)
          Get the path of this text file
static java.lang.String getUserDir()
          Get the user dir for availability on eclipse and ant test suite
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

logger

public static Trace logger
Logger for all scenari


TEXT_DIR

public static final java.lang.String TEXT_DIR
The directory where to find text files

See Also:
Constant Field Values
Constructor Detail

NoTemplate

public NoTemplate()
Method Detail

getUserDir

public static final java.lang.String getUserDir()
Get the user dir for availability on eclipse and ant test suite

Returns:
the root path for the cjdbc directory

getTextPath

public static final java.lang.String getTextPath(java.lang.String textFile)
Get the path of this text file

Parameters:
textFile - the textfile to find the path
Returns:
Complete URL in string format for the path


Copyright © 2002, 2005 - ObjectWeb Consortium - All Rights Reserved.