-
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
テストクラスへのTimeout フィールド追加処理を実装 #408
Conversation
@@ -136,7 +138,9 @@ public void changeGeneration() { | |||
|
|||
private Variant createInitialVariant() { | |||
final GeneratedSourceCode sourceCode = strategies.execASTConstruction(targetProject); | |||
return createVariant(new Gene(Collections.emptyList()), sourceCode, | |||
final Operation operation = new InsertTimeoutRuleFieldOperation(10); |
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.
タイムアウト時間はconfigから取り出すべき
config.getTestTimeLimitSeconds()
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.
sorry きちんと読んでなかった.
Timeout時間がハードコードなのでConfigに吸い出す必要あり
これすぐできる?
Configから吸い出せたほうが実験がかなりやりやすくなる.
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.
これで #341 も解決されることを確認. |
@shinsuke-mat 修正しました。よろしくお願いします。 |
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.
good おつかれさん マージします
resolve #372
テストクラスにTimeoutを設定するフィールドを追加する処理を、initialVariant生成時に追加
ソースコードが変更されていることは確認したが、実際にTimeoutされるかは確認していない
Timeout時間がハードコードなのでConfigに吸い出す必要あり