language-extensions/python/test/src/PythonGetResultColumnTests.cpp
// Name: GetDoubleResultColumnsTest
//
// Description:
//  Test GetResultColumn with default script using an OutputDataSet of Double columns.
//

GetDoubleResultColumnsTest
Description:
Test GetResultColumn with default script using an OutputDataSet of Double columns.
GetDoubleResultColumnsTest Description : Test GetResultColumn with default script using an OutputDataSet of Double columns .
TEST_F(PythonExtensionApiTests, GetDoubleResultColumnsTest)
	{
		InitializeSession(0, 
			(*m_doubleInfo).GetColumnsNumber(),
			m_scriptString);
		InitializeColumns<SQLDOUBLE, SQL_C_DOUBLE>(m_doubleInfo.get());
		TestExecute<SQLDOUBLE, SQL_C_DOUBLE>(
			ColumnInfo<SQLDOUBLE>::sm_rowsNumber,
			(*m_doubleInfo).m_dataSet.data(),
			(*m_doubleInfo).m_strLen_or_Ind.data(),
			(*m_doubleInfo).m_columnNames,
			false);  
		TestGetResultColumn(0, 
			SQL_C_DOUBLE,      
			m_DoubleSize,      
			0,                 
			SQL_NO_NULLS);     
		TestGetResultColumn(1, 
			SQL_C_DOUBLE,      
			m_DoubleSize,      
			0,                 
			SQL_NULLABLE);     
	}
TEST_F ( PythonExtensionApiTests , GetDoubleResultColumnsTest ) { InitializeSession ( 0 , ( * m_doubleInfo ) . GetColumnsNumber ( ) , m_scriptString ) ; InitializeColumns < SQLDOUBLE , SQL_C_DOUBLE > ( m_doubleInfo . get ( ) ) ; TestExecute < SQLDOUBLE , SQL_C_DOUBLE > ( ColumnInfo < SQLDOUBLE > :: sm_rowsNumber , ( * m_doubleInfo ) . m_dataSet . data ( ) , ( * m_doubleInfo ) . m_strLen_or_Ind . data ( ) , ( * m_doubleInfo ) . m_columnNames , false ) ; TestGetResultColumn ( 0 , SQL_C_DOUBLE , m_DoubleSize , 0 , SQL_NO_NULLS ) ; TestGetResultColumn ( 1 , SQL_C_DOUBLE , m_DoubleSize , 0 , SQL_NULLABLE ) ; }
Name: GetDoubleResultColumnsTest
Description:
Test GetResultColumn with default script using an OutputDataSet of Double columns.
Name : GetDoubleResultColumnsTest Description : Test GetResultColumn with default script using an OutputDataSet of Double columns .
// Initialize with a default Session that prints Hello PythonExtension
 // and assigns InputDataSet to OutputDataSet
 //
 // parametersNumber
 // validate
 // columnNumber
 // dataType
 // columnSize
 // decimalDigits
 // nullable
 // columnNumber
 // dataType
 // columnSize
 // decimalDigits
 // nullable
