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