-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix conflicts * update spring version * update atomfeed dependency update server core dependency
- Loading branch information
Showing
17 changed files
with
177 additions
and
96 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
src/test/java/org/opensrp/connector/atomfeed/AllFailedEventsInMemoryImplTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
package org.opensrp.connector.atomfeed; | ||
|
||
import org.apache.commons.lang3.NotImplementedException; | ||
import org.junit.Before; | ||
import org.junit.Test; | ||
|
||
public class AllFailedEventsInMemoryImplTest { | ||
|
||
private AllFailedEventsInMemoryImpl allFailedEventsInMemory; | ||
|
||
@Before | ||
public void setUp() { | ||
allFailedEventsInMemory = new AllFailedEventsInMemoryImpl(); | ||
} | ||
|
||
@Test(expected = NotImplementedException.class) | ||
public void testGetFailedEventRetryLogsShouldReturnNotImplementedException() { | ||
allFailedEventsInMemory.getFailedEventRetryLogs("id"); | ||
} | ||
|
||
@Test(expected = NotImplementedException.class) | ||
public void testGetFailedEventsShouldReturnNotImplementedException() { | ||
allFailedEventsInMemory.getFailedEvents("id"); | ||
} | ||
|
||
@Test(expected = NotImplementedException.class) | ||
public void testGetByEventIdShouldReturnNotImplementedException() { | ||
allFailedEventsInMemory.getByEventId("id"); | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
src/test/java/org/opensrp/connector/atomfeed/AllMarkersInMemoryImplTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
package org.opensrp.connector.atomfeed; | ||
|
||
import org.apache.commons.lang3.NotImplementedException; | ||
import org.junit.Before; | ||
import org.junit.Test; | ||
|
||
public class AllMarkersInMemoryImplTest { | ||
|
||
private AllMarkersInMemoryImpl allMarkersInMemory; | ||
|
||
@Before | ||
public void setup(){ | ||
allMarkersInMemory = new AllMarkersInMemoryImpl(); | ||
} | ||
|
||
@Test(expected = NotImplementedException.class) | ||
public void testGetMarkerListShouldReturnNotImplementedException() { | ||
allMarkersInMemory.getMarkerList(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.