Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
LithoActivityTestRule error
import androidx.test.ext.junit.runners.AndroidJUnit4;
import com.facebook.litho.testing.espresso.LithoActivityTestRule;
import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
@RunWith(AndroidJUnit4.class)
public class CardFeedActivityTest {
@Rule
public LithoActivityTestRule<MyActivity> mActivity =
new LithoActivityTestRule<>(MyActivity.class);
@Test
public void itWorks() {
System.out.println("ok");
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment