greenplumn CStackTest 源码

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

greenplumn CStackTest 代码

文件路径:/src/backend/gporca/libgpos/server/include/unittest/gpos/common/CStackTest.h

//---------------------------------------------------------------------------
//	Greenplum Database
//	Copyright (C) 2008 Greenplum, Inc.
//
//	@filename:
//		CStackTest.h
//
//	@doc:
//		Test for CStack
//---------------------------------------------------------------------------
#ifndef GPOS_CStackTest_H
#define GPOS_CStackTest_H

#include "gpos/base.h"

namespace gpos
{
//---------------------------------------------------------------------------
//	@class:
//		CStackTest
//
//	@doc:
//		Static unit tests
//
//---------------------------------------------------------------------------
class CStackTest
{
public:
	// unittests
	static GPOS_RESULT EresUnittest();
	static GPOS_RESULT EresUnittest_Basic();
	static GPOS_RESULT EresUnittest_PushPop();

#ifdef GPOS_DEBUG
	static GPOS_RESULT EresUnittest_Pop();
#endif

	// destructor function for char's
	static void DestroyChar(char *);

};	// class CStackTest
}  // namespace gpos

#endif	// !GPOS_CStackTest_H

// EOF

相关信息

greenplumn 源码目录

相关文章

greenplumn CAutoPTest 源码

greenplumn CAutoRefTest 源码

greenplumn CAutoRgTest 源码

greenplumn CBitSetIterTest 源码

greenplumn CBitSetTest 源码

greenplumn CBitVectorTest 源码

greenplumn CDoubleTest 源码

greenplumn CDynamicPtrArrayTest 源码

greenplumn CEnumSetTest 源码

greenplumn CHashMapIterTest 源码

0  赞