linphone-iphone/build/wp8/LibLinphoneTester-native/linphone-tester-native.h
2015-01-09 11:42:05 +01:00

33 lines
783 B
C++

#pragma once
#include "liblinphone_tester.h"
namespace linphone_tester_native
{
enum OutputTraceLevel {
Debug,
Message,
Warning,
Error,
Raw
};
public interface class OutputTraceListener
{
public:
void outputTrace(int level, Platform::String^ msg);
};
public ref class LinphoneTesterNative sealed
{
public:
LinphoneTesterNative();
virtual ~LinphoneTesterNative();
void setOutputTraceListener(OutputTraceListener^ traceListener);
unsigned int nbTestSuites();
unsigned int nbTests(Platform::String^ suiteName);
Platform::String^ testSuiteName(int index);
Platform::String^ testName(Platform::String^ suiteName, int testIndex);
void run(Platform::String^ suiteName, Platform::String^ caseName, Platform::Boolean verbose);
};
}