Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server unit tests #39

Merged
merged 8 commits into from
Dec 1, 2024
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
49 changes: 0 additions & 49 deletions build.bat

This file was deleted.

27 changes: 23 additions & 4 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,30 +1,49 @@
import com.fagi.test.TestResultsService
import info.solidsoft.gradle.pitest.PitestPluginExtension
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
import org.gradle.api.tasks.testing.logging.TestLogEvent

plugins {
id("info.solidsoft.pitest") version "1.15.0" apply false
}

allprojects {
group = "com.fagi"
version = "1.0-snapshot"
}

subprojects {
apply(plugin = "java")

repositories {
mavenCentral()
}
apply(plugin = "info.solidsoft.pitest")

tasks.withType<JavaCompile> {
sourceCompatibility = JavaVersion.VERSION_21.toString()
targetCompatibility = JavaVersion.VERSION_21.toString()
}

configure<PitestPluginExtension> {
threads.set(4)
outputFormats.set(listOf("XML", "HTML"))
exportLineCoverage.set(true)
timestampedReports.set(false)
junit5PluginVersion.set("1.2.1")
verbose.set(false)

if (project.name in listOf("shared")) {
failWhenNoMutations = false
}
}
}

// Register the custom build service
val testResultsServiceProvider = gradle.sharedServices.registerIfAbsent("testResultsService", TestResultsService::class.java) {}

// Configure all projects to use the custom build service
allprojects {
repositories {
mavenCentral()
}

tasks.withType<Test> {
testLogging {
events = setOf(
Expand Down
24 changes: 0 additions & 24 deletions build_linux.sh

This file was deleted.

24 changes: 0 additions & 24 deletions build_osx.sh

This file was deleted.

Binary file removed external/gson-2.7.jar
Binary file not shown.
37 changes: 0 additions & 37 deletions external/javafx/linux/legal/javafx.base/ADDITIONAL_LICENSE_INFO

This file was deleted.

27 changes: 0 additions & 27 deletions external/javafx/linux/legal/javafx.base/ASSEMBLY_EXCEPTION

This file was deleted.

Loading
Loading