diff --git a/.gitignore b/.gitignore index ac96206f..f7ab597e 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ +build/ .gradle/ \ No newline at end of file diff --git a/.gradle/8.14/checksums/checksums.lock b/.gradle/8.14/checksums/checksums.lock index a023d6cd..81d29cbf 100644 Binary files a/.gradle/8.14/checksums/checksums.lock and b/.gradle/8.14/checksums/checksums.lock differ diff --git a/.gradle/8.14/checksums/md5-checksums.bin b/.gradle/8.14/checksums/md5-checksums.bin index e455e69b..5831984b 100644 Binary files a/.gradle/8.14/checksums/md5-checksums.bin and b/.gradle/8.14/checksums/md5-checksums.bin differ diff --git a/.gradle/8.14/checksums/sha1-checksums.bin b/.gradle/8.14/checksums/sha1-checksums.bin index a297937f..dbb0e154 100644 Binary files a/.gradle/8.14/checksums/sha1-checksums.bin and b/.gradle/8.14/checksums/sha1-checksums.bin differ diff --git a/.gradle/8.14/executionHistory/executionHistory.bin b/.gradle/8.14/executionHistory/executionHistory.bin new file mode 100644 index 00000000..0e40d550 Binary files /dev/null and b/.gradle/8.14/executionHistory/executionHistory.bin differ diff --git a/.gradle/8.14/expanded/expanded.lock b/.gradle/8.14/expanded/expanded.lock new file mode 100644 index 00000000..e4bca16e Binary files /dev/null and b/.gradle/8.14/expanded/expanded.lock differ diff --git a/.gradle/8.14/fileHashes/fileHashes.bin b/.gradle/8.14/fileHashes/fileHashes.bin index 166eb531..6c9e178e 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 cc3f934a..67b3dde6 100644 Binary files a/.gradle/8.14/fileHashes/fileHashes.lock and b/.gradle/8.14/fileHashes/fileHashes.lock differ diff --git a/.gradle/8.14/fileHashes/resourceHashesCache.bin b/.gradle/8.14/fileHashes/resourceHashesCache.bin new file mode 100644 index 00000000..627fd171 Binary files /dev/null and b/.gradle/8.14/fileHashes/resourceHashesCache.bin differ diff --git a/.gradle/9.1.0/checksums/checksums.lock b/.gradle/9.1.0/checksums/checksums.lock new file mode 100644 index 00000000..c291e3a8 Binary files /dev/null and b/.gradle/9.1.0/checksums/checksums.lock differ diff --git a/.gradle/9.1.0/checksums/md5-checksums.bin b/.gradle/9.1.0/checksums/md5-checksums.bin new file mode 100644 index 00000000..d0012b1a Binary files /dev/null and b/.gradle/9.1.0/checksums/md5-checksums.bin differ diff --git a/.gradle/9.1.0/checksums/sha1-checksums.bin b/.gradle/9.1.0/checksums/sha1-checksums.bin new file mode 100644 index 00000000..e0818a62 Binary files /dev/null and b/.gradle/9.1.0/checksums/sha1-checksums.bin differ diff --git a/.gradle/9.1.0/executionHistory/executionHistory.bin b/.gradle/9.1.0/executionHistory/executionHistory.bin new file mode 100644 index 00000000..76d8a3ad Binary files /dev/null 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 new file mode 100644 index 00000000..d242ea5b Binary files /dev/null and b/.gradle/9.1.0/executionHistory/executionHistory.lock differ diff --git a/.gradle/9.1.0/expanded/expanded.lock b/.gradle/9.1.0/expanded/expanded.lock new file mode 100644 index 00000000..5bc641f6 Binary files /dev/null and b/.gradle/9.1.0/expanded/expanded.lock differ diff --git a/build/test-results/test/binary/output.bin.idx b/.gradle/9.1.0/fileChanges/last-build.bin similarity index 100% rename from build/test-results/test/binary/output.bin.idx rename to .gradle/9.1.0/fileChanges/last-build.bin diff --git a/.gradle/9.1.0/fileHashes/fileHashes.bin b/.gradle/9.1.0/fileHashes/fileHashes.bin new file mode 100644 index 00000000..2c48a686 Binary files /dev/null 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 new file mode 100644 index 00000000..1e6947cf Binary files /dev/null and b/.gradle/9.1.0/fileHashes/fileHashes.lock differ diff --git a/.gradle/9.1.0/fileHashes/resourceHashesCache.bin b/.gradle/9.1.0/fileHashes/resourceHashesCache.bin new file mode 100644 index 00000000..19617dc6 Binary files /dev/null and b/.gradle/9.1.0/fileHashes/resourceHashesCache.bin differ diff --git a/build/test-results/test/binary/output.bin b/.gradle/9.1.0/gc.properties similarity index 100% rename from build/test-results/test/binary/output.bin rename to .gradle/9.1.0/gc.properties diff --git a/.gradle/buildOutputCleanup/buildOutputCleanup.lock b/.gradle/buildOutputCleanup/buildOutputCleanup.lock index ae62fefe..c9266c83 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 ef901a0c..36b2069f 100644 --- a/.gradle/buildOutputCleanup/cache.properties +++ b/.gradle/buildOutputCleanup/cache.properties @@ -1,2 +1,2 @@ -#Wed Dec 03 17:27:55 CET 2025 -gradle.version=8.14 +#Wed Dec 03 19:45:38 CET 2025 +gradle.version=9.1.0 diff --git a/.gradle/buildOutputCleanup/outputFiles.bin b/.gradle/buildOutputCleanup/outputFiles.bin new file mode 100644 index 00000000..896f9443 Binary files /dev/null and b/.gradle/buildOutputCleanup/outputFiles.bin differ diff --git a/.gradle/file-system.probe b/.gradle/file-system.probe new file mode 100644 index 00000000..affeca69 Binary files /dev/null and b/.gradle/file-system.probe differ diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 00000000..ffe7c8fc --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/modules/Template.test.iml b/.idea/modules/Template.test.iml new file mode 100644 index 00000000..bb71afac --- /dev/null +++ b/.idea/modules/Template.test.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/build.gradle b/build.gradle index 6fbda819..ea70b117 100644 --- a/build.gradle +++ b/build.gradle @@ -14,6 +14,7 @@ dependencies { testImplementation platform('org.junit:junit-bom:5.10.0') testImplementation 'org.junit.jupiter:junit-jupiter' testRuntimeOnly 'org.junit.platform:junit-platform-launcher' + implementation 'com.mysql:mysql-connector-j:9.5.0' } jacoco { diff --git a/build/classes/java/main/hhn/temp/project/provider/Database.class b/build/classes/java/main/hhn/temp/project/provider/Database.class index 90607670..bb1634f0 100644 Binary files a/build/classes/java/main/hhn/temp/project/provider/Database.class and b/build/classes/java/main/hhn/temp/project/provider/Database.class differ diff --git a/build/jacoco/test.exec b/build/jacoco/test.exec deleted file mode 100644 index b68a5c36..00000000 Binary files a/build/jacoco/test.exec and /dev/null differ diff --git a/build/libs/Template-1.0-SNAPSHOT.jar b/build/libs/Template-1.0-SNAPSHOT.jar deleted file mode 100644 index 25c67ad0..00000000 Binary files a/build/libs/Template-1.0-SNAPSHOT.jar and /dev/null differ diff --git a/build/reports/problems/problems-report.html b/build/reports/problems/problems-report.html index 73de4bc6..34fee3a7 100644 --- a/build/reports/problems/problems-report.html +++ b/build/reports/problems/problems-report.html @@ -650,12 +650,12 @@ code + .copy-button { diff --git a/build/reports/tests/test/classes/Gradle#20Test#20Executor#201.html b/build/reports/tests/test/classes/Gradle#20Test#20Executor#201.html deleted file mode 100644 index 53806a78..00000000 --- a/build/reports/tests/test/classes/Gradle#20Test#20Executor#201.html +++ /dev/null @@ -1,192 +0,0 @@ - - - - - -Test results - Class Gradle Test Executor 1 - - - - - -
-

