From 046275645139c237c35deb5193d798849254fad1 Mon Sep 17 00:00:00 2001 From: Milan Suman <> Date: Wed, 20 Jul 2022 08:44:56 +0530 Subject: [PATCH] lib: rename java_string to javacompat --- scripts/test.sh | 2 +- src/lib/{java_string.cpp => javacompat.cpp} | 2 +- src/lib/{java_string.h++ => javacompat.h++} | 0 src/test/{java_string.cpp => javacompat.cpp} | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) rename src/lib/{java_string.cpp => javacompat.cpp} (98%) rename src/lib/{java_string.h++ => javacompat.h++} (100%) rename src/test/{java_string.cpp => javacompat.cpp} (98%) diff --git a/scripts/test.sh b/scripts/test.sh index 5248526..cc3aeb8 100755 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -39,7 +39,7 @@ echo "Building tests..." COMPILE_COMMANDS=( "$CXX_WITH_FLAGS src/test/nbt_helpers.cpp -Lbin/lib -l:nbt.so -o bin/test/nbt_helpers" "$CXX_WITH_FLAGS src/test/cli_argument_parser.cpp -Lbin/lib -l:cli.so -o bin/test/cli_argument_parser" - "$CXX_WITH_FLAGS src/test/java_string.cpp -Idependencies/tiny-utf8-4.4.3/include -Lbin/lib -l:java_string.so -o bin/test/java_string" + "$CXX_WITH_FLAGS src/test/javacompat.cpp -Idependencies/tiny-utf8-4.4.3/include -Lbin/lib -l:javacompat.so -o bin/test/javacompat" ) for command in ${!COMPILE_COMMANDS[@]}; do echo "${COMPILE_COMMANDS[command]}" diff --git a/src/lib/java_string.cpp b/src/lib/javacompat.cpp similarity index 98% rename from src/lib/java_string.cpp rename to src/lib/javacompat.cpp index 3c2797a..05e5dee 100644 --- a/src/lib/java_string.cpp +++ b/src/lib/javacompat.cpp @@ -17,7 +17,7 @@ #include #include "error.h++" -#include "java_string.h++" +#include "javacompat.h++" namespace JavaCompat { //FIXME: contrary to what I said, we need to explicitly pass the data diff --git a/src/lib/java_string.h++ b/src/lib/javacompat.h++ similarity index 100% rename from src/lib/java_string.h++ rename to src/lib/javacompat.h++ diff --git a/src/test/java_string.cpp b/src/test/javacompat.cpp similarity index 98% rename from src/test/java_string.cpp rename to src/test/javacompat.cpp index 9bd2ab9..87d7862 100644 --- a/src/test/java_string.cpp +++ b/src/test/javacompat.cpp @@ -14,7 +14,7 @@ // If not, see https://www.gnu.org/licenses/agpl-3.0.en.html #include "assert.h++" -#include "../lib/java_string.h++" +#include "../lib/javacompat.h++" #include #include #include