Class TheGuardianRepositoryTest
- java.lang.Object
-
- it.unipd.dei.eis.domain.repositories.TheGuardianRepositoryTest
-
public class TheGuardianRepositoryTest extends Object
Test the theguardian repository.
-
-
Field Summary
Fields Modifier and Type Field Description private ContextcontextThe context to use.private TheGuardianRepositoryrepositoryThe repository to test.
-
Constructor Summary
Constructors Constructor Description TheGuardianRepositoryTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidadaptEntity()Test the adaptEntity method.(package private) voidadaptModel()Test the adaptModel method.(package private) voidpull()Test the pullData method.(package private) voidpushData()Test the pushData method.
-
-
-
Field Detail
-
repository
private final TheGuardianRepository repository
The repository to test.
-
context
private final Context context
The context to use.
-
-
Method Detail
-
pull
@Test void pull() throws Exception
Test the pullData method.- Throws:
Exception- if an error occurs
-
pushData
@Test void pushData()
Test the pushData method.
-
adaptModel
@Test void adaptModel()
Test the adaptModel method.
-
adaptEntity
@Test void adaptEntity()
Test the adaptEntity method.
-
-