Skip to content

Commit

Permalink
test-utils: move to crates directory
Browse files Browse the repository at this point in the history
  • Loading branch information
bmwill committed May 23, 2022
1 parent 02bbe66 commit 49c5f01
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 17 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ members = [
"crates/sui-types",
"crates/sui-verifier",
"crates/sui-verifier-transactional-tests",
"crates/test-utils",
"crates/x",
"sui",
"sui_core",
"sui_storage",
"test_utils",
]

[profile.release]
Expand Down
2 changes: 1 addition & 1 deletion crates/sui-faucet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ sui_core = { path = "../../sui_core" }

[dev-dependencies]
tempfile = "3.3.0"
test_utils = { path = "../../test_utils" }
test-utils = { path = "../test-utils" }

[[bin]]
name = "sui-faucet"
Expand Down
16 changes: 8 additions & 8 deletions test_utils/Cargo.toml → crates/test-utils/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "test_utils"
name = "test-utils"
authors = ["Mysten Labs <[email protected]>"]
version = "0.1.0"
license = "Apache-2.0"
Expand All @@ -19,15 +19,15 @@ tracing = { version = "0.1.34", features = ["log"] }
tempfile = "3.3.0"
bcs = "0.1.3"

sui-adapter = { path = "../crates/sui-adapter" }
sui-framework = { path = "../crates/sui-framework" }
sui-adapter = { path = "../sui-adapter" }
sui-framework = { path = "../sui-framework" }
move-package = { git = "https://github.com/move-language/move", rev = "1b2d3b4274345f5b4b6a1a1bde5aee452003ab5b" }
move-core-types = { git = "https://github.com/move-language/move", rev = "1b2d3b4274345f5b4b6a1a1bde5aee452003ab5b", features = ["address20"] }
typed-store = { git = "https://github.com/MystenLabs/mysten-infra", rev ="7c247967e5a5abd59ecaa75bc62b05bcdf4503fe"}
narwhal-config = { git = "https://github.com/MystenLabs/narwhal", rev = "2c5e8236c0702a3ff47dd769c2bbc94b029bf4a9", package = "config" }

sui-config = { path = "../crates/sui-config" }
sui-types = { path = "../crates/sui-types" }
sui_core = { path = "../sui_core" }
sui-network = { path = "../crates/sui-network" }
sui = { path = "../sui" }
sui-config = { path = "../sui-config" }
sui-types = { path = "../sui-types" }
sui_core = { path = "../../sui_core" }
sui-network = { path = "../sui-network" }
sui = { path = "../../sui" }
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ pub fn test_shared_object_transactions() -> Vec<Transaction> {
pub fn publish_move_package_transaction(gas_object: Object) -> Transaction {
let build_config = BuildConfig::default();
let mut path = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
path.push("../sui_programmability/examples/basics");
path.push("../../sui_programmability/examples/basics");
let modules = sui_framework::build_move_package(&path, build_config, false).unwrap();

let all_module_bytes = modules
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion sui/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ pretty_assertions = "1.2.0"
tokio-util = { version = "0.7.2", features = ["codec"] }
sui-node = { path = "../crates/sui-node" }

test_utils = { path = "../test_utils" }
test-utils = { path = "../crates/test-utils" }

[features]
benchmark = ["narwhal-node/benchmark"]
Expand Down
2 changes: 1 addition & 1 deletion sui_core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ tracing-test = "0.2.1"
tracing-subscriber = "^0.3"

test-fuzz = "3.0.2"
test_utils = { path = "../test_utils" }
test-utils = { path = "../crates/test-utils" }

[[example]]
name = "generate-format"
Expand Down

0 comments on commit 49c5f01

Please sign in to comment.