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