do not test anymore LF 1.6 and 1.7 (#17434)

This commit is contained in:
Remy 2023-09-19 13:27:26 +02:00 committed by GitHub
parent 3d08291ae6
commit 4f2007238b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
12 changed files with 12 additions and 54 deletions

View File

@ -31,7 +31,7 @@ class DamlLfEncoderTest
"be readable" in {
val modules_1_6 = Set[DottedName](
val modules_1_8 = Set[DottedName](
"UnitMod",
"BoolMod",
"Int64Mod",
@ -48,10 +48,10 @@ class DamlLfEncoderTest
"OptionMod",
"TextMapMod",
"EnumMod",
"NumericMod",
"AnyMod",
"SynonymMod",
)
val modules_1_7 = modules_1_6 + "NumericMod" + "AnyMod"
val modules_1_8 = modules_1_7 + "SynonymMod"
val modules_1_11 = modules_1_8 + "GenMapMod"
val modules_1_13 = modules_1_11 + "BigNumericMod"
val modules_1_14 = modules_1_13 + "ExceptionMod"
@ -61,8 +61,6 @@ class DamlLfEncoderTest
val versions = Table(
"versions" -> "modules",
"1.6" -> modules_1_6,
"1.7" -> modules_1_7,
"1.8" -> modules_1_8,
"1.11" -> modules_1_11,
"1.13" -> modules_1_13,

View File

@ -100,8 +100,6 @@ LF_DEV_VERSIONS = [
# All LF versions
LF_VERSIONS = [
"1.6",
"1.7",
"1.8",
"1.11",
"1.12",

View File

@ -10,8 +10,7 @@ import org.junit.runners.Suite;
@Suite.SuiteClasses({
DecimalTestForAll.class,
EnumTestForForAll.class,
NumericTestFor1_7AndFor1_8AndFor1_11AndFor1_12ndFor1_13AndFor1_14AndFor1_15AndFor1_devAndFor2_dev
.class,
NumericTestForAll.class,
GenMapTestFor1_11AndFor1_12ndFor1_13AndFor1_14AndFor1_15AndFor1_devAndFor2_dev.class,
})
public class AllTestsFor1_11 {}

View File

@ -10,8 +10,7 @@ import org.junit.runners.Suite;
@Suite.SuiteClasses({
DecimalTestForAll.class,
EnumTestForForAll.class,
NumericTestFor1_7AndFor1_8AndFor1_11AndFor1_12ndFor1_13AndFor1_14AndFor1_15AndFor1_devAndFor2_dev
.class,
NumericTestForAll.class,
GenMapTestFor1_11AndFor1_12ndFor1_13AndFor1_14AndFor1_15AndFor1_devAndFor2_dev.class,
})
public class AllTestsFor1_12 {}

View File

@ -10,8 +10,7 @@ import org.junit.runners.Suite;
@Suite.SuiteClasses({
DecimalTestForAll.class,
EnumTestForForAll.class,
NumericTestFor1_7AndFor1_8AndFor1_11AndFor1_12ndFor1_13AndFor1_14AndFor1_15AndFor1_devAndFor2_dev
.class,
NumericTestForAll.class,
GenMapTestFor1_11AndFor1_12ndFor1_13AndFor1_14AndFor1_15AndFor1_devAndFor2_dev.class,
})
public class AllTestsFor1_14 {}

View File

@ -10,8 +10,7 @@ import org.junit.runners.Suite;
@Suite.SuiteClasses({
DecimalTestForAll.class,
EnumTestForForAll.class,
NumericTestFor1_7AndFor1_8AndFor1_11AndFor1_12ndFor1_13AndFor1_14AndFor1_15AndFor1_devAndFor2_dev
.class,
NumericTestForAll.class,
GenMapTestFor1_11AndFor1_12ndFor1_13AndFor1_14AndFor1_15AndFor1_devAndFor2_dev.class,
})
public class AllTestsFor1_15 {}

View File

@ -1,14 +0,0 @@
// Copyright (c) 2023 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
package com.daml.testing;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@RunWith(Suite.class)
@Suite.SuiteClasses({
DecimalTestForAll.class,
EnumTestForForAll.class,
})
public class AllTestsFor1_6 {}

View File

@ -1,16 +0,0 @@
// Copyright (c) 2023 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
package com.daml.testing;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
@RunWith(Suite.class)
@Suite.SuiteClasses({
DecimalTestForAll.class,
EnumTestForForAll.class,
NumericTestFor1_7AndFor1_8AndFor1_11AndFor1_12ndFor1_13AndFor1_14AndFor1_15AndFor1_devAndFor2_dev
.class,
})
public class AllTestsFor1_7 {}

View File

@ -10,7 +10,6 @@ import org.junit.runners.Suite;
@Suite.SuiteClasses({
DecimalTestForAll.class,
EnumTestForForAll.class,
NumericTestFor1_7AndFor1_8AndFor1_11AndFor1_12ndFor1_13AndFor1_14AndFor1_15AndFor1_devAndFor2_dev
.class,
NumericTestForAll.class,
})
public class AllTestsFor1_8 {}

View File

@ -10,8 +10,7 @@ import org.junit.runners.Suite;
@Suite.SuiteClasses({
DecimalTestForAll.class,
EnumTestForForAll.class,
NumericTestFor1_7AndFor1_8AndFor1_11AndFor1_12ndFor1_13AndFor1_14AndFor1_15AndFor1_devAndFor2_dev
.class,
NumericTestForAll.class,
GenMapTestFor1_11AndFor1_12ndFor1_13AndFor1_14AndFor1_15AndFor1_devAndFor2_dev.class,
})
public class AllTestsFor1_dev {}

View File

@ -10,8 +10,7 @@ import org.junit.runners.Suite;
@Suite.SuiteClasses({
DecimalTestForAll.class,
EnumTestForForAll.class,
NumericTestFor1_7AndFor1_8AndFor1_11AndFor1_12ndFor1_13AndFor1_14AndFor1_15AndFor1_devAndFor2_dev
.class,
NumericTestForAll.class,
GenMapTestFor1_11AndFor1_12ndFor1_13AndFor1_14AndFor1_15AndFor1_devAndFor2_dev.class,
})
public class AllTestsFor2_dev {}

View File

@ -15,8 +15,7 @@ import org.junit.runner.RunWith;
import test.numericmod.Box;
@RunWith(JUnitPlatform.class)
public
class NumericTestFor1_7AndFor1_8AndFor1_11AndFor1_12ndFor1_13AndFor1_14AndFor1_15AndFor1_devAndFor2_dev {
public class NumericTestForAll {
@Test
void numeric2Value2Numeric() {