isql.util
Class JUnitISQL

java.lang.Object
  extended by isql.util.JUnitISQL

public class JUnitISQL
extends java.lang.Object

Utility functions to test the system using JUnit

Author:
SHZ Feb 1, 2008

Constructor Summary
JUnitISQL()
           
 
Method Summary
static Column buildNumericalColumn(java.lang.String columnName, double[] arrValues)
          Converts an array of numbers (double[]) to a table column
static Column buildTextColumn(java.lang.String columnName, java.lang.String[] arrValues)
          Converts an array of texts (String[]) to a table column
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JUnitISQL

public JUnitISQL()
Method Detail

buildNumericalColumn

public static Column buildNumericalColumn(java.lang.String columnName,
                                          double[] arrValues)
Converts an array of numbers (double[]) to a table column

Parameters:
columnName - the column identifier in form of .
arrValues - the array
Returns:
the built Column object

buildTextColumn

public static Column buildTextColumn(java.lang.String columnName,
                                     java.lang.String[] arrValues)
Converts an array of texts (String[]) to a table column

Parameters:
columnName - the column identifier in form of
.
arrValues - the array
Returns:
the built Column object