-
Notifications
You must be signed in to change notification settings - Fork 39
Implement integration test runner for IJ #893
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
base: develop
Are you sure you want to change the base?
Conversation
zhelenskiy
left a comment
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.
Let's wait for #891 first
Can you push it today? I would like to close this task about IJ as soon as possible because I already was waiting for a week for the review. |
You are the reviewer there, so that depends on you. |
#JBRes-6600 Done
abfc304 to
fa6bfad
Compare
| "methods": [ | ||
| "testInsertString" | ||
| ], | ||
| "checkRepresentation": true |
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.
Are you sure the representation is stable to check it?
| fields[fieldName]?.let { return it == FinalFields.FieldInfo.FINAL } | ||
| // If we haven't processed this class yet, fall back to a slow-path, reading the class byte-code. | ||
| collectFieldInformation(internalClassName, fieldName, fields) | ||
| val fieldFound = collectFieldInformation(internalClassName, fieldName, fields) |
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.
Can you describe why it can be not found?
| include(":integration-test") | ||
| include(":integration-test:common") | ||
| include(":integration-test:lincheck") | ||
| include(":integration-test:trace-debugger") |
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.
why?
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.
Are you sure it is the right trace?
| fun test() { | ||
| runTest( | ||
| testClassName = ${testCase.className.toLiteral()}, | ||
| testMethodName = ${testCase.methodName.toLiteral()}, | ||
| extraJvmArgs = listOf(${testCase.jvmArgs.joinToString { it.toLiteral() }}), | ||
| commands = listOf(${testCase.gradleCommand.toLiteral()}), | ||
| checkRepresentation = ${testCase.checkRepresentation}, | ||
| ) | ||
| } |
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.
| fun test() { | |
| runTest( | |
| testClassName = ${testCase.className.toLiteral()}, | |
| testMethodName = ${testCase.methodName.toLiteral()}, | |
| extraJvmArgs = listOf(${testCase.jvmArgs.joinToString { it.toLiteral() }}), | |
| commands = listOf(${testCase.gradleCommand.toLiteral()}), | |
| checkRepresentation = ${testCase.checkRepresentation}, | |
| ) | |
| } | |
| fun test() = runTest( | |
| testClassName = ${testCase.className.toLiteral()}, | |
| testMethodName = ${testCase.methodName.toLiteral()}, | |
| extraJvmArgs = listOf(${testCase.jvmArgs.joinToString { it.toLiteral() }}), | |
| commands = listOf(${testCase.gradleCommand.toLiteral()}), | |
| checkRepresentation = ${testCase.checkRepresentation}, | |
| ) |
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.
Why?
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.
Why?
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.
Why?
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.
Why?
| open val fatJarName: String = "trace-recorder-fat.jar" | ||
| open val formatArgs: Map<String, String> = mapOf( | ||
| "format" to "text", | ||
| "formatOption" to "verbose", | ||
| ) | ||
| open val defaultJvmArgs: List<String> = listOf( | ||
| "-Dlincheck.traceRecorderMode=true", | ||
| "-XX:+UnlockExperimentalVMOptions", | ||
| "-XX:hashCode=2", | ||
| ) |
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.
| open val fatJarName: String = "trace-recorder-fat.jar" | |
| open val formatArgs: Map<String, String> = mapOf( | |
| "format" to "text", | |
| "formatOption" to "verbose", | |
| ) | |
| open val defaultJvmArgs: List<String> = listOf( | |
| "-Dlincheck.traceRecorderMode=true", | |
| "-XX:+UnlockExperimentalVMOptions", | |
| "-XX:hashCode=2", | |
| ) | |
| open val fatJarName: String = "trace-recorder-fat.jar" | |
| open val formatArgs: Map<String, String> = mapOf( | |
| "format" to "text", | |
| "formatOption" to "verbose", | |
| ) | |
| open val defaultJvmArgs: List<String> = listOf( | |
| "-Dlincheck.traceRecorderMode=true", | |
| "-XX:+UnlockExperimentalVMOptions", | |
| "-XX:hashCode=2", | |
| ) | |
No description provided.