greenplumn CWindowTest 源码

  • 2022-08-18
  • 浏览 (55)

greenplumn CWindowTest 代码

文件路径:/src/backend/gporca/server/src/unittest/gpopt/minidump/CWindowTest.cpp

//---------------------------------------------------------------------------
//	Greenplum Database
//	Copyright (C) 2016 VMware, Inc. or its affiliates
//---------------------------------------------------------------------------
#include "unittest/gpopt/minidump/CWindowTest.h"

#include "unittest/gpopt/CTestUtils.h"



//---------------------------------------------------------------------------
//	@function:
//		CWindowTest::EresUnittest
//
//	@doc:
//		Unittest for Window functions
//
//---------------------------------------------------------------------------
GPOS_RESULT
CWindowTest::EresUnittest()
{
	ULONG ulTestCounter = 0;
	const CHAR *rgszWindowFunctionFileNames[] = {
		"../data/dxl/minidump/NoBroadcastUnderGatherForWindowFunction.mdp",
		"../data/dxl/minidump/WinFuncWithSubqArgs.mdp",
		"../data/dxl/minidump/WinFunc-Simple.mdp",
		"../data/dxl/minidump/WindowFrame-SingleEdged.mdp",
		"../data/dxl/minidump/Join-WinFunc-Preds.mdp",
		"../data/dxl/minidump/Lead-Lag-WinFuncs.mdp",
		"../data/dxl/minidump/Preds-Over-WinFunc1.mdp",
		"../data/dxl/minidump/Preds-Over-WinFunc2.mdp",
		"../data/dxl/minidump/Preds-Over-WinFunc3.mdp",
		"../data/dxl/minidump/Preds-Over-WinFunc4.mdp",
		"../data/dxl/minidump/Preds-Over-WinFunc5.mdp",
		"../data/dxl/minidump/window-count-gpdb6.mdp",
	};

	return CTestUtils::EresUnittest_RunTestsWithoutAdditionalTraceFlags(
		rgszWindowFunctionFileNames, &ulTestCounter,
		GPOS_ARRAY_SIZE(rgszWindowFunctionFileNames), true, true);
}
// EOF

相关信息

greenplumn 源码目录

相关文章

greenplumn CAggTest 源码

greenplumn CArrayExpansionTest 源码

greenplumn CBitmapTest 源码

greenplumn CCTETest 源码

greenplumn CCastTest 源码

greenplumn CCollapseProjectTest 源码

greenplumn CConstTblGetTest 源码

greenplumn CDMLTest 源码

greenplumn CDirectDispatchTest 源码

greenplumn CEscapeMechanismTest 源码

0  赞