We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I use generateAssertionsInPackage option like following.
Project structure
|-src/main/java | `-sample/ | `-Foo.java `-pom.xml
pom.xml
<configuration> <packages> <param>sample</param> </packages> <generateAssertionsInPackage>sample.assertion</generateAssertionsInPackage> </configuration>
Assertion class is generated as sample.assertion.FooAssert.
sample.assertion.FooAssert
FooAssert.java
package sample.assertion; import sample.Foo; ... public class FooAssert extends AbstractFooAssert<FooAssert, Foo> {
However assertions entry point classes are generated like following.
Assertions.java
package sample.assertion; ... @javax.annotation.Generated(value="assertj-assertions-generator") public class Assertions { ... @org.assertj.core.util.CheckReturnValue public static sample.FooAssert assertThat(sample.Foo actual) { return new sample.FooAssert(actual); }
FooAssert is written as sample.FooAssert (not sample.assertion.FooAssert).
FooAssert
sample.FooAssert
The text was updated successfully, but these errors were encountered:
Its a bug then, thanks for reporting this !
Sorry, something went wrong.
Is there any updates for it?
Nope, I unfortunately don't have the time to work on the generator project these days :(
fix issue assertj#122
b49d133
174d6fa
f1f348b
No branches or pull requests
I use generateAssertionsInPackage option like following.
Project structure
pom.xml
Assertion class is generated as
sample.assertion.FooAssert
.FooAssert.java
However assertions entry point classes are generated like following.
Assertions.java
FooAssert
is written assample.FooAssert
(notsample.assertion.FooAssert
).The text was updated successfully, but these errors were encountered: