mirror of https://github.com/ethereum/go-ethereum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.3 KiB
43 lines
1.3 KiB
package tests
|
|
|
|
import (
|
|
"path/filepath"
|
|
"testing"
|
|
)
|
|
|
|
func TestBcValidBlockTests(t *testing.T) {
|
|
runBlockTestsInFile(filepath.Join(blockTestDir, "bcValidBlockTest.json"), []string{"SimpleTx3"})
|
|
}
|
|
|
|
func TestBcUncleTests(t *testing.T) {
|
|
runBlockTestsInFile(filepath.Join(blockTestDir, "bcUncleTest.json"), []string{})
|
|
runBlockTestsInFile(filepath.Join(blockTestDir, "bcBruncleTest.json"), []string{})
|
|
}
|
|
|
|
func TestBcUncleHeaderValidityTests(t *testing.T) {
|
|
runBlockTestsInFile(filepath.Join(blockTestDir, "bcUncleHeaderValiditiy.json"), []string{})
|
|
}
|
|
|
|
func TestBcInvalidHeaderTests(t *testing.T) {
|
|
runBlockTestsInFile(filepath.Join(blockTestDir, "bcInvalidHeaderTest.json"), []string{})
|
|
}
|
|
|
|
func TestBcInvalidRLPTests(t *testing.T) {
|
|
runBlockTestsInFile(filepath.Join(blockTestDir, "bcInvalidRLPTest.json"), []string{})
|
|
}
|
|
|
|
func TestBcRPCAPITests(t *testing.T) {
|
|
runBlockTestsInFile(filepath.Join(blockTestDir, "bcRPC_API_Test.json"), []string{})
|
|
}
|
|
|
|
func TestBcForkBlockTests(t *testing.T) {
|
|
runBlockTestsInFile(filepath.Join(blockTestDir, "bcForkBlockTest.json"), []string{})
|
|
}
|
|
|
|
func TestBcTotalDifficulty(t *testing.T) {
|
|
runBlockTestsInFile(filepath.Join(blockTestDir, "bcTotalDifficultyTest.json"), []string{})
|
|
}
|
|
|
|
func TestBcWallet(t *testing.T) {
|
|
runBlockTestsInFile(filepath.Join(blockTestDir, "bcWalletTest.json"), []string{})
|
|
}
|
|
|