-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #479 from OpenSRP/tt-09-2020
Add unit tests
- Loading branch information
Showing
2 changed files
with
112 additions
and
19 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
21 changes: 21 additions & 0 deletions
21
android-json-form-wizard/src/test/java/com/vijay/jsonwizard/shadow/ShadowUtils.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,21 @@ | ||
package com.vijay.jsonwizard.shadow; | ||
|
||
import com.vijay.jsonwizard.event.BaseEvent; | ||
import com.vijay.jsonwizard.utils.Utils; | ||
|
||
import org.robolectric.annotation.Implementation; | ||
import org.robolectric.annotation.Implements; | ||
import org.robolectric.shadow.api.Shadow; | ||
|
||
/** | ||
* Created by Vincent Karuri on 08/09/2020 | ||
*/ | ||
|
||
@Implements(Utils.class) | ||
public class ShadowUtils extends Shadow { | ||
|
||
@Implementation | ||
public static void postEvent(BaseEvent event) { | ||
// do nothing | ||
} | ||
} |