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.Effect.GovernorMutation qualified as GovernorMutation
|
||||
import Spec.Effect.TreasuryWithdrawal qualified as TreasuryWithdrawal
|
||||
import Spec.Governor qualified as Governor
|
||||
import Spec.Model.MultiSig qualified as MultiSig
|
||||
|
|
@ -26,6 +27,9 @@ main =
|
|||
[ testGroup
|
||||
"Treasury Withdrawal Effect"
|
||||
TreasuryWithdrawal.tests
|
||||
, testGroup
|
||||
"Governor Mutation Effect"
|
||||
GovernorMutation.tests
|
||||
]
|
||||
, testGroup
|
||||
"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
|
||||
build-depends: agora-testlib
|
||||
exposed-modules:
|
||||
Sample.Effect.GovernorMutation
|
||||
Sample.Effect.TreasuryWithdrawal
|
||||
Sample.Governor
|
||||
Sample.Proposal
|
||||
|
|
@ -183,6 +184,7 @@ test-suite agora-test
|
|||
hs-source-dirs: agora-test
|
||||
other-modules:
|
||||
Spec.AuthorityToken
|
||||
Spec.Effect.GovernorMutation
|
||||
Spec.Effect.TreasuryWithdrawal
|
||||
Spec.Governor
|
||||
Spec.Model.MultiSig
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue