diff --git a/.gradle/8.14/executionHistory/executionHistory.bin b/.gradle/8.14/executionHistory/executionHistory.bin index 505e734a..0e40d550 100644 Binary files a/.gradle/8.14/executionHistory/executionHistory.bin and b/.gradle/8.14/executionHistory/executionHistory.bin differ diff --git a/.gradle/8.14/executionHistory/executionHistory.lock b/.gradle/8.14/executionHistory/executionHistory.lock index 8c719654..e9a77132 100644 Binary files a/.gradle/8.14/executionHistory/executionHistory.lock and b/.gradle/8.14/executionHistory/executionHistory.lock differ diff --git a/.gradle/8.14/fileHashes/fileHashes.bin b/.gradle/8.14/fileHashes/fileHashes.bin index e17959be..15f690e5 100644 Binary files a/.gradle/8.14/fileHashes/fileHashes.bin and b/.gradle/8.14/fileHashes/fileHashes.bin differ diff --git a/.gradle/8.14/fileHashes/fileHashes.lock b/.gradle/8.14/fileHashes/fileHashes.lock index 0fb3a000..73e5355a 100644 Binary files a/.gradle/8.14/fileHashes/fileHashes.lock and b/.gradle/8.14/fileHashes/fileHashes.lock differ diff --git a/.gradle/9.1.0/executionHistory/executionHistory.bin b/.gradle/9.1.0/executionHistory/executionHistory.bin index b5e5b589..15e4e2ac 100644 Binary files a/.gradle/9.1.0/executionHistory/executionHistory.bin and b/.gradle/9.1.0/executionHistory/executionHistory.bin differ diff --git a/.gradle/9.1.0/executionHistory/executionHistory.lock b/.gradle/9.1.0/executionHistory/executionHistory.lock index c07488cb..285bca11 100644 Binary files a/.gradle/9.1.0/executionHistory/executionHistory.lock and b/.gradle/9.1.0/executionHistory/executionHistory.lock differ diff --git a/.gradle/9.1.0/fileHashes/fileHashes.bin b/.gradle/9.1.0/fileHashes/fileHashes.bin index 89be73e2..7108d11c 100644 Binary files a/.gradle/9.1.0/fileHashes/fileHashes.bin and b/.gradle/9.1.0/fileHashes/fileHashes.bin differ diff --git a/.gradle/9.1.0/fileHashes/fileHashes.lock b/.gradle/9.1.0/fileHashes/fileHashes.lock index 200bed1f..46fb2abb 100644 Binary files a/.gradle/9.1.0/fileHashes/fileHashes.lock and b/.gradle/9.1.0/fileHashes/fileHashes.lock differ diff --git a/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/.gradle/buildOutputCleanup/buildOutputCleanup.lock index df721c71..2d5e8c0b 100644 Binary files a/.gradle/buildOutputCleanup/buildOutputCleanup.lock and b/.gradle/buildOutputCleanup/buildOutputCleanup.lock differ diff --git a/.gradle/buildOutputCleanup/cache.properties b/.gradle/buildOutputCleanup/cache.properties index 2bcdc1dc..177af49d 100644 --- a/.gradle/buildOutputCleanup/cache.properties +++ b/.gradle/buildOutputCleanup/cache.properties @@ -1,2 +1,2 @@ -#Wed Dec 03 17:24:18 CET 2025 +#Wed Dec 03 17:36:43 CET 2025 gradle.version=9.1.0 diff --git a/.gradle/buildOutputCleanup/outputFiles.bin b/.gradle/buildOutputCleanup/outputFiles.bin index 3a7b9077..b83668bf 100644 Binary files a/.gradle/buildOutputCleanup/outputFiles.bin and b/.gradle/buildOutputCleanup/outputFiles.bin differ diff --git a/build.gradle b/build.gradle index deb3a0de..ea70b117 100644 --- a/build.gradle +++ b/build.gradle @@ -37,6 +37,11 @@ sourceSets { test { useJUnitPlatform() + testLogging { + events "passed", "skipped", "failed" + exceptionFormat "full" + showStandardStreams = true + } finalizedBy jacocoTestReport } jacocoTestReport { diff --git a/git show bc0e30860cb3697296a4ef6ee22735a5c83cf522 b/git show bc0e30860cb3697296a4ef6ee22735a5c83cf522 new file mode 100644 index 00000000..28599ad1 --- /dev/null +++ b/git show bc0e30860cb3697296a4ef6ee22735a5c83cf522 @@ -0,0 +1,44 @@ +commit bc0e30860cb3697296a4ef6ee22735a5c83cf522 (HEAD -> database) +Author: Riley Schneider <88947587+Ferryry@users.noreply.github.com> +Date: Wed Dec 3 17:30:33 2025 +0100 + + First database tests + +commit 26f7ecbee653b98739e75eb8c4707745f252a1a8 (origin/main, origin/HEAD, main) +Merge: 668a76e2 eed1390c +Author: Ferryry +Date: Wed Dec 3 16:44:45 2025 +0100 + + Merge pull request 'Skeleton' (#1) from Skeleton into main + + Reviewed-on: https://home.luithardt.cloud:5400/KevinSchoenmayer/GseTDDUebungKCLR/pulls/1 + +commit eed1390c6513f1b5e827fd6e09c91f54da7be463 (origin/Skeleton, Skeleton) +Author: Riley Schneider <88947587+Ferryry@users.noreply.github.com> +Date: Wed Dec 3 16:42:41 2025 +0100 + + Remove database folder + +commit b732d8d4b50abc5893d138c6a574fef0025981e0 +Author: Riley Schneider <88947587+Ferryry@users.noreply.github.com> +Date: Wed Dec 3 16:38:10 2025 +0100 + + Initial Commit + +commit c5e26bf594b282ab3d665590d0535b61afa18247 +Author: KevinSchoenmayer +Date: Wed Dec 3 16:28:17 2025 +0100 + + Rough Skeleton for Tests and Classes + +commit 668a76e26cfd908499bb74a7732269206062df86 +Author: KevinSchoenmayer +Date: Wed Dec 3 15:26:09 2025 +0100 + + Initial Test Push + +commit 2d963c7fd8ab188625c0e2bc9203c4d55ee07aa3 +Author: KevinSchoenmayer +Date: Wed Dec 3 15:18:41 2025 +0100 + + Initial commit diff --git a/test/hhn/temp/project/DatabaseGoodCasesTest.java b/test/hhn/temp/project/DatabaseGoodCasesTest.java index 2d6cc324..defa43ac 100644 --- a/test/hhn/temp/project/DatabaseGoodCasesTest.java +++ b/test/hhn/temp/project/DatabaseGoodCasesTest.java @@ -4,8 +4,12 @@ import hhn.temp.project.provider.DatabaseManager; import hhn.temp.project.provider.SimpleDatabaseManager; import org.junit.jupiter.api.BeforeEach; -public class DatabaseGoodCasesTest -{ +import java.sql.SQLException; + +public class DatabaseGoodCasesTest { + + private DatabaseManager databaseManager; + public class TestClass { private int id; private String dataString; @@ -20,6 +24,10 @@ public class DatabaseGoodCasesTest @BeforeEach public void setup() { - DatabaseManager databaseTaskManager = new SimpleDatabaseManager<>(); + databaseManager = new SimpleDatabaseManager<>(); + } + + public void assertConnectToDatabase() throws SQLException { + databaseManager.connect(); } }