greenplumn CMDProviderTest 源码

2022-08-18 浏览 (321)

greenplumn CMDProviderTest 代码

文件路径:/src/backend/gporca/server/include/unittest/gpopt/mdcache/CMDProviderTest.h

//---------------------------------------------------------------------------
//	Greenplum Database
//	Copyright (C) 2011 Greenplum, Inc.
//
//	@filename:
//		CMDProviderTest.h
//
//	@doc:
//		Tests the metadata provider.
//---------------------------------------------------------------------------


#ifndef GPOPT_CMDProviderTest_H
#define GPOPT_CMDProviderTest_H

#include "gpos/base.h"

#include "naucrates/md/IMDProvider.h"

namespace gpdxl
{
using namespace gpos;

//---------------------------------------------------------------------------
//	@class:
//		CMDProviderTest
//
//	@doc:
//		Static unit tests
//
//---------------------------------------------------------------------------

class CMDProviderTest
{
private:
	// test lookup of MD objects with given MD provider
	static void TestMDLookup(CMemoryPool *mp, IMDProvider *pmdp);

public:
	// file for the file-based MD provider
	static const CHAR *file_name;

	// unittests
	static GPOS_RESULT EresUnittest();
	static GPOS_RESULT EresUnittest_Basic();
	static GPOS_RESULT EresUnittest_Stats();
	static GPOS_RESULT EresUnittest_Negative();


};	// class CMDProviderTest
}  // namespace gpdxl

#endif	// !GPOPT_CMDProviderTest_H

// EOF

相关信息

greenplumn 源码目录

相关文章

greenplumn CMDAccessorTest 源码

  • 所属分类: 大数据
  • 本文标签: greenplum
  • 版权声明: 本文链接 https://seaxiang.com/blog/823b4074286a43d1873b73b7b98b6382