corda/serialization/src/test
2020-06-17 18:54:54 +01:00
..
java/net/corda/serialization/internal/amqp CORDA-3206: Move serialization tests into separate module to break de… (#5452) 2019-09-12 16:14:44 +01:00
kotlin/net/corda/serialization/internal Merge commit 'fe617818895edab334d80c5e8de2b38f39e67af6' into chrisr3-os44-merge 2020-06-17 18:54:54 +01:00
resources/net/corda/serialization/internal/amqp CORDA-3316: Add ThrowableEvolutionTests unit test (#6167) 2020-04-23 08:54:37 +01:00
README.md CORDA-3206: Move serialization tests into separate module to break de… (#5452) 2019-09-12 16:14:44 +01:00

Adding tests to the Serialization module

Any tests that do not require further Corda dependencies (other than core) should be added to this module, anything that requires additional Corda dependencies needs to go into serialization-tests.

The Corda Serialization module should be self-contained and compilable to Java 8 (for the DJVM) bytecode when using a Java 11 compiler. Prior to this change, it was impossible to use a Java 11 compiler to compile this module to Java 8 bytecode due to its dependencies on other modules compiled to Java 11 (node-driver and transitive dependencies including: test-utils, node, test-common, common-logging, node-api, client-mock. tools-cliutils). Therefore, any tests that require further Corda dependencies need to be defined in the module serialization-tests, which has the full set of dependencies including node-driver.