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