language-extensions/R/test/src/RExtensionExecuteTests.cpp
//----------------------------------------------------------------------------------------------
// Name: ExecuteIntegerColumnsTest
//
// Description:
//  Tests Execute with default script using an InputDataSet of Integer columns.
//
ExecuteIntegerColumnsTest
Description:
Tests Execute with default script using an InputDataSet of Integer columns.
ExecuteIntegerColumnsTest Description : Tests Execute with default script using an InputDataSet of Integer columns .
TEST_F(RExtensionApiTests, ExecuteIntegerColumnsTest)
	{
		InitializeSession(
			(*m_integerInfo).GetColumnsNumber(),
			m_scriptString);
		InitializeColumns<SQLINTEGER, SQL_C_SLONG>(m_integerInfo.get());
		Execute<SQLINTEGER, Rcpp::IntegerVector, SQL_C_SLONG>(
			ColumnInfo<SQLINTEGER>::sm_rowsNumber,
			(*m_integerInfo).m_dataSet.data(),
			(*m_integerInfo).m_strLen_or_Ind.data(),
			(*m_integerInfo).m_columnNames);
	}
TEST_F ( RExtensionApiTests , ExecuteIntegerColumnsTest ) { InitializeSession ( ( * m_integerInfo ) . GetColumnsNumber ( ) , m_scriptString ) ; InitializeColumns < SQLINTEGER , SQL_C_SLONG > ( m_integerInfo . get ( ) ) ; Execute < SQLINTEGER , Rcpp :: IntegerVector , SQL_C_SLONG > ( ColumnInfo < SQLINTEGER > :: sm_rowsNumber , ( * m_integerInfo ) . m_dataSet . data ( ) , ( * m_integerInfo ) . m_strLen_or_Ind . data ( ) , ( * m_integerInfo ) . m_columnNames ) ; }
Name: ExecuteIntegerColumnsTest
Description:
Tests Execute with default script using an InputDataSet of Integer columns.
Name : ExecuteIntegerColumnsTest Description : Tests Execute with default script using an InputDataSet of Integer columns .
// Initialize with a default Session that prints Hello RExtension // and assigns InputDataSet to OutputDataSet //