Skip to content

Commit d19e737

Browse files
author
Thomas Kiley
authored
Merge pull request diffblue#1461 from thk123/bugfix/correcting-includes-in-new-unit-tests
Util files were moved into a util library
2 parents 0681219 + 3b69fe1 commit d19e737

7 files changed

+12
-11
lines changed

unit/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ SRC += unit_tests.cpp \
1919
java_bytecode/java_bytecode_convert_class/convert_abstract_class.cpp \
2020
miniBDD_new.cpp \
2121
java_bytecode/java_string_library_preprocess/convert_exprt_to_string_exprt.cpp \
22+
java_bytecode/java_utils_test.cpp \
2223
solvers/refinement/string_constraint_generator_valueof/calculate_max_string_length.cpp \
2324
solvers/refinement/string_constraint_generator_valueof/get_numeric_value_from_character.cpp \
2425
solvers/refinement/string_constraint_generator_valueof/is_digit_with_radix.cpp \

unit/java_bytecode/java_bytecode_parse_generics/parse_derived_generic_class.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
\*******************************************************************/
88

9-
#include <catch.hpp>
9+
#include <testing-utils/catch.hpp>
1010

1111
#include <istream>
1212
#include <memory>
@@ -16,7 +16,7 @@
1616
#include <util/message.h>
1717
#include <java_bytecode/java_bytecode_language.h>
1818
#include <iostream>
19-
#include <src/java_bytecode/load_java_class.h>
19+
#include <testing-utils/load_java_class.h>
2020

2121
SCENARIO(
2222
"java_bytecode_parse_derived_generic_class",

unit/java_bytecode/java_bytecode_parse_generics/parse_generic_array_class.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
77
\*******************************************************************/
88

9-
#include <catch.hpp>
9+
#include <testing-utils/catch.hpp>
1010

1111
#include <util/config.h>
1212
#include <util/cmdline.h>
1313
#include <util/language.h>
1414
#include <util/prefix.h>
1515

1616
#include <java_bytecode/java_bytecode_language.h>
17-
#include <src/java_bytecode/load_java_class.h>
17+
#include <testing-utils/load_java_class.h>
1818

1919
#include <iostream>
2020
#include <util/namespace.h>

unit/java_bytecode/java_bytecode_parse_generics/parse_generic_functions.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
\*******************************************************************/
88

9-
#include <catch.hpp>
9+
#include <testing-utils/catch.hpp>
1010

1111
#include <util/config.h>
1212
#include <util/cmdline.h>
@@ -16,7 +16,7 @@
1616
#include <java_bytecode/java_bytecode_language.h>
1717

1818
#include <iostream>
19-
#include <src/java_bytecode/load_java_class.h>
19+
#include <testing-utils/load_java_class.h>
2020

2121
SCENARIO(
2222
"java_bytecode_parse_generic_function",

unit/java_bytecode/java_bytecode_parse_generics/parse_generic_wildcard_function.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
77
\*******************************************************************/
88

9-
#include <catch.hpp>
9+
#include <testing-utils/catch.hpp>
1010

1111
#include <util/config.h>
1212
#include <util/cmdline.h>
@@ -16,7 +16,7 @@
1616
#include <java_bytecode/java_bytecode_language.h>
1717

1818
#include <iostream>
19-
#include <src/java_bytecode/load_java_class.h>
19+
#include <testing-utils/load_java_class.h>
2020

2121
SCENARIO(
2222
"java_bytecode_parse_generic_wildcard",

unit/java_bytecode/java_bytecode_parse_generics/parse_recursive_generic_class.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
77
\*******************************************************************/
88

9-
#include <catch.hpp>
9+
#include <testing-utils/catch.hpp>
1010

1111
#include <util/config.h>
1212
#include <util/cmdline.h>
1313
#include <util/language.h>
1414
#include <util/prefix.h>
1515

1616
#include <java_bytecode/java_bytecode_language.h>
17-
#include <src/java_bytecode/load_java_class.h>
17+
#include <testing-utils/load_java_class.h>
1818

1919
#include <iostream>
2020
#include <util/namespace.h>

unit/java_bytecode/java_utils_test.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include <string>
1212
#include <vector>
1313

14-
#include <catch.hpp>
14+
#include <testing-utils/catch.hpp>
1515

1616
#include <java_bytecode/java_utils.h>
1717

0 commit comments

Comments
 (0)