Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Miroma <136986257+its-miroma@users.noreply.github.com>
  • Loading branch information
IMB11 and its-miroma authored Aug 8, 2024
1 parent b1df8aa commit 240f1ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion develop/automatic-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ This also allows you to easily access package-private methods and fields.
Another naming convention is to have a `test` package, such as `src/test/java/com/example/docs/test/codec/BeanTypeTest.java`.
This prevents some problems that may arise with using the same package if you use java modules.

(Note that the following instructions may be specific to Intellij. However, it should be trivial to follow with a different ide.)
After you've created the test class, use <kbd>COMMAND</kbd>/<kbd>CTRL</kbd> + <kbd>N</kbd> to bring up the generate menu.
Select test and start typing your choice of method name, usually starting with `test`. Press <kbd>ENTER</kbd> when you're done.
For more tips and tricks on using the ide, see [IDE Tips and Tricks](ide-tips-and-tricks#code-generation).
Expand Down
4 changes: 2 additions & 2 deletions develop/ide-tips-and-tricks.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ In addition, you can quickly override methods with <kbd>⌘/CTRL</kbd><kbd>O</kb

![Code generation menu in a Java file](/assets/develop/misc/using-the-ide/generate_01.png)

In a java test file, you will be given options to generate testing related methods, as follows.
In a Java test file, you will be given options to generate related testing methods, as follows:

![Code generation menu in a java test file](/assets/develop/misc/using-the-ide/generate_02.png)
![Code generation menu in a Java test file](/assets/develop/misc/using-the-ide/generate_02.png)

### Displaying Parameters{#displaying-parameters}

Expand Down

0 comments on commit 240f1ee

Please sign in to comment.