greenplumn CXMLSerializerTest 源码

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

greenplumn CXMLSerializerTest 代码

文件路径:/src/backend/gporca/server/include/unittest/dxl/CXMLSerializerTest.h

//---------------------------------------------------------------------------
//	Greenplum Database
//	Copyright (C) 2010 Greenplum, Inc.
//
//	@filename:
//		CXMLSerializerTest.h
//
//	@doc:
//		Tests the XML serializer
//---------------------------------------------------------------------------


#ifndef GPOPT_CXMLSerializerTest_H
#define GPOPT_CXMLSerializerTest_H

#include "gpos/base.h"

#include "naucrates/dxl/operators/CDXLNode.h"
#include "naucrates/dxl/xml/CDXLMemoryManager.h"

// fwd decl
namespace gpos
{
class CWStringDynamic;
}

namespace gpdxl
{
using namespace gpos;

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

class CXMLSerializerTest
{
private:
	// helper function for using the XML serializer to generate a document
	// with or without indentation
	static CWStringDynamic *Pstr(CMemoryPool *mp, BOOL indentation);

public:
	// unittests
	static GPOS_RESULT EresUnittest();
	static GPOS_RESULT EresUnittest_Basic();
	static GPOS_RESULT EresUnittest_NoIndent();
	static GPOS_RESULT EresUnittest_Base64();

};	// class CXMLSerializerTest
}  // namespace gpdxl

#endif	// !GPOPT_CXMLSerializerTest_H

// EOF

相关信息

greenplumn 源码目录

相关文章

greenplumn CDXLMemoryManagerTest 源码

greenplumn CDXLUtilsTest 源码

greenplumn CParseHandlerCostModelTest 源码

greenplumn CParseHandlerManagerTest 源码

greenplumn CParseHandlerOptimizerConfigSerializeTest 源码

greenplumn CParseHandlerTest 源码

0  赞