Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.481
civitas.common.electionresults 2 0 0 0 100% 0.034
civitas.result 1 0 0 0 100% 0.017
civitas.functionaltests 9 0 0 0 100% 41.224
civitas.common.mix.capabilityelementrevelation 7 0 0 0 100% 0.031
civitas.common.tallystate 9 0 0 0 100% 0.008
civitas.util 1 0 0 0 100% 0.011
civitas.common.util 1 0 0 0 100% 0.001
civitas.common.votercapabilitysharesandproofs 12 0 0 0 100% 0.245
civitas.common.mix.votemix 16 0 0 0 100% 0.152
civitas.common.verifiablevote 4 0 0 0 100% 0.09
civitas.bboard.common 2 0 0 0 100% 0.042
civitas.common 2 0 0 0 100% 0.005
civitas.common.mix.capabilitymix 11 0 0 0 100% 0.072
civitas.common.election 15 0 0 0 100% 0.227
civitas.common.tabteller 1 0 0 0 100% 0.006
civitas.common.capabilityencryption 2 0 0 0 100% 0.034
civitas.bboard.server 1 0 0 0 100% 4.158
civitas.common.mix.voteelementrevelation 11 0 0 0 100% 0.086
civitas.common.ballot 7 0 0 0 100% 0.009
civitas.common.board 4 0 0 0 100% 0.006
civitas.bboard.server.controllers 11 0 0 0 100% 2.553
civitas.common.tabteller.voterblockcontents 1 0 0 0 100% 0.001
civitas.common.votersubmission 10 0 0 0 100% 0.14
civitas.common.mix.elementrevelation 7 0 0 0 100% 0.301
civitas.common.electoralroll 1 0 0 0 100% 0.006
civitas.common.encryptedchoice 1 0 0 0 100% 0.065
civitas.common.mix.revelation 11 0 0 0 100% 0.142

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.078
CalculatePositionInBallotTest 1 0 0 0 100% 0.002
GetIndexOfCandidateTest 3 0 0 0 100% 0.003
TallyVoteTest 8 0 0 0 100% 0.164
CreateBallotDesignTest 1 0 0 0 100% 0.001
GetNthContextTest 2 0 0 0 100% 0.003
ListContextsNeededTest 1 0 0 0 100% 0.004
CalculateBallotLengthTest 1 0 0 0 100% 0.001
DecomposeBallotTest 4 0 0 0 100% 0.225

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.033

civitas.result

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

civitas.functionaltests

Class Tests Errors Failures Skipped Success Rate Time
CreatePermutationFunctionalTest 1 0 0 0 100% 0.711
GenerateRandomIntFunctionalTest 2 0 0 0 100% 0.401
GenerateSchnorrPrimeFunctionalTest 1 0 0 0 100% 38.889
CryptoFactoryFunctionalTest 4 0 0 0 100% 0.104
GenerateSafePrimeFunctionalTest 1 0 0 0 100% 1.119

civitas.common.mix.capabilityelementrevelation

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

civitas.common.tallystate

Class Tests Errors Failures Skipped Success Rate Time
RecordBeatTest 6 0 0 0 100% 0.005
CreateTallyStateTest 3 0 0 0 100% 0.003

civitas.util

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

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.245

civitas.common.mix.votemix

Class Tests Errors Failures Skipped Success Rate Time
AddVoteAndCommitmentToVoteMixTest 4 0 0 0 100% 0.091
GetReencryptedVoteFromMixTest 6 0 0 0 100% 0.032
AddVoteToVoteMixTest 3 0 0 0 100% 0.022
GetVoteMixMetaTest 3 0 0 0 100% 0.007

civitas.common.verifiablevote

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

civitas.bboard.common

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

civitas.common

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

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.04
GetMixConfirmationMetaTest 2 0 0 0 100% 0.003
AddEncryptedCapabilityTest 2 0 0 0 100% 0.01
GetCapabilityMixMetaTest 3 0 0 0 100% 0.008
GetReencryptedCapabilityMixTest 1 0 0 0 100% 0.005

civitas.common.election

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

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.034

civitas.bboard.server

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

civitas.common.mix.voteelementrevelation

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

civitas.common.ballot

Class Tests Errors Failures Skipped Success Rate Time
RecordOnePairInBallotTest 5 0 0 0 100% 0.006
CreateEmptyBallotTest 2 0 0 0 100% 0.003

civitas.common.board

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

civitas.bboard.server.controllers

Class Tests Errors Failures Skipped Success Rate Time
CloseBoardControllerTest 7 0 0 0 100% 0.659
PostControllerTest 4 0 0 0 100% 1.894

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.022
CheckVoterSubmissionTest 8 0 0 0 100% 0.118

civitas.common.mix.elementrevelation

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

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.065

civitas.common.mix.revelation

