@@ -82,7 +82,7 @@ static void void_noop_sps_wrapper(orc_rt_SessionRef Session, void *CallCtx,
82
82
[](move_only_function<void ()> Return) { Return (); });
83
83
}
84
84
85
- TEST (SPSWrapperFunctionUtilsTest, TestVoidNoop ) {
85
+ TEST (SPSWrapperFunctionUtilsTest, VoidNoop ) {
86
86
bool Ran = false ;
87
87
SPSWrapperFunction<void ()>::call (DirectCaller (nullptr , void_noop_sps_wrapper),
88
88
[&](Error Err) {
@@ -102,7 +102,7 @@ static void add_via_lambda_sps_wrapper(orc_rt_SessionRef Session, void *CallCtx,
102
102
});
103
103
}
104
104
105
- TEST (SPSWrapperFunctionUtilsTest, TestBinaryOpViaLambda ) {
105
+ TEST (SPSWrapperFunctionUtilsTest, BinaryOpViaLambda ) {
106
106
int32_t Result = 0 ;
107
107
SPSWrapperFunction<int32_t (int32_t , int32_t )>::call (
108
108
DirectCaller (nullptr , add_via_lambda_sps_wrapper),
@@ -123,7 +123,7 @@ add_via_function_sps_wrapper(orc_rt_SessionRef Session, void *CallCtx,
123
123
Session, CallCtx, Return, ArgBytes, add_via_function);
124
124
}
125
125
126
- TEST (SPSWrapperFunctionUtilsTest, TestBinaryOpViaFunction ) {
126
+ TEST (SPSWrapperFunctionUtilsTest, BinaryOpViaFunction ) {
127
127
int32_t Result = 0 ;
128
128
SPSWrapperFunction<int32_t (int32_t , int32_t )>::call (
129
129
DirectCaller (nullptr , add_via_function_sps_wrapper),
@@ -139,7 +139,7 @@ add_via_function_pointer_sps_wrapper(orc_rt_SessionRef Session, void *CallCtx,
139
139
Session, CallCtx, Return, ArgBytes, &add_via_function);
140
140
}
141
141
142
- TEST (SPSWrapperFunctionUtilsTest, TestBinaryOpViaFunctionPointer ) {
142
+ TEST (SPSWrapperFunctionUtilsTest, BinaryOpViaFunctionPointer ) {
143
143
int32_t Result = 0 ;
144
144
SPSWrapperFunction<int32_t (int32_t , int32_t )>::call (
145
145
DirectCaller (nullptr , add_via_function_pointer_sps_wrapper),
@@ -161,7 +161,7 @@ static void improbable_feat_sps_wrapper(orc_rt_SessionRef Session,
161
161
});
162
162
}
163
163
164
- TEST (SPSWrapperFunctionUtilsTest, TestFunctionReturningErrorSuccessCase ) {
164
+ TEST (SPSWrapperFunctionUtilsTest, TransparentConversionErrorSuccessCase ) {
165
165
bool DidRun = false ;
166
166
SPSWrapperFunction<SPSError (bool )>::call (
167
167
DirectCaller (nullptr , improbable_feat_sps_wrapper),
@@ -174,7 +174,7 @@ TEST(SPSWrapperFunctionUtilsTest, TestFunctionReturningErrorSuccessCase) {
174
174
EXPECT_TRUE (DidRun);
175
175
}
176
176
177
- TEST (SPSWrapperFunctionUtilsTest, TestFunctionReturningErrorFailureCase ) {
177
+ TEST (SPSWrapperFunctionUtilsTest, TransparentConversionErrorFailureCase ) {
178
178
std::string ErrMsg;
179
179
SPSWrapperFunction<SPSError (bool )>::call (
180
180
DirectCaller (nullptr , improbable_feat_sps_wrapper),
@@ -197,7 +197,7 @@ static void halve_number_sps_wrapper(orc_rt_SessionRef Session, void *CallCtx,
197
197
});
198
198
}
199
199
200
- TEST (SPSWrapperFunctionUtilsTest, TestFunctionReturningExpectedSuccessCase ) {
200
+ TEST (SPSWrapperFunctionUtilsTest, TransparentConversionExpectedSuccessCase ) {
201
201
int32_t Result = 0 ;
202
202
SPSWrapperFunction<SPSExpected<int32_t >(int32_t )>::call (
203
203
DirectCaller (nullptr , halve_number_sps_wrapper),
@@ -209,7 +209,7 @@ TEST(SPSWrapperFunctionUtilsTest, TestFunctionReturningExpectedSuccessCase) {
209
209
EXPECT_EQ (Result, 1 );
210
210
}
211
211
212
- TEST (SPSWrapperFunctionUtilsTest, TestFunctionReturningExpectedFailureCase ) {
212
+ TEST (SPSWrapperFunctionUtilsTest, TransparentConversionExpectedFailureCase ) {
213
213
std::string ErrMsg;
214
214
SPSWrapperFunction<SPSExpected<int32_t >(int32_t )>::call (
215
215
DirectCaller (nullptr , halve_number_sps_wrapper),
@@ -232,7 +232,7 @@ round_trip_int_pointer_sps_wrapper(orc_rt_SessionRef Session, void *CallCtx,
232
232
});
233
233
}
234
234
235
- TEST (SPSWrapperFunctionUtilsTest, TestTransparentSerializationForPointers ) {
235
+ TEST (SPSWrapperFunctionUtilsTest, TransparentSerializationPointers ) {
236
236
int X = 42 ;
237
237
int *P = nullptr ;
238
238
SPSWrapperFunction<SPSExecutorAddr (SPSExecutorAddr)>::call (
@@ -270,7 +270,7 @@ handle_with_reference_types_sps_wrapper(orc_rt_SessionRef Session,
270
270
OpCounter<3 > &&) { Return (); });
271
271
}
272
272
273
- TEST (SPSWrapperFunctionUtilsTest, TestHandlerWithReferences ) {
273
+ TEST (SPSWrapperFunctionUtilsTest, HandlerWithReferences ) {
274
274
// Test that we can handle by-value, by-ref, by-const-ref, and by-rvalue-ref
275
275
// arguments, and that we generate the expected number of moves.
276
276
OpCounter<0 >::reset ();
0 commit comments