diff options
Diffstat (limited to 'resources/src/test/java/org/robolectric/res/android/CppApkAssetsTest.java')
-rw-r--r-- | resources/src/test/java/org/robolectric/res/android/CppApkAssetsTest.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/resources/src/test/java/org/robolectric/res/android/CppApkAssetsTest.java b/resources/src/test/java/org/robolectric/res/android/CppApkAssetsTest.java new file mode 100644 index 000000000..e4545af7c --- /dev/null +++ b/resources/src/test/java/org/robolectric/res/android/CppApkAssetsTest.java @@ -0,0 +1,17 @@ +package org.robolectric.res.android; + +import static com.google.common.truth.Truth.assertThat; + +import org.junit.Test; +import org.junit.runner.RunWith; +import org.junit.runners.JUnit4; + +@RunWith(JUnit4.class) +public final class CppApkAssetsTest { + + @Test + public void forEachFile_returnsFalseIfInitializedTrivially() { + boolean runningResult = new CppApkAssets().ForEachFile("a/robo", (string, type) -> {}); + assertThat(runningResult).isFalse(); + } +} |