Class Tests Errors Failures Skipped Success Rate Time
VerifyMixRevelationTest 8 0 0 0 100% 0.134
GetMixRevelationMetaTest 3 0 0 0 100% 0.008

Test Cases

[Summary] [Package List] [Test Cases]

ObtainProbablePrimeFunctionalTest

test 0.007

VerifyVerifiableVoteTest

test_1 0.065
test_2 0.005
test_3 0.008
test 0.005

GetVoterBlockForBlockTest

test 0.001

CheckBallotAgainstBallotDesignTest

test 0.07
test0 0.002
test1 0.002
test3 0.002

RecordBeatTest

test 0
test1 0.001
test2 0.001
test3 0.001
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.002
test1 0.001

CreatePermutationFunctionalTest

createPermutation 0.705

CloseBoardControllerTest

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

IsVoterSubmissionInBlockTest

test1_1 0.128
test1_2 0.008
test2_1 0.007
test2_2 0.007
test3_1 0.013
test3_2 0.007
test_1 0.007
test_2 0.009
test 0.007
test1 0.007
test2 0.007

VerifyMixCapabilityElementRevelationTest

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

GenerateRandomIntFunctionalTest

test 0.006
test2 0.004

AddCommitmentToMixTest

test 0.003

VerifyVoterCapabilitySharesAndProofTest

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

CalculatePositionInBallotTest

test 0

CreateVoterSubmissionTest

test 0.006
test1 0.009

GetIndexOfCandidateTest

test 0.001
test1 0.001
test2 0.001

CurrentVersionTest

test 0

CreateTallyStateTest

test 0.001
test1 0.001
test2 0.001

GetMetaForMixHashRevelationTest

test 0.035
test1 0.002

TallyVoteTest

test1_2 0.053
test2_1 0.014
test2_2 0.017
test_1 0.014
test 0.013
test1 0.013
test2 0.012
test3 0.013

AddVoteAndCommitmentToVoteMixTest

test 0.065
test1 0.007
test2 0.006
test3 0.006

GetContextForBlockTest

test 0.002

GetMixConfirmationMetaTest

test 0.001
test1 0.001

VerifyMixVoteElementRevelationTest

test10 0.007
test 0.008
test1 0.006
test2 0.007
test3 0.007
test4 0.007
test5 0.007
test6 0.007
test7 0.006
test8 0.007
test9 0.006

CreateEmptyBallotTest

test 0
test2 0.001

GetReencryptedVoteFromMixTest

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

VerifyMixRevelationTest

test 0.039
test1 0.009
test2 0.009
test3 0.016
test4 0.012
test5 0.009
test6 0.01
test7 0.01

EncryptChoiceTest

test 0.06

ConstructTabTellerKeyShareCommitmentTest

test 0.005

AddVoteToVoteMixTest

test 0.005
test1 0.005
test2 0.006

CreateBallotDesignTest

test 0.001

GetNthContextTest

test 0.001
test1 0.001

GetBaseContextTest

test 0.002

GenerateSchnorrPrimeFunctionalTest

schnorrPrimeTest 38.884

ListContextsNeededTest

test 0.003

AddEncryptedCapabilityTest

test 0.003
test1 0.003

CheckVoterSubmissionTest

test1_1 0.044
test4_1 0.009
test 0.009
test1 0.01
test2 0.009
test3 0.01
test4 0.009
test5 0.008

CalculateBallotLengthTest

test 0

ComputeWinnersFunctionalTest

test 0.012

GetCapabilityMixMetaTest

test_1 0.003
test 0.002
test1 0.002

GetBlockNameTest

test 0.003

GetMixRevelationMetaTest

test 0.004
test1 0.001
test2 0.002

GetComputerForTellerTest

test 0.001

EncryptCapabilityTest

test 0.015
test4 0.011

CryptoFactoryFunctionalTest

sharedKeyGenerator1 0.006
publicKeyGeneratorTest 0.07
sharedKeyGenerator 0.013
publicKeyGeneratorTest1 0.005

EndToEndTest

testPost 0.867

VerifyBBPostTest

test 0.016
test1 0.013

GetMetaForElectoralRollCapabilitySharesTest

test 0.002

GetMetaForTellerTest

test 0.032

DecomposeBallotTest

test 0.149
test1 0.02
test2 0.019
test3 0.019

GetReencryptedCapabilityMixTest

test 0.003

GetVoteMixMetaTest

test 0.002
test1 0.001
test2 0.002

GenerateSafePrimeFunctionalTest

safePrimeTestReal 1.107

VerifyMixElementRevelationTest

test 0.173
test1 0.077
test2 0.016
test3 0.006
test4 0.005
test5 0.006
test6 0.007

GetTabTellerVoterBlockContentsMetaTest

test 0.001

GetContentCommitmentForBoardTest

test 0.001
test1 0.001
test2 0.001
test3 0.001

PostControllerTest

test 1.768
test1 0.035
test2 0.031
test3 0.023