pull/321/head
Eugene Kim 6 years ago
parent 0755123ca3
commit fb4792bc9f
  1. 5
      cmd/client/wallet/wallet_test.go
  2. 1
      consensus/consensus_leader.go
  3. 5
      consensus/consensus_leader_test.go
  4. 5
      consensus/consensus_validator_test.go
  5. 3
      crypto/pki/utils_test.go
  6. 3
      node/node_handler_test.go
  7. 3
      test/crypto/bls/main.go

@ -1,14 +1,15 @@
package main
import (
"testing"
"time"
"github.com/golang/mock/gomock"
"github.com/harmony-one/harmony/api/client"
"github.com/harmony-one/harmony/core/types"
"github.com/harmony-one/harmony/node"
"github.com/harmony-one/harmony/p2p"
mock_host "github.com/harmony-one/harmony/p2p/host/mock"
"testing"
"time"
)
func TestCreateWalletNode(test *testing.T) {

@ -11,6 +11,7 @@ import (
"github.com/dedis/kyber/sign/schnorr"
"github.com/ethereum/go-ethereum/rlp"
protobuf "github.com/golang/protobuf/proto"
consensus_proto "github.com/harmony-one/harmony/api/consensus"
"github.com/harmony-one/harmony/api/services/explorer"
"github.com/harmony-one/harmony/core/types"

@ -3,13 +3,14 @@ package consensus
import (
"fmt"
"testing"
"time"
"github.com/golang/mock/gomock"
"github.com/harmony-one/harmony/crypto"
"github.com/harmony-one/harmony/internal/utils"
mock_host "github.com/harmony-one/harmony/p2p/host/mock"
"github.com/stretchr/testify/assert"
"testing"
"time"
"github.com/harmony-one/harmony/p2p/p2pimpl"

@ -2,13 +2,14 @@ package consensus
import (
"encoding/hex"
"testing"
"time"
"github.com/golang/mock/gomock"
"github.com/harmony-one/harmony/core/types"
"github.com/harmony-one/harmony/internal/utils"
mock_host "github.com/harmony-one/harmony/p2p/host/mock"
"github.com/stretchr/testify/assert"
"testing"
"time"
"github.com/harmony-one/harmony/p2p/p2pimpl"

@ -1,10 +1,11 @@
package pki
import (
"github.com/harmony-one/harmony/crypto"
"reflect"
"testing"
"time"
"github.com/harmony-one/harmony/crypto"
)
func TestGetAddressFromPublicKey(test *testing.T) {

@ -1,12 +1,13 @@
package node
import (
"testing"
"github.com/golang/mock/gomock"
"github.com/harmony-one/harmony/consensus"
"github.com/harmony-one/harmony/internal/utils"
"github.com/harmony-one/harmony/p2p"
"github.com/harmony-one/harmony/p2p/p2pimpl"
"testing"
)
func TestNodeStreamHandler(t *testing.T) {

@ -1,9 +1,10 @@
package main
import (
"github.com/harmony-one/bls/ffi/go/bls"
"log"
"time"
"github.com/harmony-one/bls/ffi/go/bls"
)
func main() {

Loading…
Cancel
Save