Class Gradle Test Executor 1

- -
- - - - - -
-
- - - - - - - -
-
-
1
-

tests

-
-
-
-
1
-

failures

-
-
-
-
0
-

ignored

-
-
-
-
0.293s
-

duration

-
-
-
-
-
-
0%
-

successful

-
-
-
-
- -
-

Failed tests

-
- -

failed to execute tests

- -
org.gradle.api.internal.tasks.testing.TestSuiteExecutionException: Could not execute test class 'java.BadCasesTest'.
-	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:56)
-	at java.base@17.0.12/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-	at java.base@17.0.12/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
-	at java.base@17.0.12/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
-	at java.base@17.0.12/java.lang.reflect.Method.invoke(Method.java:568)
-	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
-	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
-	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
-	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:92)
-	at jdk.proxy2/jdk.proxy2.$Proxy6.processTestClass(Unknown Source)
-	at org.gradle.api.internal.tasks.testing.worker.TestWorker$2.run(TestWorker.java:177)
-	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:126)
-	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:103)
-	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:63)
-	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
-	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:122)
-	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:72)
-	at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
-	at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
-Caused by: java.lang.SecurityException: Prohibited package name: java
-	at java.base/java.lang.ClassLoader.preDefineClass(ClassLoader.java:900)
-	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1015)
-	at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
-	at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862)
-	at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760)
-	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)
-	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
-	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
-	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
-	at java.base/java.lang.Class.forName0(Native Method)
-	at java.base/java.lang.Class.forName(Class.java:467)
-	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.loadClass(JUnitPlatformTestClassProcessor.java:184)
-	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.access$100(JUnitPlatformTestClassProcessor.java:62)
-	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.execute(JUnitPlatformTestClassProcessor.java:120)
-	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.execute(JUnitPlatformTestClassProcessor.java:110)
-	at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:61)
-	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:54)
-	... 18 more
-
- -
- -
org.gradle.api.internal.tasks.testing.TestSuiteExecutionException: Could not execute test class 'java.GoodCasesTest'.
-	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:56)
-	at java.base@17.0.12/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
-	at java.base@17.0.12/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
-	at java.base@17.0.12/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
-	at java.base@17.0.12/java.lang.reflect.Method.invoke(Method.java:568)
-	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36)
-	at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24)
-	at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33)
-	at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:92)
-	at jdk.proxy2/jdk.proxy2.$Proxy6.processTestClass(Unknown Source)
-	at org.gradle.api.internal.tasks.testing.worker.TestWorker$2.run(TestWorker.java:177)
-	at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:126)
-	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:103)
-	at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:63)
-	at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56)
-	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:122)
-	at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:72)
-	at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69)
-	at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74)
-Caused by: java.lang.SecurityException: Prohibited package name: java
-	at java.base/java.lang.ClassLoader.preDefineClass(ClassLoader.java:900)
-	at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1015)
-	at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150)
-	at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862)
-	at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760)
-	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681)
-	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639)
-	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
-	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
-	at java.base/java.lang.Class.forName0(Native Method)
-	at java.base/java.lang.Class.forName(Class.java:467)
-	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.loadClass(JUnitPlatformTestClassProcessor.java:184)
-	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.access$100(JUnitPlatformTestClassProcessor.java:62)
-	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.execute(JUnitPlatformTestClassProcessor.java:120)
-	at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.execute(JUnitPlatformTestClassProcessor.java:110)
-	at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:61)
-	at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:54)
-	... 18 more
-
- -
-
-
-
-

