Skip to content

Commit

Permalink
correctly generated ids
Browse files Browse the repository at this point in the history
  • Loading branch information
girazoki committed Sep 5, 2024
1 parent 2facc14 commit d684351
Show file tree
Hide file tree
Showing 76 changed files with 74 additions and 209 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ApiPromise } from "@polkadot/api";
import { initializeCustomCreateBlock } from "../../../util/block";

describeSuite({
id: "C0101",
id: "CAP0101",
title: "Proxy test suite - ProxyType::Balances",
foundationMethods: "dev",
testCases: ({ it, context }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ApiPromise } from "@polkadot/api";
import { initializeCustomCreateBlock } from "../../../util/block";

describeSuite({
id: "C0201",
id: "CAP0201",
title: "Maintenance mode test suite",
foundationMethods: "dev",
testCases: ({ it, context }) => {
Expand Down
65 changes: 0 additions & 65 deletions test/suites/common-all-parachain/test_basic.ts

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Result } from "@polkadot/types-codec";
import { SpRuntimeDispatchError } from "@polkadot/types/lookup";

describeSuite({
id: "C0301",
id: "CAP0301",
title: "Pausing is compatible with maintenance mode",
foundationMethods: "dev",
testCases: ({ it, context }) => {
Expand Down
2 changes: 1 addition & 1 deletion test/suites/common-all-parachain/tx-pause/test_pause.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { Result } from "@polkadot/types-codec";
import { SpRuntimeDispatchError } from "@polkadot/types/lookup";

describeSuite({
id: "C0302",
id: "CAP0302",
title: "Txs can be paused and unpaused",
foundationMethods: "dev",
testCases: ({ it, context }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { extractWeight } from "@moonwall/util";
import { extractFeeAuthor, filterRewardFromOrchestrator } from "util/block";

describeSuite({
id: "C0002",
id: "CA0101",
title: "Fee test suite",
foundationMethods: "dev",
testCases: ({ it, context }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { u8aToHex } from "@polkadot/util";
import { alith, charleth, baltathar, dorothy } from "@moonwall/util";

describeSuite({
id: "C0401",
id: "CA0201",
title: "Multisig pallet test suite",
foundationMethods: "dev",

Expand Down
2 changes: 1 addition & 1 deletion test/suites/common-all/proxy/test-proxy-cancel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ApiPromise } from "@polkadot/api";
import { initializeCustomCreateBlock } from "../../../util/block";

describeSuite({
id: "C0102",
id: "CA0301",
title: "Proxy test suite - ProxyType::CancelProxy",
foundationMethods: "dev",
testCases: ({ it, context }) => {
Expand Down
2 changes: 1 addition & 1 deletion test/suites/common-all/proxy/test-proxy-pure.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ApiPromise } from "@polkadot/api";
import { initializeCustomCreateBlock } from "../../../util/block";

describeSuite({
id: "C0104",
id: "CA0302",
title: "Proxy test suite - create_pure",
foundationMethods: "dev",
testCases: ({ it, context }) => {
Expand Down
2 changes: 1 addition & 1 deletion test/suites/common-all/proxy/test-proxy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ApiPromise } from "@polkadot/api";
import { initializeCustomCreateBlock, extractFeeAuthor, filterRewardFromContainer } from "../../../util/block";

describeSuite({
id: "C0103",
id: "CA0303",
title: "Proxy test suite",
foundationMethods: "dev",
testCases: ({ it, context }) => {
Expand Down
2 changes: 1 addition & 1 deletion test/suites/common-all/test_basic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { KeyringPair } from "@moonwall/util";
import { ApiPromise } from "@polkadot/api";

describeSuite({
id: "C0001",
id: "CA0001",
title: "Dev test suite",
foundationMethods: "dev",
testCases: ({ it, context, log }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { RawXcmMessage, XcmFragment, injectDmpMessageAndSeal } from "../../../ut
import { RELAY_SOURCE_LOCATION, RELAY_SOURCE_LOCATION_2 } from "../../../util/constants.ts";

describeSuite({
id: "DC0101",
id: "CC0101",
title: "XcmExecutorUtils - Custom policies",
foundationMethods: "dev",
testCases: ({ context, it }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { RELAY_SOURCE_LOCATION, RELAY_SOURCE_LOCATION_2 } from "../../../util/co

// This assumes that the XcmExecutorUtils ReserveDefaultTrustPolicy set in the runtime is AllNative
describeSuite({
id: "DC0201",
id: "DC0102",
title: "XcmExecutorUtils - Default policies",
foundationMethods: "dev",
testCases: ({ context, it }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { jumpSessions } from "../../../util/block";
import { u8aToHex, stringToHex } from "@polkadot/util";

describeSuite({
id: "CT0101",
id: "CTP0101",
title: "Session keys assignment test suite",
foundationMethods: "dev",
testCases: ({ it, context }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { extractWeight } from "@moonwall/util";
import { extractFeeAuthor, fetchIssuance, filterRewardFromOrchestrator } from "util/block";

describeSuite({
id: "CT0201",
id: "CPT0201",
title: "Fee burning test suite",
foundationMethods: "dev",
testCases: ({ it, context }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { getAuthorFromDigest } from "util/author";
import { PARACHAIN_BOND } from "util/constants";

describeSuite({
id: "CT0301",
id: "CPT0301",
title: "Invulnerable reward test suite",
foundationMethods: "dev",
testCases: ({ it, context }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { ApiPromise } from "@polkadot/api";
import { fetchIssuance } from "util/block";

describeSuite({
id: "CT0302",
id: "CPT0302",
title: "Issuance reward test suite",
foundationMethods: "dev",
testCases: ({ it, context }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { expect, beforeAll, describeSuite } from "@moonwall/cli";
import { jumpSessions } from "../../../util/block";

describeSuite({
id: "CT0401",
id: "CPT0401",
title: "Configuration - ActiveConfig - CollatorsPerContainer",
foundationMethods: "dev",
testCases: ({ context, it }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { expect, beforeAll, describeSuite } from "@moonwall/cli";
import { jumpSessions } from "../../../util/block";

describeSuite({
id: "CT0402",
id: "CPT0402",
title: "Configuration - ActiveConfig - MaxCollators",
foundationMethods: "dev",
testCases: ({ context, it }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { expect, beforeAll, describeSuite } from "@moonwall/cli";
import { jumpSessions } from "../../../util/block";

describeSuite({
id: "CT0403",
id: "CPT0403",
title: "Configuration - ActiveConfig - MaxOrchestratorCollators",
foundationMethods: "dev",
testCases: ({ context, it }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { expect, beforeAll, describeSuite } from "@moonwall/cli";
import { initializeCustomCreateBlock, jumpSessions } from "../../../util/block";

describeSuite({
id: "CT0404",
id: "CPT0404",
title: "Configuration - ActiveConfig - MinOrchestratorCollators",
foundationMethods: "dev",
testCases: ({ context, it }) => {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { expect, describeSuite } from "@moonwall/cli";

describeSuite({
id: "CT0405",
id: "CPT0405",
title: "Configuration - ActiveConfig - Origin",
foundationMethods: "dev",
testCases: ({ context, it }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { expect, beforeAll, describeSuite } from "@moonwall/cli";
import { jumpSessions } from "../../../util/block";

describeSuite({
id: "CT0406",
id: "CPT0406",
title: "Configuration - ActiveConfig - targetContainerChainFullness",
foundationMethods: "dev",
testCases: ({ context, it }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { ApiPromise } from "@polkadot/api";
import { KeyringPair } from "@moonwall/util";

describeSuite({
id: "CT1001",
id: "CPT1001",
title: "Data preservers pallet test suite",
foundationMethods: "dev",

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { KeyringPair } from "@moonwall/util";
import { hexToString } from "viem";

describeSuite({
id: "CT0701",
id: "CPT0701",
title: "Identity pallet test suite",
foundationMethods: "dev",

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { KeyringPair } from "@moonwall/util";
import { extractFeeAuthor } from "util/block";

describeSuite({
id: "CT0901",
id: "CPT0901",
title: "Treasury pallet test suite",
foundationMethods: "dev",

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ApiPromise } from "@polkadot/api";
import { jumpSessions } from "../../../util/block";

describeSuite({
id: "CT0501",
id: "CPT0501",
title: "Registrar test suite: de-register",
foundationMethods: "dev",
testCases: ({ it, context }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { KeyringPair } from "@moonwall/util";
import { ApiPromise } from "@polkadot/api";

describeSuite({
id: "CT0502",
id: "CPT0502",
title: "Registrar para manager",
foundationMethods: "dev",
testCases: ({ it, context }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ApiPromise } from "@polkadot/api";
import { jumpSessions } from "../../../util/block";

describeSuite({
id: "CT0503",
id: "CPT0503",
title: "Registrar test suite: pause",
foundationMethods: "dev",
testCases: ({ it, context }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ApiPromise } from "@polkadot/api";
import { jumpSessions } from "util/block";

describeSuite({
id: "DT0604",
id: "CPT0604",
title: "Registrar test suite",
foundationMethods: "dev",
testCases: ({ it, context }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ApiPromise } from "@polkadot/api";
import { jumpSessions } from "../../../util/block";

describeSuite({
id: "CT0506",
id: "CPT0506",
title: "Registrar test suite",
foundationMethods: "dev",
testCases: ({ it, context }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { ApiPromise } from "@polkadot/api";
import { jumpSessions } from "../../../util/block";

describeSuite({
id: "CT0505",
id: "CPT0505",
title: "Registrar test suite",
foundationMethods: "dev",
testCases: ({ it, context }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { chainSpecToContainerChainGenesisData, containerChainGenesisDataToChainS
import "@polkadot/api-augment";

describeSuite({
id: "CT0507",
id: "CPT0507",
title: "Test ContainerChainGenesisData utils",
foundationMethods: "dev",
testCases: ({ it, context }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { describeSuite, expect, beforeAll } from "@moonwall/cli";
import { ApiPromise } from "@polkadot/api";

describeSuite({
id: "CT0801",
id: "CPT0801",
title: "RelayStorageRoots pallet test suite",
foundationMethods: "dev",

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { jumpSessions } from "util/block";
import { paraIdTank } from "util/payment";

describeSuite({
id: "CT0601",
id: "CPT0601",
title: "Services payment test suite",
foundationMethods: "dev",
testCases: ({ it, context }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { jumpSessions } from "util/block";
import { paraIdTank } from "util/payment";

describeSuite({
id: "CT0601",
id: "CPT0601",
title: "Services payment test suite",
foundationMethods: "dev",
testCases: ({ it, context }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { KeyringPair } from "@moonwall/util";
import { fetchCollatorAssignmentTip, jumpSessions } from "util/block";

describeSuite({
id: "CT0608",
id: "CPT0608",
title: "Services payment collator assignment tip test suite",
foundationMethods: "dev",
testCases: ({ it, context }) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import "@tanssi/api-augment";
import { describeSuite, expect, customDevRpcRequest } from "@moonwall/cli";

describeSuite({
id: "CT0609",
id: "CPT0609",
title: "Services payment RPC",
foundationMethods: "dev",
testCases: ({ it }) => {
Expand Down
Loading

0 comments on commit d684351

Please sign in to comment.