Reenable tests from #14773 #14770 / Add new tests for 1.15 (#14836)
* Squashed commit of the following:
commit fd04d54efffdd182b15ed5350ac190fd7e800f2c
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Mon Aug 29 14:46:19 2022 +0100
lint
commit 117a3e1253cbede690127b66ee73a7ad7a75fd51
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Mon Aug 29 13:16:00 2022 +0100
Temporarily disable isCompleted assertions - they appear to be too eager
commit a17e30b045affad557c1282b9c56229f64ab0d51
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Mon Aug 29 12:21:40 2022 +0100
Remove unnecessary NotExtended tests, fix module names, reenable some
commit 075a62e6f263b86a342e887a0015cf0b812ad4e1
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Mon Aug 29 10:48:24 2022 +0100
Remove InterfaceConversions - interface exercises are now Interface-only
commit 4b8a7b4a061ea740e5b72c06b99cf6eaced2315d
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Mon Aug 29 10:39:03 2022 +0100
Update carbon test names for 1.dev suite test
commit 04e735223cc2c06fa3dd014538edcc5e4d5dd191
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Mon Aug 29 10:23:45 2022 +0100
Point to 1.15 for carbon tests
commit 450e49479fc2daed3bc6a08234a95df8fe80382e
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Mon Aug 29 10:11:23 2022 +0100
Move InterfaceSubscriptionsIT test to 1.15 folder
commit b1cd99d8074f789927d2e02b46a085fcd7a88319
Merge: 1dfdc2e7c5 f21b165c78
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Mon Aug 29 09:47:09 2022 +0100
Merge remote-tracking branch 'origin/main' into dylan-lf-15-reenable-tests
commit 1dfdc2e7c503e9d798b60bc1279633295e50bb0c
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Thu Aug 25 16:58:37 2022 +0100
Add NotExtended versions of all tests which use extended interfaces
commit 6398fa96c5c1d14dda1ff724d3d4b5de6301b97b
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Thu Aug 25 13:01:30 2022 +0100
Make versions of tests that are NotExtended
commit c2daf05e134ab3d0d27d83a7ef24e07553b15c3e
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Thu Aug 25 12:20:03 2022 +0100
Reenable disabled tests from #14770 / #14773
commit f390d37941
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Thu Aug 25 11:56:52 2022 +0100
Remove 1.dev-only references from 1.15 protobuf
commit 87d6b540aa
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Thu Aug 25 11:36:08 2022 +0100
Temporarily disable failing damlc tests
commit 05ea7bdb75
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Thu Aug 25 09:49:08 2022 +0100
Update desugared daml for UExerciseInterface[Guarded] generation
commit 14fdd5f725
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Thu Aug 25 09:44:59 2022 +0100
Run damlc interface tests w/o requires when since DAML_INTERFACE
commit d73c86df3f
Merge: 9a83d0776e
00705af419
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Wed Aug 24 16:35:31 2022 +0100
Merge remote-tracking branch 'origin/main' into dylan-lf-15-minimal-distinguish-guards
commit 9a83d0776e
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Wed Aug 24 15:22:59 2022 +0100
Exclude via $cexerciseGuarded check - ClassOpId approach did not work
commit b635dcd7cb
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Wed Aug 24 12:59:57 2022 +0100
Add check for isId to splitDFunId
commit dcfa1e0ebf
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Wed Aug 24 11:43:19 2022 +0100
Remove all instances of guarded exercises in versions <= 1.15
commit b0985ccdbd
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Tue Aug 23 13:10:15 2022 +0100
Remove guarded exercise when Extended Interfaces are not enabled
commit 125280ca60
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Mon Aug 22 15:33:55 2022 +0100
Clarify purpose of `Maybe Expr` type for exercise guard
Co-Authored-By: Moisés Ackerman <6054733+akrmn@users.noreply.github.com>
commit 50cff3004b
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Mon Aug 22 15:32:17 2022 +0100
Remove unnecessary mention of v1_14 from supportedInputVersions
Co-Authored-By: Moisés Ackerman <6054733+akrmn@users.noreply.github.com>
commit 89744ef341
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Mon Aug 22 15:31:04 2022 +0100
Rename interface features
Co-Authored-By: Moisés Ackerman <6054733+akrmn@users.noreply.github.com>
commit c173799c47
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Mon Aug 22 15:23:13 2022 +0100
Attach correct range to guard support error (if any)
Co-Authored-By: Moisés Ackerman <6054733+akrmn@users.noreply.github.com>
commit c41f8480ed
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Thu Aug 18 12:57:28 2022 +0100
Update to new GHC revision, removes pred argument from `exercise`
commit d9dfe87252
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Tue Aug 16 12:06:04 2022 +0100
Desugar UExerciseInterface[Guarded] differently, point to updated GHC
commit dd0ac96dcd
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Tue Aug 16 12:05:53 2022 +0100
Make exercise guards nullable, ignore Nothing in decode/encode
commit 53e23fac26
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Tue Aug 23 13:13:09 2022 +0100
lint
commit abf5267051
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Tue Aug 23 12:50:04 2022 +0100
Move InterfaceSubscriptionsIT test back into 1.dev suite
commit c2d1499747
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Tue Aug 23 12:00:17 2022 +0100
Use dictionary comprehension to generate ledger/test-common test_names
commit 0d5f167fc6
Merge: 0242452662
ec4c86ac2d
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Tue Aug 23 10:27:21 2022 +0100
Merge remote-tracking branch 'origin/main' into dylan-lf-15-minimal
commit 0242452662
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Tue Aug 23 10:26:29 2022 +0100
Temporarily disable decode extended interface primitives test
commit b17ca7f03c
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Mon Aug 22 16:26:10 2022 +0100
lint
commit ceaca2b0f6
Merge: c11eb08083
95d00c4e8a
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Mon Aug 22 16:12:43 2022 +0100
Merge remote-tracking branch 'origin/main' into dylan-lf-15-minimal
commit c11eb08083
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Mon Aug 22 15:20:50 2022 +0100
Disable PureConfigReaderWriter tests that assume early-access == stable
commit 03734d2f23
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Mon Aug 22 14:02:55 2022 +0100
Also disable conformance-test-tls1.2-or-newer-1.15
commit e683ea3d7c
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Mon Aug 22 14:00:45 2022 +0100
Temporarily disable 1.15 conformance tests - handle in another PR
commit 6fb140b0b6
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Mon Aug 22 13:59:58 2022 +0100
lint
commit 65531fe577
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Mon Aug 22 11:00:41 2022 +0100
Run retroactive implements tests only in extended interfaces
commit edf20bf4a7
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Fri Aug 19 17:48:39 2022 +0100
Fix StableVersions back to 1.14, make EarlyAccessVersions 1.15
commit 12818dc58f
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Thu Aug 18 18:06:36 2022 +0100
Allow unsafe_from_interface and interface_template_type_rep in 1.15
commit ff7271de1a
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Fri Aug 19 10:55:40 2022 +0100
Update tests with extended interface features to only run on 1.dev
commit 9558feaec8
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Fri Aug 19 16:47:19 2022 +0100
satisfy changelog check
CHANGELOG_BEGIN
CHANGELOG_END
commit 337cc25b7a
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Wed Aug 17 16:36:45 2022 +0100
Fix InterfaceNotSupported message to 1.15 or higher
commit 4282ae396b
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Tue Aug 16 17:41:15 2022 +0100
Move v1_15 ledger-api-tests into own suite
commit ac3d0a9f25
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Fri Aug 19 15:18:41 2022 +0100
Reinclude 1.15 in COMPILER_LF_VERSIONS to build model-tests-1.15
commit 718879020d
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Fri Aug 19 14:43:35 2022 +0100
Add 1.15 test suite to testtool
commit a6fd63d3d9
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Fri Aug 19 14:43:23 2022 +0100
Add 1.15 as preview version
commit f5c48ddc99
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Fri Aug 19 14:43:12 2022 +0100
Make 1.14 default again
commit b9527c1136
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Wed Aug 17 14:23:16 2022 +0100
Update Version 1.15 changelog with Call/implements
commit 9cecad5205
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Wed Aug 17 11:24:49 2022 +0100
Add Tests file for 1.15 in ledger API testtool
commit cde583d08d
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Tue Aug 16 16:41:58 2022 +0100
Remove references to dev from 1.15 protobufs
commit 904da5679b
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Tue Aug 16 13:04:19 2022 +0100
Stage 1.15 protobuf
commit 196fa6a3cf
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Tue Aug 16 11:54:20 2022 +0100
Update Ast/Version & docs for 1.15, split interface into simple/extended
commit 1c58421f2d
Author: Dylan Thinnes <dylan.thinnes@digitalasset.com>
Date: Mon Aug 15 13:05:37 2022 +0100
Add version 1.15 - move interfaces into them
* API-test-tool: add InterfaceSubscriptionsIT to LF 1.15 tests
CHANGELOG_BEGIN
CHANGELOG_END
* fix bug
* Add version 1.15 - move interfaces into them
* Update Ast/Version & docs for 1.15, split interface into simple/extended
* Make 1.14 default again
* Update tests with extended interface features to only run on 1.dev
* Fix StableVersions back to 1.14, make EarlyAccessVersions 1.15
* Run retroactive implements tests only in extended interfaces
* Disable PureConfigReaderWriter tests that assume early-access == stable
* lint
* Move InterfaceSubscriptionsIT test back into 1.dev suite
* lint
* Remove unnecessary mention of v1_14 from supportedInputVersions
Co-Authored-By: Moisés Ackerman <6054733+akrmn@users.noreply.github.com>
* Run damlc interface tests w/o requires when since DAML_INTERFACE
* Temporarily disable failing damlc tests
* Reenable disabled tests from #14770 / #14773
* Move InterfaceSubscriptionsIT test to 1.15 folder
* Remove InterfaceConversions - interface exercises are now Interface-only
* Re-enable assertEquals
* Modify PureConfigReaderWriterSpec to account for stable != early-access
* Disable conformance tests
* Disable on-canton conformance_test instead
* Remove InterfaceTypeRepCheck - all exercises are on interface now
* Fix UpcastDowncast tests
* Fix DowncastUpcast 1.15 test, convert assets to token in Guarded test
* Move typerep/unsafeFromInterface decode tests to basic interfaces
* Fix desugared daml for damlc test changes
* Reintroduce InterfaceConversions - remove impossible exercise
This reverts commit 075a62e6f263b86a342e887a0015cf0b812ad4e1.
* Reintroduce InterfaceTypeRepCheck - fix test to use T2Choice
This reverts commit d8a0a7f299
.
* Run InterfaceTypeRepCheck for LF 1.15
Co-authored-by: Remy Haemmerle <Remy.Haemmerle@daml.com>
Co-authored-by: Moisés Ackerman <6054733+akrmn@users.noreply.github.com>