Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
185 0 0 0 100% 24.893

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
civitas.common.ballotdesign 25 0 0 0 100% 0.424
civitas.common.electionresults 2 0 0 0 100% 0.045
civitas.result 1 0 0 0 100% 0.019
civitas.functionaltests 9 0 0 0 100% 16.183
civitas.common.mix.capabilityelementrevelation 7 0 0 0 100% 0.026
civitas.common.tallystate 9 0 0 0 100% 0.01
civitas.util 1 0 0 0 100% 0.016
civitas.common.util 1 0 0 0 100% 0.001
civitas.common.votercapabilitysharesandproofs 12 0 0 0 100% 0.257
civitas.common.mix.votemix 16 0 0 0 100% 0.134
civitas.common.verifiablevote 4 0 0 0 100% 0.084
civitas.bboard.common 2 0 0 0 100% 0.039
civitas.common 2 0 0 0 100% 0.006
civitas.common.mix.capabilitymix 11 0 0 0 100% 0.083
civitas.common.election 15 0 0 0 100% 0.217
civitas.common.tabteller 1 0 0 0 100% 0.006
civitas.common.capabilityencryption 2 0 0 0 100% 0.05
civitas.bboard.server 1 0 0 0 100% 3.893
civitas.common.mix.voteelementrevelation 11 0 0 0 100% 0.053
civitas.common.ballot 7 0 0 0 100% 0.007
civitas.common.board 4 0 0 0 100% 0.005
civitas.bboard.server.controllers 11 0 0 0 100% 2.665
civitas.common.tabteller.voterblockcontents 1 0 0 0 100% 0.001
civitas.common.votersubmission 10 0 0 0 100% 0.142
civitas.common.mix.elementrevelation 7 0 0 0 100% 0.32
civitas.common.electoralroll 1 0 0 0 100% 0.006
civitas.common.encryptedchoice 1 0 0 0 100% 0.086
civitas.common.mix.revelation 11 0 0 0 100% 0.115

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

civitas.common.ballotdesign

Class Tests Errors Failures Skipped Success Rate Time
CheckBallotAgainstBallotDesignTest 4 0 0 0 100% 0.073
CalculatePositionInBallotTest 1 0 0 0 100% 0.001
GetIndexOfCandidateTest 3 0 0 0 100% 0.005
TallyVoteTest 8 0 0 0 100% 0.111
CreateBallotDesignTest 1 0 0 0 100% 0.002
GetNthContextTest 2 0 0 0 100% 0.003
ListContextsNeededTest 1 0 0 0 100% 0.004
CalculateBallotLengthTest 1 0 0 0 100% 0.002
DecomposeBallotTest 4 0 0 0 100% 0.223

civitas.common.electionresults

Class Tests Errors Failures Skipped Success Rate Time
GetComputerForTellerTest 1 0 0 0 100% 0.001
GetMetaForTellerTest 1 0 0 0 100% 0.044

civitas.result

Class Tests Errors Failures Skipped Success Rate Time
ComputeWinnersFunctionalTest 1 0 0 0 100% 0.019

civitas.functionaltests

Class Tests Errors Failures Skipped Success Rate Time
CreatePermutationFunctionalTest 1 0 0 0 100% 0.72
GenerateRandomIntFunctionalTest 2 0 0 0 100% 0.411
GenerateSchnorrPrimeFunctionalTest 1 0 0 0 100% 14.089
CryptoFactoryFunctionalTest 4 0 0 0 100% 0.053
GenerateSafePrimeFunctionalTest 1 0 0 0 100% 0.91

civitas.common.mix.capabilityelementrevelation

Class Tests Errors Failures Skipped Success Rate Time
VerifyMixCapabilityElementRevelationTest 7 0 0 0 100% 0.026

civitas.common.tallystate

Class Tests Errors Failures Skipped Success Rate Time
RecordBeatTest 6 0 0 0 100% 0.006
CreateTallyStateTest 3 0 0 0 100% 0.004

civitas.util

Class Tests Errors Failures Skipped Success Rate Time
ObtainProbablePrimeFunctionalTest 1 0 0 0 100% 0.016

civitas.common.util

Class Tests Errors Failures Skipped Success Rate Time
CurrentVersionTest 1 0 0 0 100% 0.001

civitas.common.votercapabilitysharesandproofs

Class Tests Errors Failures Skipped Success Rate Time
VerifyVoterCapabilitySharesAndProofTest 12 0 0 0 100% 0.257

civitas.common.mix.votemix

Class Tests Errors Failures Skipped Success Rate Time
AddVoteAndCommitmentToVoteMixTest 4 0 0 0 100% 0.08
GetReencryptedVoteFromMixTest 6 0 0 0 100% 0.028
AddVoteToVoteMixTest 3 0 0 0 100% 0.022
GetVoteMixMetaTest 3 0 0 0 100% 0.004

