Android Open Source - sqlite-provider Asset Helper Test

From Project

Back to project page sqlite-provider.


The source code is released under:

Apache License

If you think the Android project sqlite-provider listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package novoda.lib.sqliteprovider.sqlite;
//from w  w  w. ja v  a2  s  .  c  o m
import android.test.InstrumentationTestCase;

public class AssetHelperTest extends InstrumentationTestCase {

    public AssetHelperTest() {

    public void testSomething() throws Exception {
        String[] strings = getInstrumentation().getContext().getAssets().list("sql");

        assertEquals(strings[0], "create.sql");

Java Source Code List