mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-04-20 19:18:31 +00:00
33 lines
783 B
C++
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);
|
|
};
|
|
}
|