civitas.common.verifiablevote

Class Tests Errors Failures Skipped Success Rate Time
VerifyVerifiableVoteTest 4 0 0 0 100% 0.084

civitas.bboard.common

Class Tests Errors Failures Skipped Success Rate Time
VerifyBBPostTest 2 0 0 0 100% 0.039

civitas.common

Class Tests Errors Failures Skipped Success Rate Time
GetElectionAbandonmentReporterTest 2 0 0 0 100% 0.006

civitas.common.mix.capabilitymix

Class Tests Errors Failures Skipped Success Rate Time
AddCommitmentToMixTest 1 0 0 0 100% 0.006
GetMetaForMixHashRevelationTest 2 0 0 0 100% 0.042
GetMixConfirmationMetaTest 2 0 0 0 100% 0.003
AddEncryptedCapabilityTest 2 0 0 0 100% 0.016
GetCapabilityMixMetaTest 3 0 0 0 100% 0.009
GetReencryptedCapabilityMixTest 1 0 0 0 100% 0.007

civitas.common.election

Class Tests Errors Failures Skipped Success Rate Time
GetVoterBlockForBlockTest 1 0 0 0 100% 0.002
IsVoterSubmissionInBlockTest 11 0 0 0 100% 0.208
GetContextForBlockTest 1 0 0 0 100% 0.003
GetBaseContextTest 1 0 0 0 100% 0.001
GetBlockNameTest 1 0 0 0 100% 0.003

civitas.common.tabteller

Class Tests Errors Failures Skipped Success Rate Time
ConstructTabTellerKeyShareCommitmentTest 1 0 0 0 100% 0.006

civitas.common.capabilityencryption

Class Tests Errors Failures Skipped Success Rate Time
EncryptCapabilityTest 2 0 0 0 100% 0.05

civitas.bboard.server

Class Tests Errors Failures Skipped Success Rate Time
EndToEndTest 1 0 0 0 100% 3.893

civitas.common.mix.voteelementrevelation

Class Tests Errors Failures Skipped Success Rate Time
VerifyMixVoteElementRevelationTest 11 0 0 0 100% 0.053

civitas.common.ballot

Class Tests Errors Failures Skipped Success Rate Time
RecordOnePairInBallotTest 5 0 0 0 100% 0.005
CreateEmptyBallotTest 2 0 0 0 100% 0.002

civitas.common.board

Class Tests Errors Failures Skipped Success Rate Time
GetContentCommitmentForBoardTest 4 0 0 0 100% 0.005

civitas.bboard.server.controllers

Class Tests Errors Failures Skipped Success Rate Time
CloseBoardControllerTest 7 0 0 0 100% 0.697
PostControllerTest 4 0 0 0 100% 1.968

civitas.common.tabteller.voterblockcontents

Class Tests Errors Failures Skipped Success Rate Time
GetTabTellerVoterBlockContentsMetaTest 1 0 0 0 100% 0.001

civitas.common.votersubmission

Class Tests Errors Failures Skipped Success Rate Time
CreateVoterSubmissionTest 2 0 0 0 100% 0.026
CheckVoterSubmissionTest 8 0 0 0 100% 0.116

civitas.common.mix.elementrevelation

Class Tests Errors Failures Skipped Success Rate Time
VerifyMixElementRevelationTest 7 0 0 0 100% 0.32

civitas.common.electoralroll

Class Tests Errors Failures Skipped Success Rate Time
GetMetaForElectoralRollCapabilitySharesTest 1 0 0 0 100% 0.006

civitas.common.encryptedchoice

Class Tests Errors Failures Skipped Success Rate Time
EncryptChoiceTest 1 0 0 0 100% 0.086

civitas.common.mix.revelation

Class Tests Errors Failures Skipped Success Rate Time
VerifyMixRevelationTest 8 0 0 0 100% 0.11
GetMixRevelationMetaTest 3 0 0 0 100% 0.005

Test Cases

[Summary] [Package List] [Test Cases]

ObtainProbablePrimeFunctionalTest

test 0.011

VerifyVerifiableVoteTest

test_1 0.062
test_2 0.006
test_3 0.006
test 0.005

GetVoterBlockForBlockTest

test 0.001

CheckBallotAgainstBallotDesignTest

test 0.066
test0 0.002
test1 0.002
test3 0.002

RecordBeatTest

test 0
test1 0
test2 0
test3 0
test4 0.001
test5 0.001

RecordOnePairInBallotTest

test 0.001
test2 0.001
test3 0.001
test4 0.001
test5 0.001

GetElectionAbandonmentReporterTest

test 0.001
test1 0

CreatePermutationFunctionalTest

