timozattol / project-radin

Project Radin is an expense management Android application that was build during EPFL's Software Engineering 2014 course.
2 stars 2 forks source link

Make storageManagers use connectionFactory #162

Closed CedricCook closed 9 years ago

CedricCook commented 9 years ago

To be able to do testing without using the actual server, the storagemanagers have to get their HttpUrlConnection from an object, instead of always using the same. This permits us to use mockito to mock an httpurlconnection, thus returning what we want.