Created
January 17, 2019 01:59
-
-
Save samueljseay/c59179c1321fcc80c2c1f34793a573f4 to your computer and use it in GitHub Desktop.
LithoActivityTestRule error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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