Add unit tests for Java class dependency analysis

Unit tests are added for the three existing files in the
/src/tools/android/dependency_analysis directory, and a presubmit file
is added to run the tests automatically.

A small bug was also fixed in `process_jdeps.py` to only ignore lines of
the form `a -> not found   b` instead of ignoring lines with the substring `not
found` entirely (a valid form is `a -> b   not found`)

Bug: 1085063
Change-Id: I5e4d747977c1eba02b4416a083010f003dab15a4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2208301
Reviewed-by: Henrique Nakashima <hnakashima@chromium.org>
Reviewed-by: Mohamed Heikal <mheikal@chromium.org>
Commit-Queue: James Long <yjlong@google.com>
Cr-Original-Commit-Position: refs/heads/master@{#771171}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: d16518a359f054ea51141a613f72b119f165cc6c
7 files changed