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

Refactor the mock mechanism to include commands as well #5

Closed
robert-bor opened this Issue Mar 24, 2013 · 0 comments

Comments

Projects
None yet
1 participant
@robert-bor
Member

robert-bor commented Mar 24, 2013

Currently, the mock mechanism directly uses the underlying mock object store.

However, it is desirable if Client / Account / Container / StoredObject have logic that is largely similar, whereas the commands differentiate.

The Mock Object Store needs to be abstracted out of the various Mock classes of the core entities.

Commands will get their own mock and impl packages.

Might be handy to have factories to instantiate the mock/impl commands.

@ghost ghost assigned robert-bor Mar 24, 2013

robert-bor added a commit that referenced this issue Mar 24, 2013

robert-bor added a commit that referenced this issue Mar 30, 2013

Issue #5 - Major refactoring completed: mock mode now uses the same C…
…ommand route as real mode. The fake ObjectStore has been moved to a separate set of classes which can be access by the class Swift.

robert-bor added a commit that referenced this issue Mar 30, 2013

Issue #5 - moved a couple of classes from impl to core, because they …
…are now shared functionality. Also removed dead code from mock classes

robert-bor added a commit that referenced this issue Mar 30, 2013

@robert-bor robert-bor closed this Mar 30, 2013

katta pushed a commit to twxkit/joss that referenced this issue Oct 6, 2014

katta pushed a commit to twxkit/joss that referenced this issue Oct 6, 2014

katta pushed a commit to twxkit/joss that referenced this issue Oct 6, 2014

katta pushed a commit to twxkit/joss that referenced this issue Oct 6, 2014

katta pushed a commit to twxkit/joss that referenced this issue Oct 6, 2014

Issue #5 - Major refactoring completed: mock mode now uses the same C…
…ommand route as real mode. The fake ObjectStore has been moved to a separate set of classes which can be access by the class Swift.

katta pushed a commit to twxkit/joss that referenced this issue Oct 6, 2014

Issue #5 - moved a couple of classes from impl to core, because they …
…are now shared functionality. Also removed dead code from mock classes

katta pushed a commit to twxkit/joss that referenced this issue Oct 6, 2014

katta pushed a commit to twxkit/joss that referenced this issue Oct 6, 2014

katta pushed a commit to twxkit/joss that referenced this issue Oct 6, 2014

katta pushed a commit to twxkit/joss that referenced this issue Oct 6, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment