referrerpolicy=no-referrer-when-downgrade

rococo_system_emulated_network/
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
16pub use asset_hub_rococo_emulated_chain;
17pub use bridge_hub_rococo_emulated_chain;
18pub use coretime_rococo_emulated_chain;
19pub use penpal_emulated_chain;
20pub use people_rococo_emulated_chain;
21pub use rococo_emulated_chain;
22
23use asset_hub_rococo_emulated_chain::AssetHubRococo;
24use bridge_hub_rococo_emulated_chain::BridgeHubRococo;
25use coretime_rococo_emulated_chain::CoretimeRococo;
26use penpal_emulated_chain::{PenpalA, PenpalB};
27use people_rococo_emulated_chain::PeopleRococo;
28use rococo_emulated_chain::Rococo;
29
30// Cumulus
31use emulated_integration_tests_common::{
32	accounts::{ALICE, BOB},
33	xcm_emulator::{decl_test_networks, decl_test_sender_receiver_accounts_parameter_types},
34};
35
36decl_test_networks! {
37	pub struct RococoMockNet {
38		relay_chain = Rococo,
39		parachains = vec![
40			AssetHubRococo,
41			BridgeHubRococo,
42			CoretimeRococo,
43			PenpalA,
44			PenpalB,
45			PeopleRococo,
46		],
47		bridge = ()
48	},
49}
50
51decl_test_sender_receiver_accounts_parameter_types! {
52	RococoRelay { sender: ALICE, receiver: BOB },
53	AssetHubRococoPara { sender: ALICE, receiver: BOB },
54	BridgeHubRococoPara { sender: ALICE, receiver: BOB },
55	CoretimeRococoPara { sender: ALICE, receiver: BOB },
56	PenpalAPara { sender: ALICE, receiver: BOB },
57	PenpalBPara { sender: ALICE, receiver: BOB },
58	PeopleRococoPara { sender: ALICE, receiver: BOB }
59}