-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' into arksap2002/bugs/fix-error-window-size
- Loading branch information
Showing
65 changed files
with
2,936 additions
and
1,168 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
core/src/main/kotlin/org/jetbrains/research/testspark/core/test/SupportedLanguage.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package org.jetbrains.research.testspark.core.test | ||
|
||
/** | ||
* Language ID string should be the same as the language name in com.intellij.lang.Language | ||
*/ | ||
enum class SupportedLanguage(val languageId: String) { | ||
Java("JAVA"), Kotlin("kotlin") | ||
} |
21 changes: 21 additions & 0 deletions
21
core/src/main/kotlin/org/jetbrains/research/testspark/core/test/TestBodyPrinter.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package org.jetbrains.research.testspark.core.test | ||
|
||
import org.jetbrains.research.testspark.core.test.data.TestLine | ||
|
||
interface TestBodyPrinter { | ||
/** | ||
* Generates a test body as a string based on the provided parameters. | ||
* | ||
* @param testInitiatedText A string containing the upper part of the test case. | ||
* @param lines A mutable list of `TestLine` objects representing the lines of the test body. | ||
* @param throwsException The exception type that the test function throws, if any. | ||
* @param name The name of the test function. | ||
* @return A string representing the complete test body. | ||
*/ | ||
fun printTestBody( | ||
testInitiatedText: String, | ||
lines: MutableList<TestLine>, | ||
throwsException: String, | ||
name: String, | ||
): String | ||
} |
Oops, something went wrong.