SlimFunctions.h 1.04 KB
#ifndef SLIMFUNCTIONS_H
#define SLIMFUNCTIONS_H

#include "CSlim/SlimUtil.h"
#include "CSlim/SlimList.h"
#include "CSlim/Fixtures.h"

extern "C"
{
	void* TREPSTest_Create(StatementExecutor* errorHandler, SlimList* args);

	void TREPSTest_Destroy(void* void_self);

	static char* returnTest(void *void_self, SlimList *args);

	static char* setKernelDir(void *void_self, SlimList *args);

	static char* setCOTSDir(void *void_self, SlimList *args);

	static char* executeRequest(void *void_self, SlimList *args);

	static char* executeRequestRequestValgrind(void *void_self, SlimList *args);

	static char* getResultContentFileXpath(void *void_self, SlimList *args);

	static char* getResultAttributeFileXpathAttribute(void *void_self, SlimList *args);

	SLIM_CREATE_FIXTURE(TREPSTest)
		SLIM_FUNCTION(returnTest)
		SLIM_FUNCTION(setKernelDir)
		SLIM_FUNCTION(setCOTSDir)
		SLIM_FUNCTION(executeRequest)
		SLIM_FUNCTION(executeRequestRequestValgrind)
		SLIM_FUNCTION(getResultContentFileXpath)
		SLIM_FUNCTION(getResultAttributeFileXpathAttribute)
	SLIM_END
}

#endif