File tree 2 files changed +38
-0
lines changed
jbmc/unit/java-testing-utils
2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ /* ******************************************************************\
2
+
3
+ Module: Unit test utilities
4
+
5
+ Author: Diffblue Ltd.
6
+
7
+ \*******************************************************************/
8
+
9
+ #include " java_select_pointer.h"
10
+
11
+ // / Returns the pointer seletion strategy for the given java_bytecode language.
12
+ // / \param java_lang The java bytecode language specific
13
+ // / \return The language specific pointer selection strategy
14
+ const select_pointer_typet &
15
+ get_pointer_type_selector_unit (const java_bytecode_languaget &java_lang)
16
+ {
17
+ return java_lang.get_pointer_type_selector ();
18
+ }
Original file line number Diff line number Diff line change
1
+ /*******************************************************************\
2
+
3
+ Module: Unit test utilities
4
+
5
+ Author: Diffblue Ltd.
6
+
7
+ \*******************************************************************/
8
+
9
+ /// \file
10
+ /// Utility for getting the pointer selection strategy from java_languaget
11
+
12
+ #ifndef CPROVER_JAVA_TESTING_UTILS_JAVA_SELECT_POINTER
13
+ #define CPROVER_JAVA_TESTING_UTILS_JAVA_SELECT_POINTER
14
+
15
+ #include <java_bytecode/java_bytecode_language.h>
16
+
17
+ const select_pointer_typet &
18
+ get_pointer_type_selector_unit (const java_bytecode_languaget & java_lang );
19
+
20
+ #endif //CPROVER_JAVA_TESTING_UTILS_JAVA_SELECT_POINTER
You can’t perform that action at this time.
0 commit comments