createPermutation 0.715

CloseBoardControllerTest

test 0.61
test2 0.016
test3 0.015
test4 0.012
test5 0.012
test6 0.013
test7 0.012

IsVoterSubmissionInBlockTest

test1_1 0.118
test1_2 0.01
test2_1 0.01
test2_2 0.009
test3_1 0.006
test3_2 0.006
test_1 0.006
test_2 0.009
test 0.006
test1 0.009
test2 0.01

VerifyMixCapabilityElementRevelationTest

test 0.005
test1 0.003
test2 0.002
test3 0.002
test4 0.002
test5 0.004
test6 0.003

GenerateRandomIntFunctionalTest

test 0.007
test2 0.004

AddCommitmentToMixTest

test 0.004

VerifyVoterCapabilitySharesAndProofTest

test10 0.111
test11 0.014
test 0.013
test1 0.014
test2 0.013
test3 0.014
test4 0.013
test5 0.012
test6 0.011
test7 0.011
test8 0.011
test9 0.012

CalculatePositionInBallotTest

test 0.001

CreateVoterSubmissionTest

test 0.009
test1 0.008

GetIndexOfCandidateTest

test 0.001
test1 0.002
test2 0.001

CurrentVersionTest

test 0

CreateTallyStateTest

test 0.001
test1 0.001
test2 0

GetMetaForMixHashRevelationTest

test 0.033
test1 0.002

TallyVoteTest

test1_2 0.04
test2_1 0.012
test2_2 0.008
test_1 0.007
test 0.008
test1 0.008
test2 0.008
test3 0.007

AddVoteAndCommitmentToVoteMixTest

test 0.061
test1 0.007
test2 0.003
test3 0.003

GetContextForBlockTest

test 0.001

GetMixConfirmationMetaTest

test 0.002
test1 0.001

VerifyMixVoteElementRevelationTest

test10 0.004
test 0.004
test1 0.003
test2 0.004
test3 0.004
test4 0.004
test5 0.004
test6 0.004
test7 0.004
test8 0.005
test9 0.004

CreateEmptyBallotTest

test 0.001
test2 0.001

GetReencryptedVoteFromMixTest

test 0.004
test1 0.004
test2 0.004
test3 0.004
test4 0.004
test5 0.004

VerifyMixRevelationTest

test 0.041
test1 0.009
test2 0.009
test3 0.008
test4 0.009
test5 0.009
test6 0.008
test7 0.008

EncryptChoiceTest

test 0.076

ConstructTabTellerKeyShareCommitmentTest

test 0.005

AddVoteToVoteMixTest

test 0.005
test1 0.005
test2 0.005

CreateBallotDesignTest

test 0.001

GetNthContextTest

test 0.001
test1 0.001

GetBaseContextTest

test 0.001

GenerateSchnorrPrimeFunctionalTest

schnorrPrimeTest 14.082

ListContextsNeededTest

test 0.004

AddEncryptedCapabilityTest

test 0.005
test1 0.005

CheckVoterSubmissionTest

test1_1 0.047
test4_1 0.01
test 0.01
test1 0.006
test2 0.008
test3 0.008
test4 0.007
test5 0.009

CalculateBallotLengthTest

test 0

ComputeWinnersFunctionalTest

test 0.015

GetCapabilityMixMetaTest

test_1 0.004
test 0.001
test1 0.001

GetBlockNameTest

test 0.002

GetMixRevelationMetaTest

test 0.001
test1 0.001
test2 0.001

GetComputerForTellerTest

test 0

EncryptCapabilityTest

test 0.014
test4 0.025

CryptoFactoryFunctionalTest

sharedKeyGenerator1 0.007
publicKeyGeneratorTest 0.029
sharedKeyGenerator 0.005
publicKeyGeneratorTest1 0.004

EndToEndTest

testPost 0.796

VerifyBBPostTest

test 0.021
test1 0.011

GetMetaForElectoralRollCapabilitySharesTest

test 0.003

GetMetaForTellerTest

test 0.043

DecomposeBallotTest

test 0.146
test1 0.015
test2 0.016
test3 0.026

GetReencryptedCapabilityMixTest

test 0.004

GetVoteMixMetaTest

test 0.001
test1 0.001
test2 0.001

GenerateSafePrimeFunctionalTest

safePrimeTestReal 0.906

VerifyMixElementRevelationTest

test 0.176
test1 0.079
test2 0.016
test3 0.008
test4 0.008
test5 0.008
test6 0.008

GetTabTellerVoterBlockContentsMetaTest

test 0.001

GetContentCommitmentForBoardTest

test 0.001
test1 0.002
test2 0.001
test3 0.001

PostControllerTest

test 1.83
test1 0.036
test2 0.032
test3 0.029