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