{"image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/p/peugeot-106-s16/20181107/20181107153712.png","height":"190","categories":["Android","C++"],"blog_title":"\u3064\u304f\u308b\u306e\u5927\u597d\u304d\u3002","type":"rich","provider_name":"Hatena Blog","author_name":"peugeot-106-s16","version":"1.0","title":"Android C++\u958b\u767a [2] : InstrumentedTest\u3067UI\u3092\u8868\u793a\u3059\u308b","url":"https://satoshi-maemoto.hatenablog.com/entry/2018/11/07/155624","author_url":"https://blog.hatena.ne.jp/peugeot-106-s16/","provider_url":"https://hatena.blog","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsatoshi-maemoto.hatenablog.com%2Fentry%2F2018%2F11%2F07%2F155624\" title=\"Android C++\u958b\u767a [2] : InstrumentedTest\u3067UI\u3092\u8868\u793a\u3059\u308b - \u3064\u304f\u308b\u306e\u5927\u597d\u304d\u3002\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","published":"2018-11-07 15:56:24","blog_url":"https://satoshi-maemoto.hatenablog.com/","description":"InstrumentedTest\u3092\u4f7f\u3048\u3070\u30c7\u30d0\u30a4\u30b9\u4e0a\u3067UnitTest\u304c\u3067\u304d\u307e\u3059\u304c\u3001\u72b6\u614b\u3084\u6620\u50cf\u3092\u8868\u793a\u3057\u305f\u308a\u3059\u308b\u306b\u306fUI\u304c\u8868\u793a\u3067\u304d\u308b\u3068\u4fbf\u5229\u3067\u3059\u3002 InstrumentedTest\u306bActivity\u8868\u793a\u306e\u30eb\u30fc\u30eb\u3092\u8ffd\u52a0\u3059\u308b Activity\u306e\u30c6\u30b9\u30c8\u3092\u3059\u308b\u306b\u306f\u30c6\u30b9\u30c8\u30af\u30e9\u30b9\u306b ActivityTestRule \u3068\u3044\u3046\u30eb\u30fc\u30eb\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002 \u3064\u307e\u308a\u30c6\u30b9\u30c8\u5b9f\u884c\u6642\u306b\u3053\u306eActivity\u3092\u8868\u793a\u3059\u308b\u3088\u3046\u306b\u3001\u3068\u3044\u3063\u305f\u30eb\u30fc\u30eb\u306e\u5b9a\u7fa9\u3067\u3059\u3002 ExampleInstrumentedTest.java @Rule public ActivityTestRule rule = new ActivityTestRule<>(Main\u2026"}