Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SRCT
whats-open-android
Commits
a79578de
Commit
a79578de
authored
Jan 24, 2017
by
Robert Hitt
Browse files
Fixed unit tests for NotificationPresenter
parent
cc731016
Pipeline
#787
failed with stages
in 4 minutes and 29 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
app/src/test/java/srct/whatsopen/NotificationPresenterUnitTest.java
View file @
a79578de
...
...
@@ -6,6 +6,7 @@ import org.junit.Test;
import
java.util.Calendar
;
import
java.util.HashSet
;
import
java.util.Set
;
import
java.util.TimeZone
;
import
srct.whatsopen.model.NotificationSettings
;
import
srct.whatsopen.presenters.NotificationPresenter
;
...
...
@@ -41,6 +42,7 @@ public class NotificationPresenterUnitTest {
@Test
public
void
testParseTimeStringToMs
()
{
now
.
setTimeZone
(
TimeZone
.
getTimeZone
(
"EST"
));
Long
timeInMs
=
mPresenter
.
parseTimeStringToMs
(
"14:00:00"
,
3
,
now
);
assertEquals
(
1484074800000L
,
timeInMs
.
longValue
());
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment