Search in sources :

Example 1 with CurrenWeather

use of com.octo.android.robospice.ormlite.test.model.CurrenWeather in project robospice by stephanenicolas.

the class InDatabaseWeatherPersisterTest method buildWeather.

private Weather buildWeather(int id, CurrenWeather currenWeather) {
    Weather weather = new Weather();
    weather.setId(id);
    List<CurrenWeather> currents = new ArrayList<CurrenWeather>();
    currents.add(currenWeather);
    weather.setListWeather(currents);
    weather.setListForecast(null);
    return weather;
}
Also used : CurrenWeather(com.octo.android.robospice.ormlite.test.model.CurrenWeather) Weather(com.octo.android.robospice.ormlite.test.model.Weather) CurrenWeather(com.octo.android.robospice.ormlite.test.model.CurrenWeather) ArrayList(java.util.ArrayList)

Aggregations

CurrenWeather (com.octo.android.robospice.ormlite.test.model.CurrenWeather)1 Weather (com.octo.android.robospice.ormlite.test.model.Weather)1 ArrayList (java.util.ArrayList)1