-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Remove PowerMock from the Slack GCF sample. #3186
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
Conversation
Instead of using Whitebox, use package-private constructor overloads to supply the values needed by the test.
@saturnism Looks like there are both Lint issues and Java 11. |
there is NPE from the tests during local run. any tricks to get the test running locally? |
any way to simply add these into the compile phase, or add a profile to run these easily? |
also, i don't think those tests passed in the past. I'm getting
This line was not changed in the PR.
Why does this class needs a ToString? |
need I think we also need |
@saturnism followed up internally, check your email. 🙂 |
Static Analysis failed with:
|
you can ignore static analysis, but not lint. |
@lesv all tests passing. i think there is a problem w/ the static analysis check due to jdk version. please merge, thnx! |
That makes sense - we'll update that too. |
Cherry-picked and rebased from @eamonnmcmanus's #2854
Instead of using Whitebox, use package-private constructor overloads
to supply the values needed by the test.
pom.xml
parent set to latestshared-configuration
mvn clean verify
requiredmvn -P lint checkstyle:check
requiredmvn -P lint clean compile pmd:cpd-check spotbugs:check
advisory only