github.com/kaleido-io/firefly@v0.0.0-20210622132723-8b4b6aacb971/kat/src/test/ethereum/assets/index.ts (about) 1 // Copyright © 2021 Kaleido, Inc. 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 import { testAssetArgumentValidation } from "./argument-validation"; 16 import { testAuthoredPrivateDescribedStructured } from "./authored/private/described-structured"; 17 import { testAuthoredPrivateDescribedUnstructured } from "./authored/private/described-unstructured"; 18 import { testAuthoredPrivateStructured } from "./authored/private/structured"; 19 import { testAuthoredPrivateUnstructured } from "./authored/private/unstructured"; 20 import { testAuthoredPublicDescribedStructured } from "./authored/public/described-structured"; 21 import { testAuthoredPublicDescribedUnstructured } from "./authored/public/described-unstructured"; 22 import { testAuthoredPublicStructured } from "./authored/public/structured"; 23 import { testAuthoredPublicUnstructured } from "./authored/public/unstructured"; 24 import { testUnauthoredPrivateDescribedStructured } from "./unauthored/private/described-structured"; 25 import { testUnauthoredPrivateDescribedUnstructured } from "./unauthored/private/described-unstructured"; 26 import { testUnauthoredPrivateStructured } from "./unauthored/private/structured"; 27 import { testUnauthoredPrivateUnstructured } from "./unauthored/private/unstructured"; 28 import { testUnauthoredPublicDescribedStructured } from "./unauthored/public/described-structured"; 29 import { testUnauthoredPublicDescribedUnstructured } from "./unauthored/public/described-unstructured"; 30 import { testUnauthoredPublicStructured } from "./unauthored/public/structured"; 31 import { testUnauthoredPublicUnstructured } from "./unauthored/public/unstructured"; 32 33 export const testAssets = async () => { 34 describe('Asset tests', async () => { 35 testAssetArgumentValidation(); 36 testAuthoredPrivateDescribedStructured(); 37 testAuthoredPrivateDescribedUnstructured(); 38 testAuthoredPrivateStructured(); 39 testAuthoredPrivateUnstructured(); 40 testAuthoredPublicDescribedStructured(); 41 testAuthoredPublicDescribedUnstructured(); 42 testAuthoredPublicStructured(); 43 testAuthoredPublicUnstructured(); 44 testUnauthoredPrivateDescribedStructured(); 45 testUnauthoredPrivateDescribedUnstructured(); 46 testUnauthoredPrivateStructured(); 47 testUnauthoredPrivateUnstructured(); 48 testUnauthoredPublicDescribedStructured(); 49 testUnauthoredPublicDescribedUnstructured(); 50 testUnauthoredPublicStructured(); 51 testUnauthoredPublicUnstructured(); 52 }); 53 };