-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c3c2d87
commit 3b3b87f
Showing
22 changed files
with
91 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
use fil_actors_integration_tests::tests::account_authenticate_message_test; | ||
use fil_actors_runtime::test_blockstores::MemoryBlockstore; | ||
use std::rc::Rc; | ||
use test_vm::TestVM; | ||
|
||
#[test] | ||
fn account_authenticate_message() { | ||
let store = Rc::new(MemoryBlockstore::new()); | ||
let store = MemoryBlockstore::new(); | ||
let v = TestVM::new_with_singletons(store); | ||
account_authenticate_message_test(&v); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,10 @@ | ||
use fil_actors_integration_tests::tests::batch_onboarding_deals_test; | ||
use fil_actors_runtime::test_blockstores::MemoryBlockstore; | ||
use std::rc::Rc; | ||
use test_vm::TestVM; | ||
|
||
#[test] | ||
fn batch_onboarding_deals() { | ||
let store = MemoryBlockstore::new(); | ||
let v = TestVM::new_with_singletons(Rc::new(store)); | ||
let v = TestVM::new_with_singletons(store); | ||
batch_onboarding_deals_test(&v); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,19 @@ | ||
use fil_actors_integration_tests::tests::{call_name_symbol_test, datacap_transfer_test}; | ||
use fil_actors_runtime::test_blockstores::MemoryBlockstore; | ||
use std::rc::Rc; | ||
use test_vm::TestVM; | ||
|
||
/* Mint a token for client and transfer it to a receiver, exercising error cases */ | ||
#[test] | ||
fn datacap_transfer() { | ||
let store = MemoryBlockstore::new(); | ||
let v = TestVM::new_with_singletons(Rc::new(store)); | ||
let v = TestVM::new_with_singletons(store); | ||
datacap_transfer_test(&v); | ||
} | ||
|
||
/* Call name & symbol */ | ||
#[test] | ||
fn call_name_symbol() { | ||
let store = MemoryBlockstore::new(); | ||
let v = TestVM::new_with_singletons(Rc::new(store)); | ||
let v = TestVM::new_with_singletons(store); | ||
call_name_symbol_test(&v); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
use fil_actors_integration_tests::tests::placeholder_deploy_test; | ||
use fil_actors_runtime::test_blockstores::MemoryBlockstore; | ||
use std::rc::Rc; | ||
use test_vm::TestVM; | ||
|
||
#[test] | ||
fn placeholder_deploy() { | ||
let store = MemoryBlockstore::new(); | ||
let v = TestVM::new_with_singletons(Rc::new(store)); | ||
let v = TestVM::new_with_singletons(store); | ||
|
||
placeholder_deploy_test(&v); | ||
} |
Oops, something went wrong.