package com.example.horie1024.test; import org.junit.Test; import org.junit.runner.RunWith; import org.robolectric.Robolectric; import java.io.InputStream; import static org.junit.Assert.assertNotNull; @org.robolectric.annotation.Config(emulateSdk = 18) @RunWith(RobolectricTestRunner.class) public class HogeTest { @Test public void readAssets() throws IOException { InputStream is = Robolectric.app
Post published:March 19, 2015 Post Author:Einar Valgeirsson Post Category:Android / Testing Post Comments:2 Comments In our current project we are using Robolectric when writing unit tests for our Android application and it has been working out really well. Recently I needed to write a test case that performed an operation several times, but with different test data, and assert that the correct ac
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く