daml/sdk/language-support/java/codegen
2024-07-09 17:15:30 +02:00
..
src Rename com.daml.lf to com.digitalasset.daml.lf (#19431) 2024-06-25 18:20:04 +00:00
BUILD.bazel move proto archive in com.digitalasset (#19497) 2024-07-09 17:15:30 +02:00
codegen.bzl Enrich Templates and Interface codegen defs with PackageName and PackageVersion (#19381) 2024-06-25 08:50:56 +00:00
README.md move to subdir 3.0 (#18520) 2024-03-22 02:27:46 +01:00

Java Codegen

Tests

The codegen code source is provided with two sets of tests:

  • The standard tests (under src/test/java-* directory) which are based on dar files produced by daml-lf-encoder. Hence those test do not dependent on Daml compilers. Those tests are designed to test the codegen with precise features of LF, even if the compiler do not support them.

  • The integration tests (under src/it/java-* directory) which are based on dar files produced by different version of the SDK. Those tests are here to test the codegen on daml-lf patterns generated by the compiler and verify backward compatibility.

Each one of those sets test the codegen with different versions of daml-lf. Some the versions are however missing, and should ideally be implemented in the future.