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
e774a11c
Commit
e774a11c
authored
Jan 04, 2018
by
Robert Hitt
Browse files
Fixed tests
parent
e0a8c8bc
Pipeline
#1939
passed with stages
in 3 minutes
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
app/src/test/java/srct/whatsopen/FacilityPresenterUnitTest.java
View file @
e774a11c
...
...
@@ -7,6 +7,7 @@ import java.util.Calendar;
import
io.realm.RealmList
;
import
srct.whatsopen.model.Facility
;
import
srct.whatsopen.model.Location
;
import
srct.whatsopen.model.MainSchedule
;
import
srct.whatsopen.model.OpenTimes
;
import
srct.whatsopen.model.Schedule
;
...
...
@@ -33,7 +34,8 @@ public class FacilityPresenterUnitTest {
MainSchedule
mainSchedule
=
new
MainSchedule
(
openTimesList
,
"2017-01-09"
,
"2017-01-15"
);
mFacility
=
new
Facility
(
"Chef's Table at Brooklyn Fare"
,
"Whitetop Hall"
,
Location
location
=
new
Location
(
"Whitetop Hall"
);
mFacility
=
new
Facility
(
"Chef's Table at Brooklyn Fare"
,
location
,
mainSchedule
,
new
RealmList
<>(),
false
,
true
,
""
);
now
=
Calendar
.
getInstance
();
...
...
app/src/test/java/srct/whatsopen/MainPresenterUnitTest.java
View file @
e774a11c
...
...
@@ -7,6 +7,7 @@ import java.util.Calendar;
import
io.realm.RealmList
;
import
srct.whatsopen.model.Facility
;
import
srct.whatsopen.model.Location
;
import
srct.whatsopen.model.MainSchedule
;
import
srct.whatsopen.model.OpenTimes
;
import
srct.whatsopen.model.SpecialSchedule
;
...
...
@@ -41,7 +42,8 @@ public class MainPresenterUnitTest {
specialSchedules
.
add
(
s1
);
specialSchedules
.
add
(
s2
);
mFacility
=
new
Facility
(
"The French Laundry"
,
"Johnson Center"
,
Location
location
=
new
Location
(
"Johnson Center"
);
mFacility
=
new
Facility
(
"The French Laundry"
,
location
,
mainSchedule
,
specialSchedules
,
false
,
true
,
""
);
now
=
Calendar
.
getInstance
();
...
...
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