This repository has been archived by the owner on Nov 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathjunit.xml
260 lines (260 loc) · 21.9 KB
/
junit.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
<?xml version="1.0" encoding="UTF-8"?>
<testsuites name="jest tests" tests="117" failures="0" errors="0" time="5.399">
<testsuite name="httpService" errors="0" failures="0" skipped="5" timestamp="2022-11-08T11:04:39" time="2.932" tests="6">
<testcase classname="httpService should throw when args are missing (baseURL)" name="httpService should throw when args are missing (baseURL)" time="0">
<skipped/>
</testcase>
<testcase classname="httpService should throw when args are missing (apiKey)" name="httpService should throw when args are missing (apiKey)" time="0">
<skipped/>
</testcase>
<testcase classname="httpService should GET using axios" name="httpService should GET using axios" time="0">
<skipped/>
</testcase>
<testcase classname="httpService should throw GET using axios" name="httpService should throw GET using axios" time="0.049">
</testcase>
<testcase classname="httpService should throw POST using axios" name="httpService should throw POST using axios" time="0">
<skipped/>
</testcase>
<testcase classname="httpService should POST using axios" name="httpService should POST using axios" time="0">
<skipped/>
</testcase>
</testsuite>
<testsuite name="Provider" errors="0" failures="0" skipped="0" timestamp="2022-11-08T11:04:39" time="3.075" tests="2">
<testcase classname="Provider should return the provider" name="Provider should return the provider" time="0.003">
</testcase>
<testcase classname="Provider should return the injected provider" name="Provider should return the injected provider" time="0">
</testcase>
</testsuite>
<testsuite name="SDK" errors="0" failures="0" skipped="0" timestamp="2022-11-08T11:04:39" time="3.115" tests="58">
<testcase classname="SDK should create "ERC721Mintable" instance" name="SDK should create "ERC721Mintable" instance" time="0.001">
</testcase>
<testcase classname="SDK [Deploy] - should return an Error if signer not defined " name="SDK [Deploy] - should return an Error if signer not defined " time="0.001">
</testcase>
<testcase classname="SDK [Deploy] - should console.warn if URI is not a link " name="SDK [Deploy] - should console.warn if URI is not a link " time="0.002">
</testcase>
<testcase classname="SDK [Deploy] - should return an Error if Name is empty" name="SDK [Deploy] - should return an Error if Name is empty" time="0">
</testcase>
<testcase classname="SDK [Deploy] - should return a contract" name="SDK [Deploy] - should return a contract" time="0.001">
</testcase>
<testcase classname="SDK [Mint] - should return an Error if contract is not deployed" name="SDK [Mint] - should return an Error if contract is not deployed" time="0">
</testcase>
<testcase classname="SDK [Mint] - should console.warn if tokenURI is not a link " name="SDK [Mint] - should console.warn if tokenURI is not a link " time="0.001">
</testcase>
<testcase classname="SDK [Mint] - should return an Error if the address is empty" name="SDK [Mint] - should return an Error if the address is empty" time="0">
</testcase>
<testcase classname="SDK [Mint] - should return an Error if the tokenURI is empty" name="SDK [Mint] - should return an Error if the tokenURI is empty" time="0">
</testcase>
<testcase classname="SDK [Mint] - should mint a token" name="SDK [Mint] - should mint a token" time="0">
</testcase>
<testcase classname="SDK [LoadContract] - should return an Error if contract is already deployed" name="SDK [LoadContract] - should return an Error if contract is already deployed" time="0">
</testcase>
<testcase classname="SDK [LoadContract] - should return an Error if the address is empty" name="SDK [LoadContract] - should return an Error if the address is empty" time="0">
</testcase>
<testcase classname="SDK [LoadContract] - should load the contract" name="SDK [LoadContract] - should load the contract" time="0">
</testcase>
<testcase classname="SDK [Transfer] - should return an Error if contract is not deployed" name="SDK [Transfer] - should return an Error if contract is not deployed" time="0">
</testcase>
<testcase classname="SDK [Transfer] - should return an Error if from address is not valid" name="SDK [Transfer] - should return an Error if from address is not valid" time="0">
</testcase>
<testcase classname="SDK [Transfer] - should return an Error if to address is not valid" name="SDK [Transfer] - should return an Error if to address is not valid" time="0.001">
</testcase>
<testcase classname="SDK [Transfer] - should transfer nft" name="SDK [Transfer] - should transfer nft" time="0">
</testcase>
<testcase classname="SDK [SetContractURI] - should return an Error if contract is not deployed" name="SDK [SetContractURI] - should return an Error if contract is not deployed" time="0">
</testcase>
<testcase classname="SDK [SetContractURI] - should console.warn if contractURI is not a link " name="SDK [SetContractURI] - should console.warn if contractURI is not a link " time="0.001">
</testcase>
<testcase classname="SDK [SetContractURI] - should return an Error if the contractURI is empty" name="SDK [SetContractURI] - should return an Error if the contractURI is empty" time="0">
</testcase>
<testcase classname="SDK [SetContractURI] - should set the contractURI" name="SDK [SetContractURI] - should set the contractURI" time="0">
</testcase>
<testcase classname="SDK [addMinter] - should return an Error if contract is not deployed" name="SDK [addMinter] - should return an Error if contract is not deployed" time="0">
</testcase>
<testcase classname="SDK [addMinter] - should return an Error if the address is empty" name="SDK [addMinter] - should return an Error if the address is empty" time="0">
</testcase>
<testcase classname="SDK [addMinter] - should add minter role to an address" name="SDK [addMinter] - should add minter role to an address" time="0.001">
</testcase>
<testcase classname="SDK [removeMinter] - should return an Error if contract is not deployed" name="SDK [removeMinter] - should return an Error if contract is not deployed" time="0">
</testcase>
<testcase classname="SDK [removeMinter] - should return an Error if the address is empty" name="SDK [removeMinter] - should return an Error if the address is empty" time="0">
</testcase>
<testcase classname="SDK [removeMinter] - should remove minter role to an address" name="SDK [removeMinter] - should remove minter role to an address" time="0">
</testcase>
<testcase classname="SDK [renounceMinter] - should return an Error if contract is not deployed" name="SDK [renounceMinter] - should return an Error if contract is not deployed" time="0">
</testcase>
<testcase classname="SDK [renounceMinter] - should return an Error if the address is empty" name="SDK [renounceMinter] - should return an Error if the address is empty" time="0.001">
</testcase>
<testcase classname="SDK [renounceMinter] - should renounce minter role for an address" name="SDK [renounceMinter] - should renounce minter role for an address" time="0">
</testcase>
<testcase classname="SDK [isMinter] - should return an Error if contract is not deployed" name="SDK [isMinter] - should return an Error if contract is not deployed" time="0">
</testcase>
<testcase classname="SDK [isMinter] - should return an Error if the address is empty" name="SDK [isMinter] - should return an Error if the address is empty" time="0">
</testcase>
<testcase classname="SDK [isMinter] - should check if an address has minter role" name="SDK [isMinter] - should check if an address has minter role" time="0">
</testcase>
<testcase classname="SDK [SetApprovalForAll] - should return an Error if contract is not deployed" name="SDK [SetApprovalForAll] - should return an Error if contract is not deployed" time="0">
</testcase>
<testcase classname="SDK [SetApprovalForAll] - should return an Error if the address is empty" name="SDK [SetApprovalForAll] - should return an Error if the address is empty" time="0">
</testcase>
<testcase classname="SDK [SetApprovalForAll] - should set approval for all when all params are correct" name="SDK [SetApprovalForAll] - should set approval for all when all params are correct" time="0">
</testcase>
<testcase classname="SDK [addAdmin] - should return an Error if contract is not deployed" name="SDK [addAdmin] - should return an Error if contract is not deployed" time="0">
</testcase>
<testcase classname="SDK [addAdmin] - should return an Error because of bad address" name="SDK [addAdmin] - should return an Error because of bad address" time="0">
</testcase>
<testcase classname="SDK [addAdmin] - should add admin" name="SDK [addAdmin] - should add admin" time="0">
</testcase>
<testcase classname="SDK [removeAdmin] - should return an Error if contract is not deployed" name="SDK [removeAdmin] - should return an Error if contract is not deployed" time="0.001">
</testcase>
<testcase classname="SDK [removeAdmin] - should return an Error because of bad address" name="SDK [removeAdmin] - should return an Error because of bad address" time="0">
</testcase>
<testcase classname="SDK [removeAdmin] - should remove admin" name="SDK [removeAdmin] - should remove admin" time="0">
</testcase>
<testcase classname="SDK [renounceAdmin] - should return an Error if contract is not deployed" name="SDK [renounceAdmin] - should return an Error if contract is not deployed" time="0">
</testcase>
<testcase classname="SDK [renounceAdmin] - should return an Error because of bad address" name="SDK [renounceAdmin] - should return an Error because of bad address" time="0">
</testcase>
<testcase classname="SDK [renounceAdmin] - should renounce admin" name="SDK [renounceAdmin] - should renounce admin" time="0.005">
</testcase>
<testcase classname="SDK [isAdmin] - should return an Error if contract is not deployed" name="SDK [isAdmin] - should return an Error if contract is not deployed" time="0">
</testcase>
<testcase classname="SDK [isAdmin] - should return an Error because of bad address" name="SDK [isAdmin] - should return an Error because of bad address" time="0">
</testcase>
<testcase classname="SDK [isAdmin] - should renounce admin" name="SDK [isAdmin] - should renounce admin" time="0.001">
</testcase>
<testcase classname="SDK [ApproveTransfer] - should return an Error if contract is not deployed" name="SDK [ApproveTransfer] - should return an Error if contract is not deployed" time="0">
</testcase>
<testcase classname="SDK [ApproveTransfer] - should return an Error if to address is not valid" name="SDK [ApproveTransfer] - should return an Error if to address is not valid" time="0">
</testcase>
<testcase classname="SDK [ApproveTransfer] - should approve transfer nft" name="SDK [ApproveTransfer] - should approve transfer nft" time="0">
</testcase>
<testcase classname="SDK setRoyalties [setRoyalties] - should throw if contract not deployed" name="SDK setRoyalties [setRoyalties] - should throw if contract not deployed" time="0.001">
</testcase>
<testcase classname="SDK setRoyalties [setRoyalties] - should throw when "fee" is not a number larger than 0 and less than 10000" name="SDK setRoyalties [setRoyalties] - should throw when "fee" is not a number larger than 0 and less than 10000" time="0">
</testcase>
<testcase classname="SDK setRoyalties [setRoyalties] - should set royalties" name="SDK setRoyalties [setRoyalties] - should set royalties" time="0">
</testcase>
<testcase classname="SDK royaltyInfo [royaltyInfo] - should not throw if TokenId is 0" name="SDK royaltyInfo [royaltyInfo] - should not throw if TokenId is 0" time="0">
</testcase>
<testcase classname="SDK royaltyInfo [royaltyInfo] - should not throw if SalePrice is 0" name="SDK royaltyInfo [royaltyInfo] - should not throw if SalePrice is 0" time="0">
</testcase>
<testcase classname="SDK renounceOwnership [renounceOwnership] - should throw if contract not deployed" name="SDK renounceOwnership [renounceOwnership] - should throw if contract not deployed" time="0">
</testcase>
<testcase classname="SDK renounceOwnership [renounceOwnership] - should call renounce ownership" name="SDK renounceOwnership [renounceOwnership] - should call renounce ownership" time="0.001">
</testcase>
</testsuite>
<testsuite name="ContractFactory" errors="0" failures="0" skipped="0" timestamp="2022-11-08T11:04:39" time="3.208" tests="2">
<testcase classname="ContractFactory should return "ERC721Mintable" instance" name="ContractFactory should return "ERC721Mintable" instance" time="0.001">
</testcase>
<testcase classname="ContractFactory should return an Error" name="ContractFactory should return an Error" time="0">
</testcase>
</testsuite>
<testsuite name="Signer" errors="0" failures="0" skipped="0" timestamp="2022-11-08T11:04:39" time="3.233" tests="1">
<testcase classname="Signer getWallet should return the signer" name="Signer getWallet should return the signer" time="0.117">
</testcase>
</testsuite>
<testsuite name="Auth" errors="0" failures="0" skipped="0" timestamp="2022-11-08T11:04:39" time="3.891" tests="10">
<testcase classname="Auth should throw when passing both privateKey and provider" name="Auth should throw when passing both privateKey and provider" time="0.001">
</testcase>
<testcase classname="Auth should throw when passing invalid provider" name="Auth should throw when passing invalid provider" time="0.007">
</testcase>
<testcase classname="Auth should throw when chainId is not supported" name="Auth should throw when chainId is not supported" time="0">
</testcase>
<testcase classname="Auth getSigner should return the signer using private key and rpc_url" name="Auth getSigner should return the signer using private key and rpc_url" time="0.136">
</testcase>
<testcase classname="Auth getSigner should return the signer using passed provider" name="Auth getSigner should return the signer using passed provider" time="0.001">
</testcase>
<testcase classname="Auth getApiAuth should return the apiAuth key" name="Auth getApiAuth should return the apiAuth key" time="0.001">
</testcase>
<testcase classname="Auth getChainId should return the chainId" name="Auth getChainId should return the chainId" time="0.001">
</testcase>
<testcase classname="Auth getRpcUrl should return the rpcUrl" name="Auth getRpcUrl should return the rpcUrl" time="0.001">
</testcase>
<testcase classname="Auth rpcUrl Auth should construct correct RpcURL, if no rpcUrl is provided" name="Auth rpcUrl Auth should construct correct RpcURL, if no rpcUrl is provided" time="0">
</testcase>
<testcase classname="Auth getApiAuthHeader should return the chainId" name="Auth getApiAuthHeader should return the chainId" time="0.001">
</testcase>
</testsuite>
<testsuite name="ipfs" errors="0" failures="0" skipped="0" timestamp="2022-11-08T11:04:39" time="4.321" tests="8">
<testcase classname="ipfs should not instanciate ipfs without project id" name="ipfs should not instanciate ipfs without project id" time="0.001">
</testcase>
<testcase classname="ipfs should not instanciate ipfs without project secret" name="ipfs should not instanciate ipfs without project secret" time="0">
</testcase>
<testcase classname="ipfs should upload local file" name="ipfs should upload local file" time="0.001">
</testcase>
<testcase classname="ipfs should upload remote file" name="ipfs should upload remote file" time="0">
</testcase>
<testcase classname="ipfs should upload an array" name="ipfs should upload an array" time="0.001">
</testcase>
<testcase classname="ipfs should upload content" name="ipfs should upload content" time="0">
</testcase>
<testcase classname="ipfs should unpin file" name="ipfs should unpin file" time="0.001">
</testcase>
<testcase classname="ipfs should not upload unexisting file" name="ipfs should not upload unexisting file" time="0">
</testcase>
</testsuite>
<testsuite name="Metadata" errors="0" failures="0" skipped="0" timestamp="2022-11-08T11:04:39" time="4.308" tests="10">
<testcase classname="Metadata createTokenMetadata should throw error if image is not url" name="Metadata createTokenMetadata should throw error if image is not url" time="0.008">
</testcase>
<testcase classname="Metadata createTokenMetadata should not throw error if image is url" name="Metadata createTokenMetadata should not throw error if image is url" time="0.003">
</testcase>
<testcase classname="Metadata createTokenMetadata should not throw error if image is ipfs link" name="Metadata createTokenMetadata should not throw error if image is ipfs link" time="0.001">
</testcase>
<testcase classname="Metadata createTokenMetadata should throw error if animation_url is not an url" name="Metadata createTokenMetadata should throw error if animation_url is not an url" time="0">
</testcase>
<testcase classname="Metadata createContractMetadata should throw error if external_link is not an url" name="Metadata createContractMetadata should throw error if external_link is not an url" time="0.001">
</testcase>
<testcase classname="Metadata createContractMetadata should throw error if external_link is not an url" name="Metadata createContractMetadata should throw error if external_link is not an url" time="0">
</testcase>
<testcase classname="Metadata createContractMetadata should throw error if fee_recipient is not a number" name="Metadata createContractMetadata should throw error if fee_recipient is not a number" time="0">
</testcase>
<testcase classname="Metadata createFreeMetadata should throw error if metadata is not an object" name="Metadata createFreeMetadata should throw error if metadata is not an object" time="0.001">
</testcase>
<testcase classname="Metadata createFreeMetadata should throw error if free metadata is not an object" name="Metadata createFreeMetadata should throw error if free metadata is not an object" time="0">
</testcase>
<testcase classname="Metadata createFreeMetadata should create free metadata" name="Metadata createFreeMetadata should create free metadata" time="0">
</testcase>
</testsuite>
<testsuite name="Sdk" errors="0" failures="0" skipped="0" timestamp="2022-11-08T11:04:39" time="4.595" tests="20">
<testcase classname="Sdk getContractMetadata should throw when "contractAddress" is not a valid address" name="Sdk getContractMetadata should throw when "contractAddress" is not a valid address" time="0.002">
</testcase>
<testcase classname="Sdk getContractMetadata should return contract metadata" name="Sdk getContractMetadata should return contract metadata" time="0.002">
</testcase>
<testcase classname="Sdk getNFTs should throw when "address" is not a valid address" name="Sdk getNFTs should throw when "address" is not a valid address" time="0">
</testcase>
<testcase classname="Sdk getNFTs should return the list of NFTs without metadata" name="Sdk getNFTs should return the list of NFTs without metadata" time="0.001">
</testcase>
<testcase classname="Sdk getNFTs should return the list of NFTs with metadata" name="Sdk getNFTs should return the list of NFTs with metadata" time="0">
</testcase>
<testcase classname="Sdk getNFTsForCollection should throw when "contractAddress" is not a valid address" name="Sdk getNFTsForCollection should throw when "contractAddress" is not a valid address" time="0.001">
</testcase>
<testcase classname="Sdk getNFTsForCollection should return return collection NFTs list" name="Sdk getNFTsForCollection should return return collection NFTs list" time="0">
</testcase>
<testcase classname="Sdk getTokenMetadata should throw when "contractAddress" is not a valid address" name="Sdk getTokenMetadata should throw when "contractAddress" is not a valid address" time="0.001">
</testcase>
<testcase classname="Sdk getTokenMetadata should return token metadata" name="Sdk getTokenMetadata should return token metadata" time="0">
</testcase>
<testcase classname="Sdk getStatus should throw when transaction hash argument is not valid" name="Sdk getStatus should throw when transaction hash argument is not valid" time="0">
</testcase>
<testcase classname="Sdk getStatus should return transaction status and details" name="Sdk getStatus should return transaction status and details" time="0">
</testcase>
<testcase classname="Sdk deploy should throw error when template is not provided" name="Sdk deploy should throw error when template is not provided" time="0.001">
</testcase>
<testcase classname="Sdk deploy should deploy contract" name="Sdk deploy should deploy contract" time="0">
</testcase>
<testcase classname="Sdk getProvider should return the provider" name="Sdk getProvider should return the provider" time="0">
</testcase>
<testcase classname="Sdk storeIpfs should store file" name="Sdk storeIpfs should store file" time="0.001">
</testcase>
<testcase classname="Sdk storeIpfs should store an array" name="Sdk storeIpfs should store an array" time="0">
</testcase>
<testcase classname="Sdk storeIpfs should store content" name="Sdk storeIpfs should store content" time="0">
</testcase>
<testcase classname="Sdk storeIpfs should throw error if ipfs is not setted" name="Sdk storeIpfs should throw error if ipfs is not setted" time="0.001">
</testcase>
<testcase classname="Sdk storeIpfs should throw error if its not a valid json" name="Sdk storeIpfs should throw error if its not a valid json" time="0">
</testcase>
<testcase classname="Sdk storeIpfs should throw error if ipfs is not setted for create folder" name="Sdk storeIpfs should throw error if ipfs is not setted for create folder" time="0">
</testcase>
</testsuite>
</testsuites>