summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorMÃ¥rten Kongstad <marten.kongstad@sony.com>2019-02-07 02:21:56 +0100
committerTodd Kennedy <toddke@google.com>2019-03-19 14:26:38 -0700
commit0c6ff1da4f20da59b6bb8649429142390c636743 (patch)
treee56e9111d6f7c37c9d106e010f78268e4d7a7bc0 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent09eb96c4c7874f06bc71d084b7d51eac26779b52 (diff)
idmap2: move commands to Result<Unit>
Change the signature of the idmap2 commands (Create, Dump, ...) to return Result<Unit> instead of bool. This removes the need to pass in an ostream for error messages: instead, those messages are part of the returned Result. Consolidate error messages: texts in Error objects should not be prefixed with "error:", that is the responsibility of the outer-most caller (i.e. main()). Test: make idmap2_tests Change-Id: I074881b3d1982ea8f4be5752161ac74b14fcba95
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions