-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #304 from JetBrains-Research/ebraun/refactoring/sm…
…all-changes [#235] Renaming of the getSurroundingLine function
- Loading branch information
Showing
13 changed files
with
481 additions
and
212 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
40 changes: 40 additions & 0 deletions
40
src/main/kotlin/org/jetbrains/research/testspark/display/TestSuiteView.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,40 @@ | ||
package org.jetbrains.research.testspark.display | ||
|
||
import javax.swing.JPanel | ||
|
||
interface TestSuiteView { | ||
/** | ||
* Updates the labels. | ||
*/ | ||
fun updateTopLabels() | ||
|
||
/** | ||
* Toggles check boxes so that they are either all selected or all not selected, | ||
* depending on the provided parameter. | ||
* | ||
* @param selected whether the checkboxes have to be selected or not | ||
*/ | ||
fun toggleAllCheckboxes(selected: Boolean) | ||
|
||
/** | ||
* Removes all test cases from the cache and tool window UI. | ||
*/ | ||
fun removeAllTestCases() | ||
|
||
/** | ||
* Executes all test cases. | ||
* | ||
* This method presents a caution message to the user and asks for confirmation before executing the test cases. | ||
* If the user confirms, it iterates through each test case panel factory and runs the corresponding test. | ||
*/ | ||
fun runAllTestCases() | ||
|
||
/** | ||
* Sets the array of TestCasePanelFactory objects. | ||
* | ||
* @param testCasePanelFactories The ArrayList containing the TestCasePanelFactory objects to be set. | ||
*/ | ||
fun setTestCasePanelFactoriesArray(testCasePanelFactories: ArrayList<TestCasePanelFactory>) | ||
fun getPanel(): JPanel | ||
fun clear() | ||
} |
Oops, something went wrong.