Tests

- - - - - - - - - - - - - -
TestDurationResult
failed to execute tests0.293sfailed
-
-
- -
- - diff --git a/build/reports/tests/test/css/base-style.css b/build/reports/tests/test/css/base-style.css deleted file mode 100644 index 3ae6c587..00000000 --- a/build/reports/tests/test/css/base-style.css +++ /dev/null @@ -1,174 +0,0 @@ - -body { - margin: 0; - padding: 0; - font-family: sans-serif; - font-size: 12pt; -} - -body, a, a:visited { - color: #303030; -} - -#content { - padding: 30px 50px; -} - -#content h1 { - font-size: 160%; - margin-bottom: 10px; -} - -#footer { - margin-top: 100px; - font-size: 80%; - white-space: nowrap; -} - -#footer, #footer a { - color: #a0a0a0; -} - -#line-wrapping-toggle { - vertical-align: middle; -} - -#label-for-line-wrapping-toggle { - vertical-align: middle; -} - -ul { - margin-left: 0; -} - -h1, h2, h3 { - white-space: nowrap; -} - -h2 { - font-size: 120%; -} - -.tab-container .tab-container { - margin-left: 8px; -} - -ul.tabLinks { - padding: 0; - margin-bottom: 0; - overflow: auto; - min-width: 800px; - width: auto; - border-bottom: solid 1px #aaa; -} - -ul.tabLinks li { - float: left; - height: 100%; - list-style: none; - padding: 5px 10px; - border-radius: 7px 7px 0 0; - border: solid 1px transparent; - border-bottom: none; - margin-right: 6px; - background-color: #f0f0f0; -} - -ul.tabLinks li.deselected > a { - color: #6d6d6d; -} - -ul.tabLinks li:hover { - background-color: #fafafa; -} - -ul.tabLinks li.selected { - background-color: #c5f0f5; - border-color: #aaa; -} - -ul.tabLinks a { - font-size: 120%; - display: block; - outline: none; - text-decoration: none; - margin: 0; - padding: 0; -} - -ul.tabLinks li h2 { - margin: 0; - padding: 0; -} - -div.tab { -} - -div.selected { - display: block; -} - -div.deselected { - display: none; -} - -div.tab table { - min-width: 350px; - width: auto; - border-collapse: collapse; -} - -div.tab th, div.tab table { - border-bottom: solid 1px #d0d0d0; -} - -div.tab th { - text-align: left; - white-space: nowrap; - padding-left: 6em; -} - -div.tab th:first-child { - padding-left: 0; -} - -div.tab td { - white-space: nowrap; - padding-left: 6em; - padding-top: 5px; - padding-bottom: 5px; -} - -div.tab td:first-child { - padding-left: 0; -} - -div.tab td.numeric, div.tab th.numeric { - text-align: right; -} - -span.code { - display: inline-block; - margin-top: 0; - margin-bottom: 1em; -} - -span.code pre { - font-size: 11pt; - padding: 10px; - margin: 0; - background-color: #f7f7f7; - border: solid 1px #d0d0d0; - min-width: 700px; - width: auto; -} - -span.wrapped pre { - word-wrap: break-word; - white-space: pre-wrap; - word-break: break-all; -} - -label.hidden { - display: none; -} diff --git a/build/reports/tests/test/css/style.css b/build/reports/tests/test/css/style.css deleted file mode 100644 index ccb271c0..00000000 --- a/build/reports/tests/test/css/style.css +++ /dev/null @@ -1,97 +0,0 @@ - -#summary { - margin-top: 30px; - margin-bottom: 40px; -} - -#summary table { - border-collapse: collapse; -} - -#summary td { - vertical-align: top; -} - -.breadcrumbs, .breadcrumbs a { - color: #606060; -} - -.infoBox { - width: 110px; - padding-top: 15px; - padding-bottom: 15px; - text-align: center; -} - -.infoBox p { - margin: 0; -} - -.counter, .percent { - font-size: 120%; - font-weight: bold; - margin-bottom: 8px; -} - -#duration { - width: 125px; -} - -#successRate, .summaryGroup { - border: solid 2px #d0d0d0; - -moz-border-radius: 10px; - border-radius: 10px; -} - -#successRate { - width: 140px; - margin-left: 35px; -} - -#successRate .percent { - font-size: 180%; -} - -.success, .success a { - color: #008000; -} - -div.success, #successRate.success { - background-color: #bbd9bb; - border-color: #008000; -} - -.failures, .failures a { - color: #b60808; -} - -.skipped, .skipped a { - color: #c09853; -} - -div.failures, #successRate.failures { - background-color: #ecdada; - border-color: #b60808; -} - -ul.linkList { - padding-left: 0; -} - -ul.linkList li { - list-style: none; - margin-bottom: 5px; -} - -.code { - position: relative; -} - -.clipboard-copy-btn { - position: absolute; - top: 8px; - right: 8px; - padding: 4px 8px; - font-size: 0.9em; - cursor: pointer; -} diff --git a/build/reports/tests/test/index.html b/build/reports/tests/test/index.html deleted file mode 100644 index 066782b1..00000000 --- a/build/reports/tests/test/index.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - -Test results - Test Summary - - - - - -
-

Test Summary

-
- - - - - -
-
- - - - - - - -
-
-
1
-

tests

-
-
-
-
1
-

failures

-
-
-
-
0
-

ignored

-
-
-
-
0.293s
-

duration

-
-
-
-
-
-
0%
-

successful

-
-
-
-
- - -
-

Packages

- - - - - - - - - - - - - - - - - - - - - -
PackageTestsFailuresIgnoredDurationSuccess rate
-default-package -1100.293s0%
-
-
-

Classes

- - - - - - - - - - - - - - - - - - - - - -
ClassTestsFailuresIgnoredDurationSuccess rate
-Gradle Test Executor 1 -1100.293s0%
-
-
- -
- - diff --git a/build/reports/tests/test/js/report.js b/build/reports/tests/test/js/report.js deleted file mode 100644 index e6582171..00000000 --- a/build/reports/tests/test/js/report.js +++ /dev/null @@ -1,243 +0,0 @@ -(function (window, document) { - "use strict"; - - function changeElementClass(element, classValue) { - if (element.getAttribute("className")) { - element.setAttribute("className", classValue); - } else { - element.setAttribute("class", classValue); - } - } - - function getClassAttribute(element) { - if (element.getAttribute("className")) { - return element.getAttribute("className"); - } else { - return element.getAttribute("class"); - } - } - - function addClass(element, classValue) { - changeElementClass(element, getClassAttribute(element) + " " + classValue); - } - - function removeClass(element, classValue) { - changeElementClass(element, getClassAttribute(element).replace(classValue, "")); - } - - function getCheckBox() { - return document.getElementById("line-wrapping-toggle"); - } - - function getLabelForCheckBox() { - return document.getElementById("label-for-line-wrapping-toggle"); - } - - function findCodeBlocks() { - const codeBlocks = []; - const tabContainers = getTabContainers(); - for (let i = 0; i < tabContainers.length; i++) { - const spans = tabContainers[i].getElementsByTagName("span"); - for (let i = 0; i < spans.length; ++i) { - if (spans[i].className.indexOf("code") >= 0) { - codeBlocks.push(spans[i]); - } - } - } - return codeBlocks; - } - - function forAllCodeBlocks(operation) { - const codeBlocks = findCodeBlocks(); - - for (let i = 0; i < codeBlocks.length; ++i) { - operation(codeBlocks[i], "wrapped"); - } - } - - function toggleLineWrapping() { - const checkBox = getCheckBox(); - - if (checkBox.checked) { - forAllCodeBlocks(addClass); - } else { - forAllCodeBlocks(removeClass); - } - } - - function initClipboardCopyButton() { - document.querySelectorAll(".clipboard-copy-btn").forEach((button) => { - const copyElementId = button.getAttribute("data-copy-element-id"); - const elementWithCodeToSelect = document.getElementById(copyElementId); - - button.addEventListener("click", () => { - const text = elementWithCodeToSelect.innerText.trim(); - navigator.clipboard - .writeText(text) - .then(() => { - button.textContent = "Copied!"; - setTimeout(() => { - button.textContent = "Copy"; - }, 1500); - }) - .catch((err) => { - alert("Failed to copy to the clipboard: '" + err.message + "'. Check JavaScript console for more details.") - console.warn("Failed to copy to the clipboard", err); - }); - }); - }); - } - - function initControls() { - if (findCodeBlocks().length > 0) { - const checkBox = getCheckBox(); - const label = getLabelForCheckBox(); - - checkBox.onclick = toggleLineWrapping; - checkBox.checked = false; - - removeClass(label, "hidden"); - } - - initClipboardCopyButton() - } - - class TabManager { - baseId; - tabs; - titles; - headers; - - constructor(baseId, tabs, titles, headers) { - this.baseId = baseId; - this.tabs = tabs; - this.titles = titles; - this.headers = headers; - } - - select(i) { - this.deselectAll(); - - changeElementClass(this.tabs[i], "tab selected"); - changeElementClass(this.headers[i], "selected"); - - while (this.headers[i].firstChild) { - this.headers[i].removeChild(this.headers[i].firstChild); - } - - const a = document.createElement("a"); - - a.appendChild(document.createTextNode(this.titles[i])); - this.headers[i].appendChild(a); - } - - deselectAll() { - for (let i = 0; i < this.tabs.length; i++) { - changeElementClass(this.tabs[i], "tab deselected"); - changeElementClass(this.headers[i], "deselected"); - - while (this.headers[i].firstChild) { - this.headers[i].removeChild(this.headers[i].firstChild); - } - - const a = document.createElement("a"); - - const id = this.baseId + "-tab" + i; - a.setAttribute("id", id); - a.setAttribute("href", "#tab" + i); - a.onclick = () => { - this.select(i); - return false; - }; - a.appendChild(document.createTextNode(this.titles[i])); - - this.headers[i].appendChild(a); - } - } - } - - function getTabContainers() { - const tabContainers = Array.from(document.getElementsByClassName("tab-container")); - - // Used by existing TabbedPageRenderer users, which have not adjusted to use TabsRenderer yet. - const legacyContainer = document.getElementById("tabs"); - if (legacyContainer) { - tabContainers.push(legacyContainer); - } - - return tabContainers; - } - - function initTabs() { - let tabGroups = 0; - - function createTab(num, container) { - const tabElems = findTabs(container); - const tabManager = new TabManager("tabs" + num, tabElems, findTitles(tabElems), findHeaders(container)); - tabManager.select(0); - } - - const tabContainers = getTabContainers(); - - for (let i = 0; i < tabContainers.length; i++) { - createTab(tabGroups, tabContainers[i]); - tabGroups++; - } - - return true; - } - - function findTabs(container) { - return findChildElements(container, "DIV", "tab"); - } - - function findHeaders(container) { - const owner = findChildElements(container, "UL", "tabLinks"); - return findChildElements(owner[0], "LI", null); - } - - function findTitles(tabs) { - const titles = []; - - for (let i = 0; i < tabs.length; i++) { - const tab = tabs[i]; - const header = findChildElements(tab, "H2", null)[0]; - - header.parentNode.removeChild(header); - - if (header.innerText) { - titles.push(header.innerText); - } else { - titles.push(header.textContent); - } - } - - return titles; - } - - function findChildElements(container, name, targetClass) { - const elements = []; - const children = container.childNodes; - - for (let i = 0; i < children.length; i++) { - const child = children.item(i); - - if (child.nodeType === 1 && child.nodeName === name) { - if (targetClass && child.className.indexOf(targetClass) < 0) { - continue; - } - - elements.push(child); - } - } - - return elements; - } - - // Entry point. - - window.onload = function() { - initTabs(); - initControls(); - }; -} (window, window.document)); diff --git a/build/reports/tests/test/packages/default-package.html b/build/reports/tests/test/packages/default-package.html deleted file mode 100644 index d36b669f..00000000 --- a/build/reports/tests/test/packages/default-package.html +++ /dev/null @@ -1,115 +0,0 @@ - - - - - -Test results - Default package - - - - - -
-

Default package

- -
- - - - - -
-
- - - - - - - -
-
-
1
-

tests

-
-
-
-
1
-

failures

-
-
-
-
0
-

ignored

-
-
-
-
0.293s
-

duration

-
-
-
-
-
-
0%
-

successful

-
-
-
-
- - -
-

Classes

- - - - - - - - - - - - - - - - - - - -
ClassTestsFailuresIgnoredDurationSuccess rate
-Gradle Test Executor 1 -1100.293s0%
-
-
- -
- - diff --git a/build/test-results/test/TEST-Gradle#20Test#20Executor#201.xml b/build/test-results/test/TEST-Gradle#20Test#20Executor#201.xml deleted file mode 100644 index aafcba5d..00000000 --- a/build/test-results/test/TEST-Gradle#20Test#20Executor#201.xml +++ /dev/null @@ -1,88 +0,0 @@ - - - - - org.gradle.api.internal.tasks.testing.TestSuiteExecutionException: Could not execute test class 'java.BadCasesTest'. - at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:56) - at java.base@17.0.12/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base@17.0.12/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) - at java.base@17.0.12/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base@17.0.12/java.lang.reflect.Method.invoke(Method.java:568) - at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) - at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) - at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33) - at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:92) - at jdk.proxy2/jdk.proxy2.$Proxy6.processTestClass(Unknown Source) - at org.gradle.api.internal.tasks.testing.worker.TestWorker$2.run(TestWorker.java:177) - at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:126) - at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:103) - at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:63) - at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56) - at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:122) - at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:72) - at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69) - at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74) -Caused by: java.lang.SecurityException: Prohibited package name: java - at java.base/java.lang.ClassLoader.preDefineClass(ClassLoader.java:900) - at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1015) - at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) - at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862) - at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760) - at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681) - at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639) - at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) - at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) - at java.base/java.lang.Class.forName0(Native Method) - at java.base/java.lang.Class.forName(Class.java:467) - at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.loadClass(JUnitPlatformTestClassProcessor.java:184) - at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.access$100(JUnitPlatformTestClassProcessor.java:62) - at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.execute(JUnitPlatformTestClassProcessor.java:120) - at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.execute(JUnitPlatformTestClassProcessor.java:110) - at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:61) - at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:54) - ... 18 more - - org.gradle.api.internal.tasks.testing.TestSuiteExecutionException: Could not execute test class 'java.GoodCasesTest'. - at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:56) - at java.base@17.0.12/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) - at java.base@17.0.12/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) - at java.base@17.0.12/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) - at java.base@17.0.12/java.lang.reflect.Method.invoke(Method.java:568) - at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:36) - at org.gradle.internal.dispatch.ReflectionDispatch.dispatch(ReflectionDispatch.java:24) - at org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch(ContextClassLoaderDispatch.java:33) - at org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke(ProxyDispatchAdapter.java:92) - at jdk.proxy2/jdk.proxy2.$Proxy6.processTestClass(Unknown Source) - at org.gradle.api.internal.tasks.testing.worker.TestWorker$2.run(TestWorker.java:177) - at org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName(TestWorker.java:126) - at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:103) - at org.gradle.api.internal.tasks.testing.worker.TestWorker.execute(TestWorker.java:63) - at org.gradle.process.internal.worker.child.ActionExecutionWorker.execute(ActionExecutionWorker.java:56) - at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:122) - at org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call(SystemApplicationClassLoaderWorker.java:72) - at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.run(GradleWorkerMain.java:69) - at app//worker.org.gradle.process.internal.worker.GradleWorkerMain.main(GradleWorkerMain.java:74) -Caused by: java.lang.SecurityException: Prohibited package name: java - at java.base/java.lang.ClassLoader.preDefineClass(ClassLoader.java:900) - at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1015) - at java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) - at java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862) - at java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760) - at java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681) - at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639) - at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) - at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) - at java.base/java.lang.Class.forName0(Native Method) - at java.base/java.lang.Class.forName(Class.java:467) - at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.loadClass(JUnitPlatformTestClassProcessor.java:184) - at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor.access$100(JUnitPlatformTestClassProcessor.java:62) - at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.execute(JUnitPlatformTestClassProcessor.java:120) - at org.gradle.api.internal.tasks.testing.junitplatform.JUnitPlatformTestClassProcessor$CollectAllTestClassesExecutor.execute(JUnitPlatformTestClassProcessor.java:110) - at org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass(AbstractJUnitTestClassProcessor.java:61) - at org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass(SuiteTestClassProcessor.java:54) - ... 18 more - - - - - diff --git a/build/test-results/test/binary/results.bin b/build/test-results/test/binary/results.bin deleted file mode 100644 index c3887f61..00000000 Binary files a/build/test-results/test/binary/results.bin and /dev/null differ diff --git a/build/tmp/.cache/expanded/zip_9892ccb804f78c0637616b68610d363f/META-INF/MANIFEST.MF b/build/tmp/.cache/expanded/zip_9892ccb804f78c0637616b68610d363f/META-INF/MANIFEST.MF deleted file mode 100644 index f323d783..00000000 --- a/build/tmp/.cache/expanded/zip_9892ccb804f78c0637616b68610d363f/META-INF/MANIFEST.MF +++ /dev/null @@ -1,20 +0,0 @@ -Manifest-Version: 1.0 -Created-By: Apache Maven Bundle Plugin 6.0.0 -Build-Jdk-Spec: 21 -Build-Tool-Jdk-Spec: 21 -Automatic-Module-Name: org.jacoco.agent -Bnd-LastModified: 1743583180503 -Bundle-Description: JaCoCo Agent -Bundle-License: https://www.eclipse.org/legal/epl-2.0/ -Bundle-ManifestVersion: 2 -Bundle-Name: JaCoCo Agent -Bundle-RequiredExecutionEnvironment: J2SE-1.5 -Bundle-SymbolicName: org.jacoco.agent -Bundle-Vendor: Mountainminds GmbH & Co. KG -Bundle-Version: 0.8.13.202504020838 -Eclipse-SourceReferences: scm:git:git://github.com/jacoco/jacoco.git;pat - h="org.jacoco.agent";commitId=78d5eff856bbe6129f05012e40c13d1840e20598 -Export-Package: org.jacoco.agent;version="0.8.13" -Require-Capability: osgi.ee;filter:="(&(osgi.ee=JavaSE)(version=1.5))" -Tool: Bnd-7.0.0.202310060912 - diff --git a/build/tmp/.cache/expanded/zip_9892ccb804f78c0637616b68610d363f/META-INF/maven/org.jacoco/org.jacoco.agent/pom.properties b/build/tmp/.cache/expanded/zip_9892ccb804f78c0637616b68610d363f/META-INF/maven/org.jacoco/org.jacoco.agent/pom.properties deleted file mode 100644 index 4449f248..00000000 --- a/build/tmp/.cache/expanded/zip_9892ccb804f78c0637616b68610d363f/META-INF/maven/org.jacoco/org.jacoco.agent/pom.properties +++ /dev/null @@ -1,3 +0,0 @@ -artifactId=org.jacoco.agent -groupId=org.jacoco -version=0.8.13 diff --git a/build/tmp/.cache/expanded/zip_9892ccb804f78c0637616b68610d363f/META-INF/maven/org.jacoco/org.jacoco.agent/pom.xml b/build/tmp/.cache/expanded/zip_9892ccb804f78c0637616b68610d363f/META-INF/maven/org.jacoco/org.jacoco.agent/pom.xml deleted file mode 100644 index 7d70fb75..00000000 --- a/build/tmp/.cache/expanded/zip_9892ccb804f78c0637616b68610d363f/META-INF/maven/org.jacoco/org.jacoco.agent/pom.xml +++ /dev/null @@ -1,106 +0,0 @@ - - - - 4.0.0 - - - org.jacoco - org.jacoco.build - 0.8.13 - ../org.jacoco.build - - - org.jacoco.agent - - JaCoCo :: Agent - JaCoCo Agent - - - src - - - - org.apache.maven.plugins - maven-dependency-plugin - - - prepare-package - - copy - - - - - ${project.groupId} - org.jacoco.agent.rt - all - ${project.version} - jacocoagent.jar - - - ${project.build.directory}/classes - false - false - true - - - - - - - org.codehaus.mojo - build-helper-maven-plugin - - - attach-artifacts - package - - attach-artifact - - - - - ${project.build.directory}/classes/jacocoagent.jar - jar - runtime - - - - - - - - - org.apache.felix - maven-bundle-plugin - - - process-classes - - manifest - - - - - - org.apache.maven.plugins - maven-jar-plugin - - - ${project.build.outputDirectory}/META-INF/MANIFEST.MF - - - - - - diff --git a/build/tmp/.cache/expanded/zip_9892ccb804f78c0637616b68610d363f/about.html b/build/tmp/.cache/expanded/zip_9892ccb804f78c0637616b68610d363f/about.html deleted file mode 100644 index 7e924330..00000000 --- a/build/tmp/.cache/expanded/zip_9892ccb804f78c0637616b68610d363f/about.html +++ /dev/null @@ -1,72 +0,0 @@ - - - - -About - - - -

About This Content

- -

- 2025/04/02 -

- -

License

- -

- All Content in this distribution is made available by Mountainminds GmbH & Co. - KG, Munich. Unless otherwise indicated below, the Content is provided to you - under the terms and conditions of the Eclipse Public License Version 2.0 - ("EPL"). A copy of the EPL is available at - https://www.eclipse.org/legal/epl-2.0/. - For purposes of the EPL, "Program" will mean the Content. -

- -

Third Party Content

- -

- The Content includes items that have been sourced from third parties as set - out below. -

- -

ASM

- -

- ASM 9.8 is subject to the terms and - conditions of the following license: -

- -
-ASM: a very small and fast Java bytecode manipulation framework
-Copyright (c) 2000-2011 INRIA, France Telecom
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions
-are met:
-1. Redistributions of source code must retain the above copyright
-   notice, this list of conditions and the following disclaimer.
-2. Redistributions in binary form must reproduce the above copyright
-   notice, this list of conditions and the following disclaimer in the
-   documentation and/or other materials provided with the distribution.
-3. Neither the name of the copyright holders nor the names of its
-   contributors may be used to endorse or promote products derived from
-   this software without specific prior written permission.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
-AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
-IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
-ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
-LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
-CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
-SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
-INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
-CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
-ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
-THE POSSIBILITY OF SUCH DAMAGE.
-
- - - - diff --git a/build/tmp/.cache/expanded/zip_9892ccb804f78c0637616b68610d363f/jacocoagent.jar b/build/tmp/.cache/expanded/zip_9892ccb804f78c0637616b68610d363f/jacocoagent.jar deleted file mode 100644 index 3c3534c1..00000000 Binary files a/build/tmp/.cache/expanded/zip_9892ccb804f78c0637616b68610d363f/jacocoagent.jar and /dev/null differ diff --git a/build/tmp/.cache/expanded/zip_9892ccb804f78c0637616b68610d363f/org/jacoco/agent/AgentJar.class b/build/tmp/.cache/expanded/zip_9892ccb804f78c0637616b68610d363f/org/jacoco/agent/AgentJar.class deleted file mode 100644 index 40ffbe23..00000000 Binary files a/build/tmp/.cache/expanded/zip_9892ccb804f78c0637616b68610d363f/org/jacoco/agent/AgentJar.class and /dev/null differ diff --git a/build/tmp/.cache/expanded/zip_9892ccb804f78c0637616b68610d363f/org/jacoco/agent/package-info.class b/build/tmp/.cache/expanded/zip_9892ccb804f78c0637616b68610d363f/org/jacoco/agent/package-info.class deleted file mode 100644 index d36acf9b..00000000 Binary files a/build/tmp/.cache/expanded/zip_9892ccb804f78c0637616b68610d363f/org/jacoco/agent/package-info.class and /dev/null differ diff --git a/build/tmp/compileJava/previous-compilation-data.bin b/build/tmp/compileJava/previous-compilation-data.bin index c4519adc..1a4bec5f 100644 Binary files a/build/tmp/compileJava/previous-compilation-data.bin and b/build/tmp/compileJava/previous-compilation-data.bin differ diff --git a/build/tmp/jar/MANIFEST.MF b/build/tmp/jar/MANIFEST.MF deleted file mode 100644 index 59499bce..00000000 --- a/build/tmp/jar/MANIFEST.MF +++ /dev/null @@ -1,2 +0,0 @@ -Manifest-Version: 1.0 - 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/src/main/java/hhn/temp/project/provider/Database.java b/src/main/java/hhn/temp/project/provider/Database.java index 8898bcb8..be2d5c74 100644 --- a/src/main/java/hhn/temp/project/provider/Database.java +++ b/src/main/java/hhn/temp/project/provider/Database.java @@ -1,5 +1,9 @@ package hhn.temp.project.provider; +import java.io.IOException; +import java.nio.file.Path; +import java.sql.SQLException; + public interface Database { - public boolean connect(); + public void connect() throws SQLException, IOException; } diff --git a/src/main/java/hhn/temp/project/provider/SimpleDatabaseManager.java b/src/main/java/hhn/temp/project/provider/SimpleDatabaseManager.java new file mode 100644 index 00000000..941e74e4 --- /dev/null +++ b/src/main/java/hhn/temp/project/provider/SimpleDatabaseManager.java @@ -0,0 +1,41 @@ +package hhn.temp.project.provider; + +import java.io.File; +import java.io.IOException; +import java.nio.file.Files; +import java.nio.file.Path; +import java.sql.Connection; +import java.sql.DriverManager; +import java.sql.SQLException; +import java.util.Collection; +import java.util.List; + +public class SimpleDatabaseManager implements DatabaseManager { + + private Connection connection; + + @Override + public void saveObjects(Collection objects) { + + } + + @Override + public Collection getObjects() { + return List.of(); + } + + @Override + public void saveObject(E object) { + + } + + @Override + public E getObject(int id) { + return null; + } + + @Override + public void connect() throws SQLException, IOException { + connection = DriverManager.getConnection("jdbc:mysql://sql7.freesqldatabase.com/sql7810540?user=sql7810540&password=mXdJCFtDZz"); + } +} diff --git a/test/hhn/temp/project/BadCasesTest.java b/test/hhn/temp/project/BadCasesTest.java index 2ba66772..10229a4c 100644 --- a/test/hhn/temp/project/BadCasesTest.java +++ b/test/hhn/temp/project/BadCasesTest.java @@ -8,7 +8,7 @@ import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; public class BadCasesTest { - AssignmentManager manager; + /*AssignmentManager manager; @BeforeEach public void setup() { @@ -33,6 +33,6 @@ public class BadCasesTest { public void assertEditOnlyExistingTasks() { int workerId = manager.createWorker("Alfred"); assertThrows(manager.editTask(workerId, 99969, "I", "am Illegal") instanceof IllegalArgumentException); - } + }*/ } diff --git a/test/hhn/temp/project/DatabaseBadCasesTest.java b/test/hhn/temp/project/DatabaseBadCasesTest.java new file mode 100644 index 00000000..c9d45048 --- /dev/null +++ b/test/hhn/temp/project/DatabaseBadCasesTest.java @@ -0,0 +1,39 @@ +package hhn.temp.project; + +import hhn.temp.project.provider.DatabaseManager; +import hhn.temp.project.provider.SimpleDatabaseManager; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.DisplayName; +import org.junit.jupiter.api.Test; + +import java.sql.SQLException; + +import static org.junit.jupiter.api.Assertions.*; + +public class DatabaseBadCasesTest { + + private DatabaseManager databaseManager; + + public class TestClass { + private int id; + private String dataString; + private int dataInteger; + + public TestClass(int id, String dataString, int dataInteger) { + this.id = id; + this.dataString = dataString; + this.dataInteger = dataInteger; + } + } + + @BeforeEach + public void setup() { + databaseManager = new SimpleDatabaseManager<>(); + } + + @Test + @DisplayName("Assert connection failed") + public void assertConnectionFailed() { + assertThrows(SQLException.class, () -> databaseManager.connect()); + } +} \ No newline at end of file diff --git a/test/hhn/temp/project/DatabaseGoodCasesTest.java b/test/hhn/temp/project/DatabaseGoodCasesTest.java new file mode 100644 index 00000000..4f776ea7 --- /dev/null +++ b/test/hhn/temp/project/DatabaseGoodCasesTest.java @@ -0,0 +1,56 @@ +package hhn.temp.project; + +import hhn.temp.project.provider.DatabaseManager; +import hhn.temp.project.provider.SimpleDatabaseManager; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.DisplayName; +import org.junit.jupiter.api.Test; + +import java.io.IOException; +import java.sql.SQLException; + +public class DatabaseGoodCasesTest { + + private DatabaseManager databaseManager; + + public class TestClass { + private int id; + private String dataString; + private int dataInteger; + + public TestClass(int id, String dataString, int dataInteger) { + this.id = id; + this.dataString = dataString; + this.dataInteger = dataInteger; + } + } + + @BeforeEach + public void setup() { + databaseManager = new SimpleDatabaseManager<>(); + } + + @Test + @DisplayName("Assert that the TestClass could be inserted into the database") + public void assertGetTestClass() throws SQLException, IOException { + TestClass testClass = new TestClass(1, "Hello World", 123); + + databaseManager.connect(); + databaseManager.getObject(1); + } + + @Test + @DisplayName("Assert that the TestClass could be inserted into the database") + public void assertInsertTestClass() throws SQLException, IOException { + TestClass testClass = new TestClass(1, "Hello World", 123); + + databaseManager.connect(); + databaseManager.saveObject(testClass); + } + + @Test + @DisplayName("Assert connecting to database") + public void assertConnectToDatabase() throws SQLException, IOException { + databaseManager.connect(); + } +} \ No newline at end of file diff --git a/test/hhn/temp/project/GoodCasesTest.java b/test/hhn/temp/project/GoodCasesTest.java index f745e5a7..bd0be086 100644 --- a/test/hhn/temp/project/GoodCasesTest.java +++ b/test/hhn/temp/project/GoodCasesTest.java @@ -7,7 +7,7 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.*; public class GoodCasesTest { - AssignmentManager manager; + /*AssignmentManager manager; @BeforeEach public void setup() { @@ -57,6 +57,6 @@ public class GoodCasesTest { int taskId = manager.addTask(workerId, "Run", "Jog 10 Miles"); manager.removeTask(taskId); assertThrows(manager.getTask(taskId) instanceof IllegalArgumentException); - } + }*/ }