github.com/Tri-stone/burrow@v0.25.0/tests/jobs_fixtures/app42-getting-setting-strings-dynamic-arrays/deploy.yaml (about) 1 jobs: 2 3 - name: setTotalNumberOfCars 4 set: 5 val: 5 6 7 - name: setCarVariable1 8 set: 9 val: 'Batmobile' 10 11 - name: setCarVariable2 12 set: 13 val: 'Bruce Waynes Lambourgini' 14 15 - name: setDriverNameVariable 16 set: 17 val: 'Alfred' 18 19 - name: deployDriver 20 deploy: 21 contract: driver.sol 22 23 - name: setDriverName 24 call: 25 destination: $deployDriver 26 function: setName 27 data: 28 - $setDriverNameVariable 29 30 - name: queryDriverName 31 query-contract: 32 destination: $deployDriver 33 function: getName 34 35 - name: assertName 36 assert: 37 key: $queryDriverName 38 relation: eq 39 val: $setDriverNameVariable 40 41 - name: addDriverCarArray 42 call: 43 destination: $deployDriver 44 function: addCars 45 data: 46 - [ 'Red Car', 'Green Car', 'Blue Car' ] 47 48 - name: queryDriverCarArray 49 query-contract: 50 destination: $deployDriver 51 function: getCars 52 53 - name: assertCarArray 54 assert: 55 key: $queryDriverCarArray 56 relation: ne 57 val: "" 58 59 - name: queryDriverCarAmountShouldBeThree 60 query-contract: 61 destination: $deployDriver 62 function: getCarAmount 63 64 - name: assertCarArrayAmount 65 assert: 66 key: $queryDriverCarAmountShouldBeThree 67 relation: eq 68 val: 3 69 70 - name: addBatmobile 71 call: 72 destination: $deployDriver 73 function: addCar 74 data: 75 - $setCarVariable1 76 77 - name: addLambo 78 call: 79 destination: $deployDriver 80 function: addCar 81 data: 82 - $setCarVariable2 83 84 - name: queryDriverCarAmount 85 query-contract: 86 destination: $deployDriver 87 function: getCarAmount 88 89 - name: assertCarAmount 90 assert: 91 key: $queryDriverCarAmount 92 relation: eq 93 val: $setTotalNumberOfCars