• Home
  • Raw
  • Download

Lines Matching full:testfunction

79 void RunTestFunction(const char* testName, TFuncPtr testFunction, Args... args)  in RunTestFunction()  argument
87 auto testResult = (*testFunction)(workloadFactory, memoryManager, args...); in RunTestFunction()
95 void RunTestFunctionUsingTensorHandleFactory(const char* testName, TFuncPtr testFunction, Args... a… in RunTestFunctionUsingTensorHandleFactory() argument
105 auto testResult = (*testFunction)(workloadFactory, memoryManager, tensorHandleFactory, args...); in RunTestFunctionUsingTensorHandleFactory()
111 #define ARMNN_SIMPLE_TEST_CASE(TestName, TestFunction) \ argument
114 TestFunction(); \
117 #define ARMNN_AUTO_TEST_CASE(TestName, TestFunction, ...) \ argument
120 RunTestFunction<FactoryType>(#TestName, &TestFunction, ##__VA_ARGS__); \
123 #define ARMNN_AUTO_TEST_FIXTURE(TestName, Fixture, TestFunction, ...) \ argument
126 RunTestFunction<FactoryType>(#TestName, &TestFunction, ##__VA_ARGS__); \
129 #define ARMNN_AUTO_TEST_CASE_WITH_THF(TestName, TestFunction, ...) \ argument
132 … RunTestFunctionUsingTensorHandleFactory<FactoryType>(#TestName, &TestFunction, ##__VA_ARGS__); \
135 #define ARMNN_AUTO_TEST_FIXTURE_WITH_THF(TestName, Fixture, TestFunction, ...) \ argument
138 … RunTestFunctionUsingTensorHandleFactory<FactoryType>(#TestName, &TestFunction, ##__VA_ARGS__); \
142 void CompareRefTestFunction(const char* testName, TFuncPtr testFunction, Args... args) in CompareRefTestFunction() argument
149 auto testResult = (*testFunction)(workloadFactory, memoryManager, refWorkloadFactory, args...); in CompareRefTestFunction()
154 void CompareRefTestFunctionUsingTensorHandleFactory(const char* testName, TFuncPtr testFunction, Ar… in CompareRefTestFunctionUsingTensorHandleFactory() argument
164 auto testResult = (*testFunction)( in CompareRefTestFunctionUsingTensorHandleFactory()
169 #define ARMNN_COMPARE_REF_AUTO_TEST_CASE(TestName, TestFunction, ...) \ argument
172 CompareRefTestFunction<FactoryType>(#TestName, &TestFunction, ##__VA_ARGS__); \
175 #define ARMNN_COMPARE_REF_AUTO_TEST_CASE_WITH_THF(TestName, TestFunction, ...) \ argument
178 …CompareRefTestFunctionUsingTensorHandleFactory<FactoryType>(#TestName, &TestFunction, ##__VA_ARGS_…
181 #define ARMNN_COMPARE_REF_FIXTURE_TEST_CASE(TestName, Fixture, TestFunction, ...) \ argument
184 CompareRefTestFunction<FactoryType>(#TestName, &TestFunction, ##__VA_ARGS__); \
187 #define ARMNN_COMPARE_REF_FIXTURE_TEST_CASE_WITH_THF(TestName, Fixture, TestFunction, ...) \ argument
190 …CompareRefTestFunctionUsingTensorHandleFactory<FactoryType>(#TestName, &TestFunction, ##__VA_ARGS_…