1// Copyright (C) Parity Technologies (UK) Ltd.
2// SPDX-License-Identifier: Apache-2.0
34// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
1516#[cfg(test)]
17mod imports {
1819// Substrate
20pub(crate) use frame_support::assert_ok;
2122// Polkadot
23pub(crate) use xcm::{latest::ROCOCO_GENESIS_HASH, prelude::*};
2425// Cumulus
26pub(crate) use emulated_integration_tests_common::xcm_emulator::{
27 assert_expected_events, Chain, Parachain, TestExt,
28 };
29pub(crate) use rococo_system_emulated_network::{
30 asset_hub_rococo_emulated_chain::genesis::ED as ASSET_HUB_ROCOCO_ED,
31 coretime_rococo_emulated_chain::{
32 coretime_rococo_runtime::ExistentialDeposit as CoretimeRococoExistentialDeposit,
33 genesis::ED as CORETIME_ROCOCO_ED, CoretimeRococoParaPallet as CoretimeRococoPallet,
34 },
35 rococo_emulated_chain::{genesis::ED as ROCOCO_ED, RococoRelayPallet as RococoPallet},
36 AssetHubRococoPara as AssetHubRococo, AssetHubRococoParaReceiver as AssetHubRococoReceiver,
37 AssetHubRococoParaSender as AssetHubRococoSender, CoretimeRococoPara as CoretimeRococo,
38 CoretimeRococoParaReceiver as CoretimeRococoReceiver,
39 CoretimeRococoParaSender as CoretimeRococoSender, RococoRelay as Rococo,
40 RococoRelayReceiver as RococoReceiver, RococoRelaySender as RococoSender,
41 };
42}
4344#[cfg(test)]
45mod tests;