forked from json4s/json4s
-
Notifications
You must be signed in to change notification settings - Fork 0
/
scala_3_test_filter.sbt
38 lines (37 loc) · 1006 Bytes
/
scala_3_test_filter.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
val excludeTests = Set(
"CustomTypeHintFieldNameExample",
"FieldSerializerBugs",
"FieldSerializerExamples",
"FullTypeHintExamples",
"JacksonEitherTest",
"JacksonExtractionBugs",
"JacksonExtractionExamples",
"JacksonIgnoreCompanionCtorSpec",
"JacksonJsonFormatsSpec",
"JacksonLottoExample",
"JacksonRichSerializerTest",
"JacksonStrictOptionParsingModeSpec",
"MappedHintExamples",
"NativeEitherTest",
"NativeExtractionBugs",
"NativeExtractionExamples",
"NativeIgnoreCompanionCtorSpec",
"NativeJsonFormatsSpec",
"NativeLottoExample",
"NativeRichSerializerTest",
"NativeStrictOptionParsingModeSpec",
"SerializationBugs",
"SerializationExamples",
"ShortTypeHintExamples",
"jackson.JacksonSerializationSpec",
"native.LazyValBugs",
"native.NativeSerializationSpec",
"reflect.ReflectorSpec",
).map("org.json4s." + _)
ThisBuild / Test / testOptions ++= {
if (scalaBinaryVersion.value == "3") {
Seq(Tests.Exclude(excludeTests))
} else {
Nil
}
}