use of com.octo.android.robospice.springandroid.test.model.json.CurrenWeather in project robospice by stephanenicolas.
the class InFileWeatherPersisterTest method buildWeather.
private WeatherResult buildWeather(String temp, String tempUnit) {
WeatherResult weatherRequestStatus = new WeatherResult();
Weather weather = new Weather();
List<CurrenWeather> currents = new ArrayList<CurrenWeather>();
CurrenWeather current_weather = new CurrenWeather();
current_weather.setTemp(temp);
current_weather.setTemp_unit(tempUnit);
currents.add(current_weather);
weather.setCurren_weather(currents);
weatherRequestStatus.setWeather(weather);
return weatherRequestStatus;
}
use of com.octo.android.robospice.springandroid.test.model.json.CurrenWeather in project robospice by stephanenicolas.
the class InFileWeatherPersisterTest method buildWeather.
private WeatherResult buildWeather(String temp, String tempUnit) {
WeatherResult weatherRequestStatus = new WeatherResult();
Weather weather = new Weather();
List<CurrenWeather> currents = new ArrayList<CurrenWeather>();
CurrenWeather current_weather = new CurrenWeather();
current_weather.setTemp(temp);
current_weather.setTemp_unit(tempUnit);
currents.add(current_weather);
weather.setCurren_weather(currents);
weatherRequestStatus.setWeather(weather);
return weatherRequestStatus;
}
use of com.octo.android.robospice.springandroid.test.model.json.CurrenWeather in project robospice by stephanenicolas.
the class InFileWeatherPersisterTest method buildWeather.
private WeatherResult buildWeather(String temp, String tempUnit) {
WeatherResult weatherRequestStatus = new WeatherResult();
Weather weather = new Weather();
List<CurrenWeather> currents = new ArrayList<CurrenWeather>();
CurrenWeather current_weather = new CurrenWeather();
current_weather.setTemp(temp);
current_weather.setTemp_unit(tempUnit);
currents.add(current_weather);
weather.setCurren_weather(currents);
weatherRequestStatus.setWeather(weather);
return weatherRequestStatus;
}
Aggregations