public void setUp() { super.setUp(); Vector currentVehicleObjects = (Vector) getDbSession().executeQuery(reportQueryVehicles); Vector currentCompanyObjects = (Vector) getDbSession().executeQuery(reportQueryCompanies); if (!currentVehicleObjects.equals(originalVehicleObjects) || !currentCompanyObjects.equals(originalCompanyObjects)) { if (!currentVehicleObjects.isEmpty() || !currentCompanyObjects.isEmpty()) { clearVehiclesCompanies(); } populateVehiclesCompanies(); originalVehicleObjects = (Vector) getDbSession().executeQuery(reportQueryVehicles); originalCompanyObjects = (Vector) getDbSession().executeQuery(reportQueryCompanies); } clearCache(); }
public void setUp() { super.setUp(); clearCache(); }