1
|
|
package org.cardanofoundation.explorer.api.model.request.governanceAction; |
2
|
|
|
3
|
|
import java.time.LocalDateTime; |
4
|
|
|
5
|
|
import lombok.AllArgsConstructor; |
6
|
|
import lombok.Getter; |
7
|
|
import lombok.NoArgsConstructor; |
8
|
|
import lombok.Setter; |
9
|
|
import lombok.experimental.SuperBuilder; |
10
|
|
|
11
|
|
import org.springframework.format.annotation.DateTimeFormat; |
12
|
|
|
13
|
|
import org.cardanofoundation.explorer.common.entity.enumeration.GovActionStatus; |
14
|
|
import org.cardanofoundation.explorer.common.entity.enumeration.GovActionType; |
15
|
|
import org.cardanofoundation.explorer.common.entity.enumeration.Vote; |
16
|
|
import org.cardanofoundation.explorer.common.entity.enumeration.VoterType; |
17
|
|
|
18
|
|
@Getter |
19
|
|
@Setter |
20
|
|
@NoArgsConstructor |
21
|
|
@AllArgsConstructor |
22
|
13
1. governanceActionTxHash : replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter$GovernanceActionFilterBuilder::governanceActionTxHash → NO_COVERAGE
2. toString : replaced return value with "" for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter$GovernanceActionFilterBuilder::toString → NO_COVERAGE
3. toDate : replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter$GovernanceActionFilterBuilder::toDate → NO_COVERAGE
4. isRepeatVote : replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter$GovernanceActionFilterBuilder::isRepeatVote → NO_COVERAGE
5. anchorText : replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter$GovernanceActionFilterBuilder::anchorText → NO_COVERAGE
6. fromDate : replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter$GovernanceActionFilterBuilder::fromDate → NO_COVERAGE
7. voteType : replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter$GovernanceActionFilterBuilder::voteType → KILLED
8. self : replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter$GovernanceActionFilterBuilderImpl::self → KILLED
9. builder : replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter::builder → KILLED
10. actionType : replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter$GovernanceActionFilterBuilder::actionType → KILLED
11. actionStatus : replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter$GovernanceActionFilterBuilder::actionStatus → KILLED
12. build : replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter$GovernanceActionFilterBuilderImpl::build → KILLED
13. voterType : replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter$GovernanceActionFilterBuilder::voterType → KILLED
|
@SuperBuilder |
23
|
|
public class GovernanceActionFilter { |
24
|
|
|
25
|
2
1. getIsRepeatVote : replaced Boolean return with False for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter::getIsRepeatVote → SURVIVED
2. getIsRepeatVote : replaced Boolean return with True for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter::getIsRepeatVote → SURVIVED
|
Boolean isRepeatVote; |
26
|
1
1. getGovernanceActionTxHash : replaced return value with "" for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter::getGovernanceActionTxHash → SURVIVED
|
String governanceActionTxHash; |
27
|
1
1. getAnchorText : replaced return value with "" for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter::getAnchorText → SURVIVED
|
String anchorText; |
28
|
1
1. getActionType : replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter::getActionType → KILLED
|
GovActionType actionType; |
29
|
1
1. getActionStatus : replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter::getActionStatus → SURVIVED
|
GovActionStatus actionStatus; |
30
|
1
1. getVoteType : replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter::getVoteType → SURVIVED
|
Vote voteType; |
31
|
1
1. getVoterType : replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter::getVoterType → KILLED
|
VoterType voterType; |
32
|
|
|
33
|
|
@DateTimeFormat(pattern = "yyyy/MM/dd HH:mm:ss") |
34
|
1
1. getFromDate : replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter::getFromDate → SURVIVED
|
private LocalDateTime fromDate; |
35
|
|
|
36
|
|
@DateTimeFormat(pattern = "yyyy/MM/dd HH:mm:ss") |
37
|
1
1. getToDate : replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter::getToDate → SURVIVED
|
private LocalDateTime toDate; |
38
|
|
} |
| | Mutations |
22 |
|
1.1 Location : voteType Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetGovActionByFilter()] replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter$GovernanceActionFilterBuilder::voteType → KILLED 2.2 Location : self Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetGovActionByFilter()] replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter$GovernanceActionFilterBuilderImpl::self → KILLED 3.3 Location : governanceActionTxHash Killed by : none replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter$GovernanceActionFilterBuilder::governanceActionTxHash → NO_COVERAGE 4.4 Location : toString Killed by : none replaced return value with "" for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter$GovernanceActionFilterBuilder::toString → NO_COVERAGE 5.5 Location : toDate Killed by : none replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter$GovernanceActionFilterBuilder::toDate → NO_COVERAGE 6.6 Location : builder Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetGovActionByFilter()] replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter::builder → KILLED 7.7 Location : isRepeatVote Killed by : none replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter$GovernanceActionFilterBuilder::isRepeatVote → NO_COVERAGE 8.8 Location : anchorText Killed by : none replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter$GovernanceActionFilterBuilder::anchorText → NO_COVERAGE 9.9 Location : actionType Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetGovActionByFilter()] replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter$GovernanceActionFilterBuilder::actionType → KILLED 10.10 Location : fromDate Killed by : none replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter$GovernanceActionFilterBuilder::fromDate → NO_COVERAGE 11.11 Location : actionStatus Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetGovActionByFilter()] replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter$GovernanceActionFilterBuilder::actionStatus → KILLED 12.12 Location : build Killed by : org.cardanofoundation.explorer.api.service.GovActionServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.GovActionServiceTest]/[method:testGetGovernanceActions()] replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter$GovernanceActionFilterBuilderImpl::build → KILLED 13.13 Location : voterType Killed by : org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.controller.GovernanceActionControllerTest]/[method:testGetGovActionByFilter()] replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter$GovernanceActionFilterBuilder::voterType → KILLED
|
25 |
|
1.1 Location : getIsRepeatVote Killed by : none replaced Boolean return with False for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter::getIsRepeatVote → SURVIVED 2.2 Location : getIsRepeatVote Killed by : none replaced Boolean return with True for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter::getIsRepeatVote → SURVIVED
|
26 |
|
1.1 Location : getGovernanceActionTxHash Killed by : none replaced return value with "" for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter::getGovernanceActionTxHash → SURVIVED
|
27 |
|
1.1 Location : getAnchorText Killed by : none replaced return value with "" for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter::getAnchorText → SURVIVED
|
28 |
|
1.1 Location : getActionType Killed by : org.cardanofoundation.explorer.api.service.GovActionServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.GovActionServiceTest]/[method:testGetGovernanceActions()] replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter::getActionType → KILLED
|
29 |
|
1.1 Location : getActionStatus Killed by : none replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter::getActionStatus → SURVIVED
|
30 |
|
1.1 Location : getVoteType Killed by : none replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter::getVoteType → SURVIVED
|
31 |
|
1.1 Location : getVoterType Killed by : org.cardanofoundation.explorer.api.service.GovActionServiceTest.[engine:junit-jupiter]/[class:org.cardanofoundation.explorer.api.service.GovActionServiceTest]/[method:testGetGovernanceActions()] replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter::getVoterType → KILLED
|
34 |
|
1.1 Location : getFromDate Killed by : none replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter::getFromDate → SURVIVED
|
37 |
|
1.1 Location : getToDate Killed by : none replaced return value with null for org/cardanofoundation/explorer/api/model/request/governanceAction/GovernanceActionFilter::getToDate → SURVIVED
|