Skip to content

Commit 033a3a9

Browse files
committed
merge conflicts
2 parents 4c397f4 + a1a5728 commit 033a3a9

File tree

3 files changed

+6
-10
lines changed

3 files changed

+6
-10
lines changed

plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/notifications/DisplayToastNotifications.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,4 @@
33

44
package software.aws.toolkits.jetbrains.core.notifications
55

6-
import com.intellij.openapi.project.Project
7-
8-
object DisplayToastNotifications {}
6+
object DisplayToastNotifications

plugins/core/jetbrains-community/src/software/aws/toolkits/jetbrains/core/notifications/ProcessNotificationsBase.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class ProcessNotificationsBase {
2121

2222
fun processNotification(project: Project, notificationData: NotificationData) {
2323
val shouldShow = RulesEngine.displayNotification(project, notificationData)
24-
if(shouldShow) {
24+
if (shouldShow) {
2525
// TODO: notifies listeners
2626
}
2727
}

plugins/core/jetbrains-community/tst/software/aws/toolkits/jetbrains/core/notifications/NotificationFormatUtilsTest.kt

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,9 @@ import io.mockk.mockkStatic
1313
import io.mockk.unmockkAll
1414
import org.assertj.core.api.Assertions.assertThat
1515
import org.junit.Rule
16-
import org.junit.jupiter.api.AfterAll
17-
import org.junit.jupiter.api.BeforeAll
16+
import org.junit.jupiter.api.AfterEach
17+
import org.junit.jupiter.api.BeforeEach
1818
import org.junit.jupiter.api.Test
19-
import org.junit.jupiter.api.TestInstance
2019
import org.junit.jupiter.api.assertDoesNotThrow
2120
import org.junit.jupiter.api.assertThrows
2221
import org.junit.jupiter.api.extension.ExtendWith
@@ -31,7 +30,6 @@ import java.nio.file.Paths
3130
import java.util.stream.Stream
3231

3332
@ExtendWith(ApplicationExtension::class)
34-
@TestInstance(TestInstance.Lifecycle.PER_CLASS)
3533
class NotificationFormatUtilsTest {
3634
@Rule
3735
@JvmField
@@ -40,7 +38,7 @@ class NotificationFormatUtilsTest {
4038
private lateinit var mockSystemDetails: SystemDetails
4139
private lateinit var exampleNotification: InputStream
4240

43-
@BeforeAll
41+
@BeforeEach
4442
fun setUp() {
4543
mockSystemDetails = SystemDetails(
4644
computeType = "Local",
@@ -68,7 +66,7 @@ class NotificationFormatUtilsTest {
6866
)
6967
}
7068

71-
@AfterAll
69+
@AfterEach
7270
fun tearDown() {
7371
unmockkAll()
7472
}

0 commit comments

Comments
 (0)