Add Robolectric test for ViewResourceAdapter

Add unit tests before tinkering around.

Bug: 965580
Change-Id: I5739216e02f2f62012cfebc0283bb5279d07d2ae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1622645
Reviewed-by: David Trainor <dtrainor@chromium.org>
Commit-Queue: Wei-Yin Chen (陳威尹) <wychen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#662095}
2 files changed