language-extensions/R/test/src/RExtensionExecuteTests.cpp
//----------------------------------------------------------------------------------------------
// Name: ExecuteDateColumnsTest
//
// Description:
//  Tests Execute with default script using an InputDataSet of Date columns.
//
ExecuteDateColumnsTest
Description:
Tests Execute with default script using an InputDataSet of Date columns.
ExecuteDateColumnsTest Description : Tests Execute with default script using an InputDataSet of Date columns .
TEST_F(RExtensionApiTests, ExecuteDateColumnsTest)
	{
		InitializeSession(
			(*m_dateInfo).GetColumnsNumber(),
			m_scriptString,
			0);  parametersNumber
		InitializeColumns<SQL_DATE_STRUCT, SQL_C_TYPE_DATE>(m_dateInfo.get());
		ExecuteDateTime<SQL_DATE_STRUCT, Rcpp::DateVector, Rcpp::Date>(
			ColumnInfo<SQL_DATE_STRUCT>::sm_rowsNumber,
			(*m_dateInfo).m_dataSet.data(),
			(*m_dateInfo).m_strLen_or_Ind.data(),
			(*m_dateInfo).m_columnNames);
	}
TEST_F ( RExtensionApiTests , ExecuteDateColumnsTest ) { InitializeSession ( ( * m_dateInfo ) . GetColumnsNumber ( ) , m_scriptString , 0 ) ; InitializeColumns < SQL_DATE_STRUCT , SQL_C_TYPE_DATE > ( m_dateInfo . get ( ) ) ; ExecuteDateTime < SQL_DATE_STRUCT , Rcpp :: DateVector , Rcpp :: Date > ( ColumnInfo < SQL_DATE_STRUCT > :: sm_rowsNumber , ( * m_dateInfo ) . m_dataSet . data ( ) , ( * m_dateInfo ) . m_strLen_or_Ind . data ( ) , ( * m_dateInfo ) . m_columnNames ) ; }
Name: ExecuteDateColumnsTest
Description:
Tests Execute with default script using an InputDataSet of Date columns.
Name : ExecuteDateColumnsTest Description : Tests Execute with default script using an InputDataSet of Date columns .
// Initialize with a default Session that prints Hello RExtension // and assigns InputDataSet to OutputDataSet // // parametersNumber