mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-11-24 06:25:47 +00:00
40 lines
921 B
Go
40 lines
921 B
Go
package dao
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/planetmint/planetmint-go/testutil/network"
|
|
|
|
"github.com/stretchr/testify/suite"
|
|
)
|
|
|
|
func TestE2ETestSuite(t *testing.T) {
|
|
cfg := network.LoaderDefaultConfig()
|
|
cfg.NumValidators = 3
|
|
suite.Run(t, NewE2ETestSuite(cfg))
|
|
}
|
|
|
|
func TestPopE2ETestSuite(t *testing.T) {
|
|
cfg := network.LoaderDefaultConfig()
|
|
cfg.NumValidators = 3
|
|
suite.Run(t, NewPopSelectionE2ETestSuite(cfg))
|
|
}
|
|
|
|
func TestGasConsumptionE2ETestSuite(t *testing.T) {
|
|
cfg := network.LoaderDefaultConfig()
|
|
cfg.NumValidators = 3
|
|
suite.Run(t, NewGasConsumptionE2ETestSuite(cfg))
|
|
}
|
|
|
|
func TestRestrictedMsgsE2ETestSuite(t *testing.T) {
|
|
cfg := network.LoaderDefaultConfig()
|
|
cfg.NumValidators = 3
|
|
suite.Run(t, NewRestrictedMsgsE2ESuite(cfg))
|
|
}
|
|
|
|
func TestAssetDistributionE2ETestSuite(t *testing.T) {
|
|
cfg := network.LoaderDefaultConfig()
|
|
cfg.NumValidators = 3
|
|
suite.Run(t, NewAssetDistributionE2ETestSuite(cfg))
|
|
}
|