-
Notifications
You must be signed in to change notification settings - Fork 26
Conversation
Use Circle to test the Java samples.
(I cancelled Travis to free up the queue, since it's not actually running any Java tests.) |
|
||
<p>Follow the | ||
<a href="https://github.com/GoogleCloudPlatform/slack-samples/tree/master/java/command">instructions | ||
for this sample</a> to configure and modify this sample. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
newLine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
servletUnderTest.doPost(mockRequest, mockResponse); | ||
assertThat(responseWriter.toString()).isEqualTo("Hello, Jane Doe."); | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
newLine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
|
||
- Type `/greet` in your Slack team. | ||
|
||
You should see the text `Hello, world.` in response. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should make this the template.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good to me. I've pulled the common bits out into templates here: GoogleCloudPlatform/java-docs-samples#405
<module name="SuppressWarningsFilter" /> | ||
<!-- Allow silencing with comment http://stackoverflow.com/questions/4023185 --> | ||
<module name="SuppressionCommentFilter" /> | ||
</module> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need to check this in everywhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I figured out how to bundle this in the resources of the parent: GoogleCloudPlatform/java-repo-tools#45
This means we don't have to bundle google-checks.xml. Also, add templates for READMEs.
Fixes copy-paste error.
Regenerated with `markdown-pp`.
LGTM - Once you get something to pass |
I forgot to remove the -SNAPSHOT when testing from the `1-start/pom.xml`. By using the root `pom.xml`, mistakes like this should be prevented.
Use Circle to test the Java samples.
@lesv PTAL