File tree 1 file changed +17
-0
lines changed
unit/java_bytecode/java_bytecode_convert_method 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,23 @@ SCENARIO(
143
143
" Object;LDummyGeneric;)V" ;
144
144
validate_lamdba_assignement (symbol_table, instructions, test_data);
145
145
}
146
+ THEN (
147
+ " The local variable should be assigned a non-null pointer to a "
148
+ " array parameter interface implementor" )
149
+ {
150
+ lambda_assignment_test_datat test_data;
151
+
152
+ test_data.lambda_variable_id =
153
+ std::regex (function_prefix_regex_str + " ::\\ d+::arrayParamLambda$" );
154
+
155
+ test_data.lambda_interface = " java::ArrayParameterLambda" ;
156
+ test_data.lambda_interface_method_descriptor =
157
+ " .Execute:([I[Ljava/lang/Object;[LDummyGeneric;)V" ;
158
+ test_data.lambda_function_id =
159
+ " java::LocalLambdas.lambda$test$2:"
160
+ " ([I[Ljava/lang/Object;[LDummyGeneric;)V" ;
161
+ validate_lamdba_assignement (symbol_table, instructions, test_data);
162
+ }
146
163
}
147
164
}
148
165
});
You can’t perform that action at this time.
0 commit comments