static public long insertFakeWeather () { // insert our test records into the database WeatherDbHelper dbHelper = new WeatherDbHelper (); List<WeatherEntry> testWeather = TestUtilities.createWeatherValues (); long weatherRowId = -1; foreach (var weath in testWeather) { weatherRowId = dbHelper.Insert (weath); } return weatherRowId; }
static public long insertNorthPoleLocationValues () { // insert our test records into the database WeatherDbHelper dbHelper = new WeatherDbHelper (); List<LocationEntry> testLocation = TestUtilities.createNorthPoleLocationValues (); long locationRowId = -1; foreach (var loc in testLocation) { locationRowId = dbHelper.Insert (loc); } return locationRowId; }