From d6b6b80cdbe5f8c035558e82d624b39340e2c3fa Mon Sep 17 00:00:00 2001 From: Casey Dahlin Date: Wed, 2 Sep 2015 11:02:11 -0700 Subject: [PATCH] Delete outdated options tests Bug: 23718807 Test: Re-ran make. Confirmed code was not linked. Change-Id: If065b9287ed70b9e380281cae42f89bd5f1ffb06 Signed-off-by: Casey Dahlin --- tools/aidl/options_test.cpp | 292 ------------------------------------ 1 file changed, 292 deletions(-) delete mode 100644 tools/aidl/options_test.cpp diff --git a/tools/aidl/options_test.cpp b/tools/aidl/options_test.cpp deleted file mode 100644 index 7ac527dc9e4f4..0000000000000 --- a/tools/aidl/options_test.cpp +++ /dev/null @@ -1,292 +0,0 @@ -#include -#include "options.h" - -const bool VERBOSE = false; - -using std::string; -using std::vector; - -struct Answer { - const char* argv[8]; - int result; - const char* systemSearchPath[8]; - const char* localSearchPath[8]; - const char* inputFileName; - language_t nativeLanguage; - const char* outputH; - const char* outputCPP; - const char* outputJava; -}; - -bool -match_arrays(const char* const*expected, const vector &got) -{ - int count = 0; - while (expected[count] != NULL) { - count++; - } - if (got.size() != count) { - return false; - } - for (int i=0; i &got) -{ - size_t count = got.size(); - for (size_t i=0; i