referrerpolicy=no-referrer-when-downgrade

people_rococo_integration_tests/
lib.rs

1// Copyright (C) Parity Technologies (UK) Ltd.
2// SPDX-License-Identifier: Apache-2.0
3
4// 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.
15
16#[cfg(test)]
17mod imports {
18	// Substrate
19	pub(crate) use frame_support::sp_runtime::DispatchResult;
20
21	// Polkadot
22	pub(crate) use xcm::{latest::ROCOCO_GENESIS_HASH, prelude::*};
23
24	// Cumulus
25	pub(crate) use asset_test_utils::xcm_helpers;
26	pub(crate) use emulated_integration_tests_common::xcm_emulator::{
27		assert_expected_events, bx, Chain, Parachain as Para, Test, TestArgs, TestContext, TestExt,
28	};
29	pub(crate) use parachains_common::Balance;
30	pub(crate) use rococo_system_emulated_network::{
31		people_rococo_emulated_chain::{
32			people_rococo_runtime::{
33				xcm_config::XcmConfig as PeopleRococoXcmConfig,
34				ExistentialDeposit as PeopleRococoExistentialDeposit,
35			},
36			PeopleRococoParaPallet as PeopleRococoPallet,
37		},
38		rococo_emulated_chain::{genesis::ED as ROCOCO_ED, RococoRelayPallet as RococoPallet},
39		AssetHubRococoPara as AssetHubRococo, AssetHubRococoParaReceiver as AssetHubRococoReceiver,
40		PeopleRococoPara as PeopleRococo, PeopleRococoParaReceiver as PeopleRococoReceiver,
41		PeopleRococoParaSender as PeopleRococoSender, RococoRelay as Rococo,
42		RococoRelayReceiver as RococoReceiver, RococoRelaySender as RococoSender,
43	};
44
45	pub(crate) type SystemParaToRelayTest = Test<PeopleRococo, Rococo>;
46}
47
48#[cfg(test)]
49mod tests;