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

Fix the generated Junit code. #15

Closed
UrsZeidler opened this issue Feb 15, 2017 · 0 comments
Closed

Fix the generated Junit code. #15

UrsZeidler opened this issue Feb 15, 2017 · 0 comments

Comments

@UrsZeidler
Copy link
Owner

Currently the generated junit code contains a minor error.
In the createFixture() method the compiled contract can no longer get via ethereum facade.

We need to add a method in the AbstractContractTest as following:

public CompiledContract getCompiledContract() throws InterruptedException, ExecutionException {
	Map<String, CompiledContract> map = ethereum.compile(contractSource).get();
	return map.get(getContractName());
}

And use this method in createFixture().

@UrsZeidler UrsZeidler added the bug label Feb 15, 2017
@UrsZeidler UrsZeidler added this to the 1.0.10 milestone Feb 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant