data: updated eclipse dependencies for java indexing

* updated java indexer to use org.eclipse.jdt.core version 3.13.0.
* added test that checks if all jar dependencies can be found.
This commit is contained in:
mlangkabel
2017-10-18 14:52:14 +02:00
parent 7dce69e60e
commit 0d993011d8
5 changed files with 47 additions and 37 deletions
+10
View File
@@ -17,6 +17,16 @@ public:
///////////////////////////////////////////////////////////////////////////////
// test finding symbol definitions and declarations
void test_java_parser_finds_all_jar_dependencies()
{
const std::vector<std::string> jarNames = utility::getRequiredJarNames();
for (const std::string& jarName : utility::getRequiredJarNames())
{
FilePath jarPath("../app/data/java/lib/" + jarName);
TSM_ASSERT("Jar dependency path does not exist: " + jarPath.str(), jarPath.exists());
}
}
void test_java_parser_can_setup_environment_factory()
{
std::vector<FilePath> javaPaths = utility::getJavaRuntimePathDetector()->getPaths();