vozhyk- / kanji-assist

A Rikaichan-like Assist application for Android
Apache License 2.0
0 stars 0 forks source link

Make a script for capturing a test fixture #1

Open vozhyk- opened 7 years ago

vozhyk- commented 7 years ago

It should:

and put the files (separately or in a package) in raw resources.

vozhyk- commented 7 years ago

This one-liner can be used: name=name_of_the_fixture; adb pull /sdcard/Documents/assist.json "${name}.json"; adb pull /sdcard/Documents/assist.png "${name}_pre.png"; adb shell screencap -p | perl -pe 's/\x0D\x0A/\x0A/g' > "${name}_post.png"