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