diff options
author | Taylor Gerring <taylor.gerring@gmail.com> | 2015-06-11 02:38:39 +0800 |
---|---|---|
committer | Taylor Gerring <taylor.gerring@gmail.com> | 2015-06-19 04:15:07 +0800 |
commit | 7c6ef0ddac91564f31ef852fd4ef1e821db17c2e (patch) | |
tree | 252cc0d2c9a2b4c1c69e4555106c8ea0e04fba0e /tests/state_test.go | |
parent | 1b26d4f220689dac18d560a4c1ecb3b29d99deb0 (diff) | |
download | go-tangerine-7c6ef0ddac91564f31ef852fd4ef1e821db17c2e.tar.gz go-tangerine-7c6ef0ddac91564f31ef852fd4ef1e821db17c2e.tar.zst go-tangerine-7c6ef0ddac91564f31ef852fd4ef1e821db17c2e.zip |
Separate and identify tests runners
Diffstat (limited to 'tests/state_test.go')
-rw-r--r-- | tests/state_test.go | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/tests/state_test.go b/tests/state_test.go index fa000ec53..dbef7bd0c 100644 --- a/tests/state_test.go +++ b/tests/state_test.go @@ -10,62 +10,62 @@ var stateTestDir = filepath.Join(baseDir, "StateTests") func TestStateSystemOperations(t *testing.T) { fn := filepath.Join(stateTestDir, "stSystemOperationsTest.json") - RunVmTest(fn, t) + RunStateTest(fn, t) } func TestStateExample(t *testing.T) { fn := filepath.Join(stateTestDir, "stExample.json") - RunVmTest(fn, t) + RunStateTest(fn, t) } func TestStatePreCompiledContracts(t *testing.T) { fn := filepath.Join(stateTestDir, "stPreCompiledContracts.json") - RunVmTest(fn, t) + RunStateTest(fn, t) } func TestStateRecursiveCreate(t *testing.T) { fn := filepath.Join(stateTestDir, "stRecursiveCreate.json") - RunVmTest(fn, t) + RunStateTest(fn, t) } func TestStateSpecial(t *testing.T) { fn := filepath.Join(stateTestDir, "stSpecialTest.json") - RunVmTest(fn, t) + RunStateTest(fn, t) } func TestStateRefund(t *testing.T) { fn := filepath.Join(stateTestDir, "stRefundTest.json") - RunVmTest(fn, t) + RunStateTest(fn, t) } func TestStateBlockHash(t *testing.T) { fn := filepath.Join(stateTestDir, "stBlockHashTest.json") - RunVmTest(fn, t) + RunStateTest(fn, t) } func TestStateInitCode(t *testing.T) { fn := filepath.Join(stateTestDir, "stInitCodeTest.json") - RunVmTest(fn, t) + RunStateTest(fn, t) } func TestStateLog(t *testing.T) { fn := filepath.Join(stateTestDir, "stLogTests.json") - RunVmTest(fn, t) + RunStateTest(fn, t) } func TestStateTransaction(t *testing.T) { fn := filepath.Join(stateTestDir, "stTransactionTest.json") - RunVmTest(fn, t) + RunStateTest(fn, t) } func TestCallCreateCallCode(t *testing.T) { fn := filepath.Join(stateTestDir, "stCallCreateCallCodeTest.json") - RunVmTest(fn, t) + RunStateTest(fn, t) } func TestMemory(t *testing.T) { fn := filepath.Join(stateTestDir, "stMemoryTest.json") - RunVmTest(fn, t) + RunStateTest(fn, t) } func TestMemoryStress(t *testing.T) { @@ -73,7 +73,7 @@ func TestMemoryStress(t *testing.T) { t.Skip() } fn := filepath.Join(stateTestDir, "stMemoryStressTest.json") - RunVmTest(fn, t) + RunStateTest(fn, t) } func TestQuadraticComplexity(t *testing.T) { @@ -81,22 +81,22 @@ func TestQuadraticComplexity(t *testing.T) { t.Skip() } fn := filepath.Join(stateTestDir, "stQuadraticComplexityTest.json") - RunVmTest(fn, t) + RunStateTest(fn, t) } func TestSolidity(t *testing.T) { fn := filepath.Join(stateTestDir, "stSolidityTest.json") - RunVmTest(fn, t) + RunStateTest(fn, t) } func TestWallet(t *testing.T) { fn := filepath.Join(stateTestDir, "stWalletTest.json") - RunVmTest(fn, t) + RunStateTest(fn, t) } func TestStateTestsRandom(t *testing.T) { fns, _ := filepath.Glob("./files/StateTests/RandomTests/*") for _, fn := range fns { - RunVmTest(fn, t) + RunStateTest(fn, t) } } |