Commit Graph

59 Commits

Author SHA1 Message Date
e667389694 Changed the build.gradle to have an automatic build script, added the README 2026-01-06 23:08:43 +01:00
6ac08e2db1 Merge branch 'main' of https://home.luithardt.cloud:5400/KevinSchoenmayer/GseTDDUebungKCLR
Problems with merging into main, new version
2026-01-06 21:56:07 +01:00
20afbbf461 Problems with the merge to main 2026-01-06 21:52:34 +01:00
0b74bf5eea Merge pull request 'ScannerImplementation' (#5) from ScannerImplementation into main
Reviewed-on: #5

Reviewed this together in a call
2026-01-06 21:24:36 +01:00
6ccb68285f Added syncing with database when starting the Manager, adding, removing or editing anything 2026-01-06 21:14:09 +01:00
0c83baec46 Merging 2026-01-06 20:23:49 +01:00
654305f2cd Small fix for listing tasks 2026-01-06 20:05:43 +01:00
a390509f87 Fixed CLI to allow for full testing by using State Machines for everything, test for editing passes now 2026-01-06 19:35:52 +01:00
85446bc230 Quick change to the access Modifiers for fields in Worker,Task and Assignmentmanager, refactored tests to use getWorkerMap 2026-01-04 16:33:12 +01:00
f0da7b0f9a Mid-Work of changing the CLI to use State Machines so all input can be tested with the Tests using handleInput() 2026-01-04 16:27:53 +01:00
c85d55ce7d Almost full implementation of Scanner UI. Two tests not passing, but safety commit 2026-01-04 16:09:48 +01:00
a875f24e83 Commit for the rebase on ScannerImplementation from main 2026-01-04 15:23:53 +01:00
760009b4d6 Merge pull request 'Implemented database functionality' (#4) from database into main
Reviewed-on: #4

Tried with a few extra steps. Needs a ReadME, but works otherwise.
2025-12-18 21:13:10 +01:00
bb71c7e329 Fixed assignment manager to pass some tests, scanner is not yet implemented fully 2025-12-18 19:58:03 +01:00
Riley Schneider
35e22bba99 Added MySQL functionality 2025-12-18 10:01:58 +01:00
Riley Schneider
3344ba67cc Updated files and created compose.yml for internal database usage 2025-12-14 17:53:04 +01:00
Riley Schneider
97990a3e76 Deleted unnecessary files. 2025-12-08 21:15:46 +01:00
4eb0f6c3bd Merge pull request 'database' (#3) from database into main
Reviewed-on: #3
2025-12-08 18:10:07 +01:00
Riley Schneider
0dd7fd4687 Provide mock-like DB manager for integration testing 2025-12-08 18:06:43 +01:00
Riley Schneider
e9b2ad0a57 Heavily refactored DatabaseManager.java and SimpleDatabaseManager.java. Fully refactored DatabaseGoodCasesTest.java and DatabaseBadCasesTest.java. 2025-12-08 17:50:21 +01:00
Riley Schneider
292d6c74c3 Implemented Update method 2025-12-03 23:17:31 +01:00
Riley Schneider
f2cc964d39 Added new tests that needs to be implemented. 2025-12-03 23:04:21 +01:00
Riley Schneider
995fba6fce Added a placeholder method to delete objects from the database. 2025-12-03 22:29:52 +01:00
Riley Schneider
daafd7d09e Fixed a typo in the query 2025-12-03 22:24:04 +01:00
Riley Schneider
41e711ab74 Added resultSet.next() 2025-12-03 22:22:30 +01:00
Riley Schneider
625e089a36 Prepared new tests 2025-12-03 22:10:24 +01:00
Riley Schneider
d9da291d45 Added first sql-queries into the SimpleDatabaseManager.java (Still failing / Red Errors) 2025-12-03 21:45:26 +01:00
2af4f4b7a4 Wrote all the Tests for the Scanner UI 2025-12-03 21:13:59 +01:00
Riley Schneider
b801ea7d21 Added NotImplementedException, edited some DatabaseGoodCasesTest tests. 2025-12-03 20:52:47 +01:00
Riley Schneider
8150fdbf13 Updated from origin/main 2025-12-03 20:42:23 +01:00
79df3d300e Just a small commit so i can pull 2025-12-03 20:40:15 +01:00
7201f66214 Small commit while writing tests 2025-12-03 20:40:15 +01:00
0db43fe51a Fixed Merge Conflicts, uploaded local main 2025-12-03 20:37:10 +01:00
90fbacadaa Merge pull request 'database' (#2) from database into main
Reviewed-on: #2
2025-12-03 20:16:49 +01:00
Riley Schneider
57144fa772 Updated MySQL Methods, Tests and Information accordingly. (High security risk btw) 2025-12-03 20:15:28 +01:00
c10de39091 Just a commit to push the build files so I can push 2025-12-03 19:36:50 +01:00
98bbddb31a Added Tests for removing, finishing and unfinishing tasks and so on for test coverage. 2025-12-03 19:32:59 +01:00
7640b1ef35 Added Tests for TaskState Changes. Actually added functionality to pass that test. 2025-12-03 19:20:24 +01:00
20daf315ca Added Task Adding, Removing, Editing and corrected some relatex tests. Coverage still not 100% 2025-12-03 19:08:16 +01:00
Riley Schneider
d3488f1f1c Update connect method in SimpleDatabaseManager.java 2025-12-03 18:26:13 +01:00
Riley Schneider
382aad70f7 Updated gitignore 2025-12-03 18:24:42 +01:00
Riley Schneider
dbebcad97d First runnable tests for Database / Commented out Good/BadCasesTests (not relevant to this branch) 2025-12-03 18:23:07 +01:00
4fa55c8607 Added Full Skeleton Methods for AssignmentManager and Task 2025-12-03 18:21:53 +01:00
Riley Schneider
ec0abd85b9 Merge remote-tracking branch 'origin/database' into database
# Conflicts:
#	.gradle/8.14/executionHistory/executionHistory.lock
#	.gradle/8.14/fileHashes/fileHashes.bin
#	.gradle/8.14/fileHashes/fileHashes.lock
#	.gradle/buildOutputCleanup/buildOutputCleanup.lock
#	.gradle/buildOutputCleanup/cache.properties
#	build/classes/java/main/hhn/temp/project/provider/DatabaseManager.class
#	build/tmp/compileJava/previous-compilation-data.bin
#	src/main/java/hhn/temp/project/provider/SimpleDatabaseManager.java
#	test/hhn/temp/project/BadCasesTest.java
#	test/hhn/temp/project/DatabaseBadCasesTest.java
#	test/hhn/temp/project/DatabaseGoodCasesTest.java
#	test/hhn/temp/project/GoodCasesTest.java
2025-12-03 18:20:36 +01:00
Riley Schneider
04f2087456 First runnable tests for Database / Commented out Good/BadCasesTests (not relevant to this branch) 2025-12-03 18:19:48 +01:00
fb0e05fd4d Added a basic test for the worker get methods 2025-12-03 18:06:09 +01:00
4bb1e13f21 Added basic worker so tests can create them 2025-12-03 17:59:30 +01:00
Riley Schneider
0c4f092312 Backup 2025-12-03 17:49:06 +01:00
8c4849fdf0 Just adding the report so I can rebase 2025-12-03 17:43:40 +01:00
a5378868ea Changed a small setting so test results are actually displayed 2025-12-03 17:39:42 +01:00