mirror of
https://github.com/planetmint/planetmint-go.git
synced 2025-11-24 06:25:47 +00:00
* initial refactoring commit * added config passing to network creation for some test suits * fixed refactoring issues * adjusted params Signed-off-by: Jürgen Eckel <juergen@riddleandcode.com>
35 lines
776 B
Go
35 lines
776 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.DefaultConfig()
|
|
suite.Run(t, NewE2ETestSuite(cfg))
|
|
}
|
|
|
|
func TestPopE2ETestSuite(t *testing.T) {
|
|
cfg := network.DefaultConfig()
|
|
suite.Run(t, NewPopSelectionE2ETestSuite(cfg))
|
|
}
|
|
|
|
func TestGasConsumptionE2ETestSuite(t *testing.T) {
|
|
cfg := network.DefaultConfig()
|
|
suite.Run(t, NewGasConsumptionE2ETestSuite(cfg))
|
|
}
|
|
|
|
func TestRestrictedMsgsE2ETestSuite(t *testing.T) {
|
|
cfg := network.DefaultConfig()
|
|
suite.Run(t, NewRestrictedMsgsE2ESuite(cfg))
|
|
}
|
|
|
|
func TestAssetDistributionE2ETestSuite(t *testing.T) {
|
|
cfg := network.DefaultConfig()
|
|
suite.Run(t, NewAssetDistributionE2ETestSuite(cfg))
|
|
}
|