From 1cce6e91c22c72af6fce5c5a1f6747884048ac9d Mon Sep 17 00:00:00 2001 From: Brandon Williams Date: Mon, 16 May 2022 15:05:42 -0700 Subject: [PATCH] chore: move sui-adapter-transactional-tests to crates directory --- Cargo.toml | 2 +- .../sui-adapter-transactional-tests}/Cargo.toml | 2 +- .../sui-adapter-transactional-tests}/src/lib.rs | 0 .../tests/call/simple.exp | 0 .../tests/call/simple.move | 0 .../tests/children/child_of_shared_object.exp | 0 .../tests/children/child_of_shared_object.move | 0 .../tests/publish/init.exp | 0 .../tests/publish/init.move | 0 .../tests/publish/init_param.exp | 0 .../tests/publish/init_param.move | 0 .../tests/publish/init_public.exp | 0 .../tests/publish/init_public.move | 0 .../tests/publish/init_ret.exp | 0 .../tests/publish/init_ret.move | 0 .../tests/sui/coin_transfer.exp | 0 .../tests/sui/coin_transfer.move | 0 .../tests/sui/freeze.exp | 0 .../tests/sui/freeze.move | 0 .../tests/sui/move_call_args_type_mismatch.exp | 0 .../tests/sui/move_call_args_type_mismatch.move | 0 .../tests/sui/move_call_incorrect_function.exp | 0 .../tests/sui/move_call_incorrect_function.move | 0 .../tests/sui/object_basics.exp | Bin .../tests/sui/object_basics.move | 0 .../tests/sui/publish_module_non_zero_address.exp | 0 .../tests/sui/publish_module_non_zero_address.move | 0 .../tests/sui/unwrap.exp | 0 .../tests/sui/unwrap.move | 0 .../sui-adapter-transactional-tests}/tests/tests.rs | 0 30 files changed, 2 insertions(+), 2 deletions(-) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/Cargo.toml (78%) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/src/lib.rs (100%) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/tests/call/simple.exp (100%) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/tests/call/simple.move (100%) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/tests/children/child_of_shared_object.exp (100%) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/tests/children/child_of_shared_object.move (100%) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/tests/publish/init.exp (100%) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/tests/publish/init.move (100%) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/tests/publish/init_param.exp (100%) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/tests/publish/init_param.move (100%) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/tests/publish/init_public.exp (100%) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/tests/publish/init_public.move (100%) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/tests/publish/init_ret.exp (100%) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/tests/publish/init_ret.move (100%) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/tests/sui/coin_transfer.exp (100%) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/tests/sui/coin_transfer.move (100%) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/tests/sui/freeze.exp (100%) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/tests/sui/freeze.move (100%) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/tests/sui/move_call_args_type_mismatch.exp (100%) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/tests/sui/move_call_args_type_mismatch.move (100%) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/tests/sui/move_call_incorrect_function.exp (100%) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/tests/sui/move_call_incorrect_function.move (100%) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/tests/sui/object_basics.exp (100%) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/tests/sui/object_basics.move (100%) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/tests/sui/publish_module_non_zero_address.exp (100%) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/tests/sui/publish_module_non_zero_address.move (100%) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/tests/sui/unwrap.exp (100%) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/tests/sui/unwrap.move (100%) rename {sui_programmability/adapter/transactional-tests => crates/sui-adapter-transactional-tests}/tests/tests.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index f51165ef49883..9358e711e6d2d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,6 @@ [workspace] members = [ + "crates/sui-adapter-transactional-tests", "crates/sui-config", "crates/sui-network", "crates/sui-transactional-test-runner", @@ -12,7 +13,6 @@ members = [ "sui/open_rpc/macros", "sui_core", "sui_programmability/adapter", - "sui_programmability/adapter/transactional-tests", "sui_programmability/framework", "test_utils", ] diff --git a/sui_programmability/adapter/transactional-tests/Cargo.toml b/crates/sui-adapter-transactional-tests/Cargo.toml similarity index 78% rename from sui_programmability/adapter/transactional-tests/Cargo.toml rename to crates/sui-adapter-transactional-tests/Cargo.toml index 08529423e8ead..8fa4d9867975d 100644 --- a/sui_programmability/adapter/transactional-tests/Cargo.toml +++ b/crates/sui-adapter-transactional-tests/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" [dev-dependencies] datatest-stable = "0.1.1" -sui-transactional-test-runner = { path = "../../../crates/sui-transactional-test-runner" } +sui-transactional-test-runner = { path = "../sui-transactional-test-runner" } [[test]] name = "tests" diff --git a/sui_programmability/adapter/transactional-tests/src/lib.rs b/crates/sui-adapter-transactional-tests/src/lib.rs similarity index 100% rename from sui_programmability/adapter/transactional-tests/src/lib.rs rename to crates/sui-adapter-transactional-tests/src/lib.rs diff --git a/sui_programmability/adapter/transactional-tests/tests/call/simple.exp b/crates/sui-adapter-transactional-tests/tests/call/simple.exp similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/call/simple.exp rename to crates/sui-adapter-transactional-tests/tests/call/simple.exp diff --git a/sui_programmability/adapter/transactional-tests/tests/call/simple.move b/crates/sui-adapter-transactional-tests/tests/call/simple.move similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/call/simple.move rename to crates/sui-adapter-transactional-tests/tests/call/simple.move diff --git a/sui_programmability/adapter/transactional-tests/tests/children/child_of_shared_object.exp b/crates/sui-adapter-transactional-tests/tests/children/child_of_shared_object.exp similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/children/child_of_shared_object.exp rename to crates/sui-adapter-transactional-tests/tests/children/child_of_shared_object.exp diff --git a/sui_programmability/adapter/transactional-tests/tests/children/child_of_shared_object.move b/crates/sui-adapter-transactional-tests/tests/children/child_of_shared_object.move similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/children/child_of_shared_object.move rename to crates/sui-adapter-transactional-tests/tests/children/child_of_shared_object.move diff --git a/sui_programmability/adapter/transactional-tests/tests/publish/init.exp b/crates/sui-adapter-transactional-tests/tests/publish/init.exp similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/publish/init.exp rename to crates/sui-adapter-transactional-tests/tests/publish/init.exp diff --git a/sui_programmability/adapter/transactional-tests/tests/publish/init.move b/crates/sui-adapter-transactional-tests/tests/publish/init.move similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/publish/init.move rename to crates/sui-adapter-transactional-tests/tests/publish/init.move diff --git a/sui_programmability/adapter/transactional-tests/tests/publish/init_param.exp b/crates/sui-adapter-transactional-tests/tests/publish/init_param.exp similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/publish/init_param.exp rename to crates/sui-adapter-transactional-tests/tests/publish/init_param.exp diff --git a/sui_programmability/adapter/transactional-tests/tests/publish/init_param.move b/crates/sui-adapter-transactional-tests/tests/publish/init_param.move similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/publish/init_param.move rename to crates/sui-adapter-transactional-tests/tests/publish/init_param.move diff --git a/sui_programmability/adapter/transactional-tests/tests/publish/init_public.exp b/crates/sui-adapter-transactional-tests/tests/publish/init_public.exp similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/publish/init_public.exp rename to crates/sui-adapter-transactional-tests/tests/publish/init_public.exp diff --git a/sui_programmability/adapter/transactional-tests/tests/publish/init_public.move b/crates/sui-adapter-transactional-tests/tests/publish/init_public.move similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/publish/init_public.move rename to crates/sui-adapter-transactional-tests/tests/publish/init_public.move diff --git a/sui_programmability/adapter/transactional-tests/tests/publish/init_ret.exp b/crates/sui-adapter-transactional-tests/tests/publish/init_ret.exp similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/publish/init_ret.exp rename to crates/sui-adapter-transactional-tests/tests/publish/init_ret.exp diff --git a/sui_programmability/adapter/transactional-tests/tests/publish/init_ret.move b/crates/sui-adapter-transactional-tests/tests/publish/init_ret.move similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/publish/init_ret.move rename to crates/sui-adapter-transactional-tests/tests/publish/init_ret.move diff --git a/sui_programmability/adapter/transactional-tests/tests/sui/coin_transfer.exp b/crates/sui-adapter-transactional-tests/tests/sui/coin_transfer.exp similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/sui/coin_transfer.exp rename to crates/sui-adapter-transactional-tests/tests/sui/coin_transfer.exp diff --git a/sui_programmability/adapter/transactional-tests/tests/sui/coin_transfer.move b/crates/sui-adapter-transactional-tests/tests/sui/coin_transfer.move similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/sui/coin_transfer.move rename to crates/sui-adapter-transactional-tests/tests/sui/coin_transfer.move diff --git a/sui_programmability/adapter/transactional-tests/tests/sui/freeze.exp b/crates/sui-adapter-transactional-tests/tests/sui/freeze.exp similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/sui/freeze.exp rename to crates/sui-adapter-transactional-tests/tests/sui/freeze.exp diff --git a/sui_programmability/adapter/transactional-tests/tests/sui/freeze.move b/crates/sui-adapter-transactional-tests/tests/sui/freeze.move similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/sui/freeze.move rename to crates/sui-adapter-transactional-tests/tests/sui/freeze.move diff --git a/sui_programmability/adapter/transactional-tests/tests/sui/move_call_args_type_mismatch.exp b/crates/sui-adapter-transactional-tests/tests/sui/move_call_args_type_mismatch.exp similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/sui/move_call_args_type_mismatch.exp rename to crates/sui-adapter-transactional-tests/tests/sui/move_call_args_type_mismatch.exp diff --git a/sui_programmability/adapter/transactional-tests/tests/sui/move_call_args_type_mismatch.move b/crates/sui-adapter-transactional-tests/tests/sui/move_call_args_type_mismatch.move similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/sui/move_call_args_type_mismatch.move rename to crates/sui-adapter-transactional-tests/tests/sui/move_call_args_type_mismatch.move diff --git a/sui_programmability/adapter/transactional-tests/tests/sui/move_call_incorrect_function.exp b/crates/sui-adapter-transactional-tests/tests/sui/move_call_incorrect_function.exp similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/sui/move_call_incorrect_function.exp rename to crates/sui-adapter-transactional-tests/tests/sui/move_call_incorrect_function.exp diff --git a/sui_programmability/adapter/transactional-tests/tests/sui/move_call_incorrect_function.move b/crates/sui-adapter-transactional-tests/tests/sui/move_call_incorrect_function.move similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/sui/move_call_incorrect_function.move rename to crates/sui-adapter-transactional-tests/tests/sui/move_call_incorrect_function.move diff --git a/sui_programmability/adapter/transactional-tests/tests/sui/object_basics.exp b/crates/sui-adapter-transactional-tests/tests/sui/object_basics.exp similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/sui/object_basics.exp rename to crates/sui-adapter-transactional-tests/tests/sui/object_basics.exp diff --git a/sui_programmability/adapter/transactional-tests/tests/sui/object_basics.move b/crates/sui-adapter-transactional-tests/tests/sui/object_basics.move similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/sui/object_basics.move rename to crates/sui-adapter-transactional-tests/tests/sui/object_basics.move diff --git a/sui_programmability/adapter/transactional-tests/tests/sui/publish_module_non_zero_address.exp b/crates/sui-adapter-transactional-tests/tests/sui/publish_module_non_zero_address.exp similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/sui/publish_module_non_zero_address.exp rename to crates/sui-adapter-transactional-tests/tests/sui/publish_module_non_zero_address.exp diff --git a/sui_programmability/adapter/transactional-tests/tests/sui/publish_module_non_zero_address.move b/crates/sui-adapter-transactional-tests/tests/sui/publish_module_non_zero_address.move similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/sui/publish_module_non_zero_address.move rename to crates/sui-adapter-transactional-tests/tests/sui/publish_module_non_zero_address.move diff --git a/sui_programmability/adapter/transactional-tests/tests/sui/unwrap.exp b/crates/sui-adapter-transactional-tests/tests/sui/unwrap.exp similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/sui/unwrap.exp rename to crates/sui-adapter-transactional-tests/tests/sui/unwrap.exp diff --git a/sui_programmability/adapter/transactional-tests/tests/sui/unwrap.move b/crates/sui-adapter-transactional-tests/tests/sui/unwrap.move similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/sui/unwrap.move rename to crates/sui-adapter-transactional-tests/tests/sui/unwrap.move diff --git a/sui_programmability/adapter/transactional-tests/tests/tests.rs b/crates/sui-adapter-transactional-tests/tests/tests.rs similarity index 100% rename from sui_programmability/adapter/transactional-tests/tests/tests.rs rename to crates/sui-adapter-transactional-tests/tests/tests.rs