-
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.
- Loading branch information
Showing
9 changed files
with
395 additions
and
22 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -82,12 +82,19 @@ public class KeyResultTestHelpers { | |
.withUsername("bkaufmann").withEmail("[email protected]").build(); | ||
public static final Objective objective = Objective.Builder.builder().withId(5L).withTitle("Objective 1") | ||
.withArchived(false).build(); | ||
public static final Objective archivedObjective = Objective.Builder.builder().withId(12L).withTitle("Objective 12") | ||
.withArchived(true).build(); | ||
|
||
public static final KeyResult metricKeyResult = KeyResultMetric.Builder.builder().withId(5L).withTitle(TITLE) | ||
.withObjective(objective).build(); | ||
public static final KeyResult archivedKeyResult = KeyResultMetric.Builder.builder().withId(1L).withTitle(TITLE) | ||
.withObjective(archivedObjective).build(); | ||
public static final CheckIn checkIn1 = CheckInMetric.Builder.builder().withValue(23D).withId(1L) | ||
.withKeyResult(metricKeyResult).withCreatedBy(user).withCreatedOn(LocalDateTime.MAX) | ||
.withChangeInfo(CHANGE_INFO_1).withInitiatives(INITIATIVES_1).build(); | ||
public static final CheckIn archivedCheckin = CheckInMetric.Builder.builder().withValue(23D).withId(13L) | ||
.withKeyResult(archivedKeyResult).withCreatedBy(user).withCreatedOn(LocalDateTime.MAX) | ||
.withChangeInfo(CHANGE_INFO_1).withInitiatives(INITIATIVES_1).build(); | ||
public static final CheckIn checkIn2 = CheckInMetric.Builder.builder().withValue(12D).withId(4L) | ||
.withKeyResult(metricKeyResult).withCreatedBy(user).withCreatedOn(LocalDateTime.MAX) | ||
.withChangeInfo(CHANGE_INFO_2).withInitiatives(INITIATIVES_2).build(); | ||
|
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.