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

Assignment 2 - Refactoring of Alitheia-Core #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nspruit
Copy link

@nspruit nspruit commented Jan 17, 2015

The code belonging to assignment 2, by Tim Hegeman (4145585) and Niels Spruit (4137639)

Changed testCreate call to testExecute in testShow to make sure succesid is initialized

Updated AdminServiceImplTest

Added first tests for DB

Working on DB tests

Finished DB transaction tests

Added in-memory database tests

Added tests for findObjectById* methods

Added tests for findObjectsByProperties method

Added tests for findObjectsByPropertiesForUpdate method

Added dependency to H2 database (required for testing)

Fixed testRegisterAdminAction test

Added tests for find* methods when there is no active session

Added some tests for adding and deleting records

Added HQL test cases

Added test for attachObjectToDBSession

Added test for executeUpdate

Introducing consistency to tests

Cleaned up DBHQLQueryTest

Moved DBObject

Wrote tests for ConfigurationOption

Added integration tests for the DB calls in Metric

Introduced new interfaces for DB

Created basic implementation for DBSessionManager

Further refactored the transaction management

Fixed DB transaction tests

Fixed DB HQL tests

Now, all tests are changed according to the refactoring

Copied log methods from DBServiceImpl to DBSessionManagerImpl for now

Updated all calls to session management functions

Updated all calls to the session manager

Implementing (HQL)QueryInterface

Removed HQL from DBSession(Impl) API

Restructured query interface tests

Refactored QueryInterace usage in tests

Refactored QueryInterface access

Updated all query interface calls

Reverted the changes to the path

Implemented SQLQueryInterface

Working on refactoring the exception handling of the DB services

Finished extraction of DB log functions

Fixed small bugs with log functions

Added and deleted some comments

Created QueryInterfaceFactory to facilitate runtime plugging of new interfaces

Cleaned up factory registration

Added more documentation

Added tests for query interface retrieval/registration
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant