Skip to content
This repository was archived by the owner on Oct 15, 2025. It is now read-only.

The assurances of the voter can be obtained from a cast vote if canup… - #313

Open
valentinbujdoso wants to merge 20 commits into
edemo:developfrom
valentinbujdoso:feature/the_assurances_of_the_voter_can_be_obtained_from_a_cast_vote_if_canupdateis_true_242
Open

The assurances of the voter can be obtained from a cast vote if canup…#313
valentinbujdoso wants to merge 20 commits into
edemo:developfrom
valentinbujdoso:feature/the_assurances_of_the_voter_can_be_obtained_from_a_cast_vote_if_canupdateis_true_242

Conversation

@valentinbujdoso

Copy link
Copy Markdown
Contributor

…date is true #242

Comment threadsrc/main/java/org/rulez/demokracia/pdengine/SessionFactoryManager.java Outdated
Comment threadsrc/test/java/org/rulez/demokracia/pdengine/UnimplementedTests.java Outdated
Comment threadsrc/main/java/org/rulez/demokracia/pdengine/SessionFactoryManager.java Outdated
Comment threadsrc/main/java/org/rulez/demokracia/pdengine/SessionFactoryManager.java Outdated
Comment threadsrc/test/java/org/rulez/demokracia/pdengine/UnimplementedTests.java Outdated
Comment threadsrc/test/java/org/rulez/demokracia/pdengine/UnimplementedTests.java Outdated
@valentinbujdoso

Copy link
Copy Markdown
ContributorAuthor

Im not clearly understand how can I "fake" it. could you explaint it a little bite detailed?

@magwas

Copy link
Copy Markdown
Member

Im not clearly understand how can I "fake" it. could you explaint it a little bite detailed?

https://blog.pragmatists.com/test-doubles-fakes-mocks-and-stubs-1a7491dfa3da

Comment threadsrc/test/java/org/rulez/demokracia/pdengine/UnimplementedTests.java Outdated
Comment threadsrc/main/java/org/rulez/demokracia/pdengine/FakeADAAssuranceProvider.java Outdated
Comment threadsrc/main/java/org/rulez/demokracia/pdengine/SessionFactoryManager.java Outdated
Comment threadsrc/main/java/org/rulez/demokracia/pdengine/SessionFactoryManager.java Outdated
Comment threadsrc/test/java/org/rulez/demokracia/pdengine/UnimplementedTests.java Outdated
@valentinbujdoso

Copy link
Copy Markdown
ContributorAuthor

So something like this?

@magwasmagwas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

see poc/assurancemanager branch in my repo to understand how dependency injection (old school) works.
Build on that code.

Comment threadsrc/main/java/org/rulez/demokracia/pdengine/FakeADAAssuranceProvider.java Outdated
@magwas

Copy link
Copy Markdown
Member

Please provide full code coverage. Yes, even for the code I helped you with.

…e_obtained_from_a_cast_vote_if_canupdateis_true_242
@magwas

Copy link
Copy Markdown
Member

only an unimplemented test is needed for ADAAssuranceManager.getAssurances()

List<String> getAssurances();

static AssuranceManager getAssuranceManager() {
return new ADAAssuranceManager();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test it to kill zombie.

Comment threadsrc/main/java/org/rulez/demokracia/pdengine/Voteable.java Outdated
@valentinbujdoso

Copy link
Copy Markdown
ContributorAuthor

I will take a look tomorrow

…e_obtained_from_a_cast_vote_if_canupdateis_true_242
@valentinbujdoso

Copy link
Copy Markdown
ContributorAuthor

@magwas I created the test but it give back quite strange errors

@magwas

Copy link
Copy Markdown
Member

you have received a pull request yesterday with the resolution of the conflicts.

…_can_be_obtained_from_a_cast_vote_if_canupdateis_true_242_java10_merge
merge with current edemo/develop
…e_obtained_from_a_cast_vote_if_canupdateis_true_242
@valentinbujdoso

Copy link
Copy Markdown
ContributorAuthor

The import javax.xml.ws.WebServiceContext; cannot be resolved.
What should I do?

@magwas

Copy link
Copy Markdown
Member

seems like jax-ws is missing. window/install new software.
Is it with the eclipse in the docker image or your own setup?

@szirbuczszirbucz mentioned this pull request Apr 29, 2019
@magwas

Copy link
Copy Markdown
Member

its going in in #333@valentinbujdoso is it paid yet for you?

@valentinbujdoso

Copy link
Copy Markdown
ContributorAuthor

@magwas:
Elnezest, hogy el vagyok veszve, a majusom nagyon suru volt, es a juniusom meg talan meg surubb lesz, de utana jelentkezem munkara keszen.
Ezt meg nem rendeztuk, ha visszatertem az elok korebe beszelunk rola.

Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@valentinbujdoso@magwas@szirbucz