mirror of
https://gitlab.com/pulsechaincom/go-pulse.git
synced 2024-12-25 12:57:17 +00:00
0743243dce
Disassociates hardcoded tests to skip when running via CLI. Tests still skipped when running `go test`
28 lines
601 B
Go
28 lines
601 B
Go
package tests
|
|
|
|
import (
|
|
"path/filepath"
|
|
"testing"
|
|
)
|
|
|
|
func TestTransactions(t *testing.T) {
|
|
err := RunTransactionTests(filepath.Join(transactionTestDir, "ttTransactionTest.json"), TransSkipTests)
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
}
|
|
|
|
func TestWrongRLPTransactions(t *testing.T) {
|
|
err := RunTransactionTests(filepath.Join(transactionTestDir, "ttWrongRLPTransaction.json"), TransSkipTests)
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
}
|
|
|
|
func Test10MBtx(t *testing.T) {
|
|
err := RunTransactionTests(filepath.Join(transactionTestDir, "tt10mbDataField.json"), TransSkipTests)
|
|
if err != nil {
|
|
t.Fatal(err)
|
|
}
|
|
}
|