cosmos-sdk/cmd/gaia/simulation/sim_test.go

22 lines
498 B
Go
Raw Normal View History

2018-07-11 15:14:37 -07:00
package simulation
import (
"testing"
"github.com/stretchr/testify/require"
2018-07-12 13:01:43 -07:00
dbm "github.com/tendermint/tendermint/libs/db"
"github.com/tendermint/tendermint/libs/log"
gaia "github.com/cosmos/cosmos-sdk/cmd/gaia/app"
// stakesim "github.com/cosmos/cosmos-sdk/x/stake/simulation"
2018-07-11 15:14:37 -07:00
)
func TestFullGaiaSimulation(t *testing.T) {
2018-07-12 13:01:43 -07:00
// Setup Gaia application
logger := log.NewNopLogger()
db := dbm.NewMemDB()
2018-07-16 17:41:36 -07:00
app := gaia.NewGaiaApp(logger, db, nil)
2018-07-12 13:01:43 -07:00
require.Equal(t, "GaiaApp", app.Name())
2018-07-11 15:14:37 -07:00
}