add templates of tests and samples
This commit is contained in:
parent
5eebec544e
commit
30cceb7910
4 changed files with 13 additions and 0 deletions
1
agora-sample/Sample/Effect/GovernorMutation.hs
Normal file
1
agora-sample/Sample/Effect/GovernorMutation.hs
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
module Sample.Effect.GovernorMutation () where
|
||||||
|
|
@ -7,6 +7,7 @@ import Test.Tasty (defaultMain, testGroup)
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
||||||
import Spec.AuthorityToken qualified as AuthorityToken
|
import Spec.AuthorityToken qualified as AuthorityToken
|
||||||
|
import Spec.Effect.GovernorMutation qualified as GovernorMutation
|
||||||
import Spec.Effect.TreasuryWithdrawal qualified as TreasuryWithdrawal
|
import Spec.Effect.TreasuryWithdrawal qualified as TreasuryWithdrawal
|
||||||
import Spec.Governor qualified as Governor
|
import Spec.Governor qualified as Governor
|
||||||
import Spec.Model.MultiSig qualified as MultiSig
|
import Spec.Model.MultiSig qualified as MultiSig
|
||||||
|
|
@ -26,6 +27,9 @@ main =
|
||||||
[ testGroup
|
[ testGroup
|
||||||
"Treasury Withdrawal Effect"
|
"Treasury Withdrawal Effect"
|
||||||
TreasuryWithdrawal.tests
|
TreasuryWithdrawal.tests
|
||||||
|
, testGroup
|
||||||
|
"Governor Mutation Effect"
|
||||||
|
GovernorMutation.tests
|
||||||
]
|
]
|
||||||
, testGroup
|
, testGroup
|
||||||
"Stake tests"
|
"Stake tests"
|
||||||
|
|
|
||||||
6
agora-test/Spec/Effect/GovernorMutation.hs
Normal file
6
agora-test/Spec/Effect/GovernorMutation.hs
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
module Spec.Effect.GovernorMutation (tests) where
|
||||||
|
|
||||||
|
import Test.Tasty (TestTree)
|
||||||
|
|
||||||
|
tests :: [TestTree]
|
||||||
|
tests = []
|
||||||
|
|
@ -167,6 +167,7 @@ library agora-sample
|
||||||
import: lang, deps, test-deps
|
import: lang, deps, test-deps
|
||||||
build-depends: agora-testlib
|
build-depends: agora-testlib
|
||||||
exposed-modules:
|
exposed-modules:
|
||||||
|
Sample.Effect.GovernorMutation
|
||||||
Sample.Effect.TreasuryWithdrawal
|
Sample.Effect.TreasuryWithdrawal
|
||||||
Sample.Governor
|
Sample.Governor
|
||||||
Sample.Proposal
|
Sample.Proposal
|
||||||
|
|
@ -183,6 +184,7 @@ test-suite agora-test
|
||||||
hs-source-dirs: agora-test
|
hs-source-dirs: agora-test
|
||||||
other-modules:
|
other-modules:
|
||||||
Spec.AuthorityToken
|
Spec.AuthorityToken
|
||||||
|
Spec.Effect.GovernorMutation
|
||||||
Spec.Effect.TreasuryWithdrawal
|
Spec.Effect.TreasuryWithdrawal
|
||||||
Spec.Governor
|
Spec.Governor
|
||||||
Spec.Model.MultiSig
|
Spec.Model.MultiSig
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue