Android Open Source - Sunshine Test D B






From Project

Back to project page Sunshine.

License

The source code is released under:

MIT License

If you think the Android project Sunshine 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 me.kalehv.t.sunshine;
//from   w ww .j  a va2s.c  o m
import android.database.sqlite.SQLiteDatabase;
import android.test.AndroidTestCase;

import me.kalehv.t.sunshine.data.WeatherDbHelper;

/**
 * Created by harshadkale on 7/19/14.
 */
public class TestDB extends AndroidTestCase
{
    public void testCreateDb() throws Throwable
    {
        mContext.deleteDatabase(WeatherDbHelper.DATABASE_NAME);
//        SQLiteDatabase db = new WeatherDbHelper(this.mContext).getWritableDatabase();

    }
}




Java Source Code List

me.kalehv.t.sunshine.ApplicationTest.java
me.kalehv.t.sunshine.DetailActivity.java
me.kalehv.t.sunshine.ForecastFragment.java
me.kalehv.t.sunshine.FullTestSuite.java
me.kalehv.t.sunshine.MainActivity.java
me.kalehv.t.sunshine.SettingsActivity.java
me.kalehv.t.sunshine.TestDB.java
me.kalehv.t.sunshine.data.WeatherContract.java
me.kalehv.t.sunshine.data.WeatherDbHelper.java
me.kalehv.t.sunshine.data.WeatherProvider.java