org.objectweb.cjdbc.scenario.tools.testlet
Class ColumnUpdateTestLet

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.objectweb.cjdbc.scenario.tools.testlet.AbstractTestLet
              extended byorg.objectweb.cjdbc.scenario.tools.testlet.AbstractConnectionTestLet
                  extended byorg.objectweb.cjdbc.scenario.tools.testlet.ColumnUpdateTestLet
All Implemented Interfaces:
junit.framework.Test

public class ColumnUpdateTestLet
extends AbstractConnectionTestLet

Same as the executeUpdateLet, except the update is done on a specific column

Version:
1.0
Author:
Nicolas Modrzyk

Field Summary
 
Fields inherited from class org.objectweb.cjdbc.scenario.tools.testlet.AbstractConnectionTestLet
jdbcConnection
 
Fields inherited from class org.objectweb.cjdbc.scenario.tools.testlet.AbstractTestLet
COLUMN_NAME, config, FILE_NAME, IGNORE_CASE, ITERATION, LIST_FAILOVER_BACKENDS, MACRO_NAME, NUMBER_OF_UPDATES, PROCEDURE_NAME, SELECTED_COLUMNS, TABLE_METADATA_COLUMNS, TABLE_NAME, UPDATED_COLUMN_VALUE, USE_CJDBC_CLASS, USE_OPTIMIZED_STATEMENT, USE_PREPARED_STATEMENT, USE_TRANSACTIONS, USE_UPDATE_STATEMENT, VIRTUAL_DATABASE
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
ColumnUpdateTestLet(java.sql.Connection con)
          Creates a new ColumnUpdateTestLet object
 
Method Summary
 void execute()
          Execute the content of the test.
 
Methods inherited from class org.objectweb.cjdbc.scenario.tools.testlet.AbstractConnectionTestLet
getJdbcConnection, setJdbcConnection
 
Methods inherited from class org.objectweb.cjdbc.scenario.tools.testlet.AbstractTestLet
checkMemoryUsage, configure, executeBatch, executeBatch, getConfig, getConfigBoolean, getInitialMemoryUsage, getTotalMemoryUsage, getTotalTimeUsage, ignoreCase, set, setConfig, useCJDBCClass, usePreparedStatement, useTransaction
 
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
 

Constructor Detail

ColumnUpdateTestLet

public ColumnUpdateTestLet(java.sql.Connection con)
Creates a new ColumnUpdateTestLet object

Parameters:
con - connection to use for testing
Method Detail

execute

public void execute()
             throws java.lang.Exception
Description copied from class: AbstractTestLet
Execute the content of the test. This method can call JUnit's assert methods and can therefore validate or invalidate the whole test.

Specified by:
execute in class AbstractTestLet
Throws:
java.lang.Exception - if fails
See Also:
AbstractTestLet.execute()


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