-
Notifications
You must be signed in to change notification settings - Fork 13
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
ファイル出力オプションの名前/挙動を自然な形に変更 #807
Conversation
No problem. Good job! |
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.
typo とドキュメントの更新漏れです.
ドキュメントは一旦Issueを立てて,別PRで更新でもいいと思います.
README.md
Outdated
@@ -93,7 +93,7 @@ $ java -jar path/to/kGenProg.jar | |||
| `-t`, `--test` | Specifies paths to test source code, or to directories containing them. Paths are separated with spaces. | Nothing | | |||
| `-x`, `--exec-test` | Specifies fully qualified names of test classes executed during evaluation of variants (i.e. fix-candidates). It is recommended to specify test classes detecting a bug. Class names are separated with spaces. | All test classes | | |||
| `-c`, `--cp` | Specifies class paths needed to build the target project. Paths are separated with spaces. | Nothing | | |||
| `-o`, `--out-dir` | Writes patches kGenProg generated under the specified directory. Patches are outputted to a directory having a name of the execution time and date under the specified directory. | A directory named `kgenprog-out` is created in the current directory. | | |||
| `-o`, `--out-dir` | Specifies an output directory. Generated files include patches and history json. They can be enabled by `--patch-output` or `--history-record` | A directory named `kgenprog-out` is created in the current directory. | |
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.
doc/ja/README.md
(日本語版)にも同様の変更をお願いします
README.md
Outdated
| `--patch-output` | Writes patch files to the output directory specified in `-o` option. | `false` | | ||
| `--history-record` | Records and writes generation process of all generated variants as JSON format. | `false` | |
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.
日本語版の変更と Usage の更新をお願いします
@com.electronwill.nightconfig.core.conversion.Path("patch-output") | ||
@PreserveNotNull | ||
private boolean isPatchOutput = DEFAULT_IS_PATCH_OUTPUT; | ||
|
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.
doc/kgenprog-config-template.toml
への反映もお願いします
public class ExportersTest { | ||
|
||
@Test | ||
public void testInstanciationWithPreviousResults() throws IOException { |
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.
typo の修正をお願いします
public void testInstanciationWithPreviousResults() throws IOException { | |
public void testInstantiationWithPreviousResults() throws IOException { |
thx 指摘部分を修正しました. |
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.
修正ありがとうございます.
問題なさそうなのでマージします.
お疲れさまでした.
resolve #801
depends PR #804
notes
PR #804 からの派生ブランチである点に注意.
PR #804 解決後にreviewしてください.
行儀の悪いPRだけど依存を持つので仕方なし.レビュー時のファイル差分はこっち見て下さい.https://github.com/kusumotolab/kGenProg/compare/better-exporter-params..separate-exporters?w=1#804 がマージされたのでmasterからマージさせておいた.
行儀の悪さは解消.
やったこと
tungled
kgpMainTestのファイル出力の指定周りを改善
ExporterTest の CRLF → LF