Skip to content

Commit

Permalink
Optimize imports
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahFrench committed Apr 26, 2024
1 parent a4590ac commit 506faa3
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
package tests

import builds.UseTeamCityGoTest
import jetbrains.buildServer.configs.kotlin.Project
import org.junit.Assert.assertTrue
import org.junit.Assert.fail
import org.junit.Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import builds.AccTestConfiguration
import builds.getBetaAcceptanceTestConfig
import builds.getGaAcceptanceTestConfig
import builds.getVcrAcceptanceTestConfig
import org.junit.Assert
import org.junit.Assert.fail
import org.junit.Test
import kotlin.reflect.full.memberProperties

Expand All @@ -22,7 +22,7 @@ class ContextParameterHandlingTests {
for (prop in AccTestConfiguration::class.memberProperties) {
val value = prop.get(config).toString()
if (value.contains("Beta")||value.contains("Vcr")) {
Assert.fail("Found config value $value which isn't a GA value")
fail("Found config value $value which isn't a GA value")
}
}
}
Expand All @@ -33,7 +33,7 @@ class ContextParameterHandlingTests {
for (prop in AccTestConfiguration::class.memberProperties) {
val value = prop.get(config).toString()
if (value.contains("Ga")||value.contains("Vcr")) {
Assert.fail("Found config value $value which isn't a Beta value")
fail("Found config value $value which isn't a Beta value")
}
}
}
Expand All @@ -44,7 +44,7 @@ class ContextParameterHandlingTests {
for (prop in AccTestConfiguration::class.memberProperties) {
val value = prop.get(config).toString()
if (value.contains("Ga")||value.contains("Beta")) {
Assert.fail("Found config value $value which isn't a VCR value")
fail("Found config value $value which isn't a VCR value")
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@

package tests

import jetbrains.buildServer.configs.kotlin.triggers.ScheduleTrigger
import org.junit.Assert.assertTrue
import org.junit.Test
import jetbrains.buildServer.configs.kotlin.Project
import jetbrains.buildServer.configs.kotlin.triggers.ScheduleTrigger
import org.junit.Assert
import projects.googleCloudRootProject

class NightlyTestProjectsTests {
Expand Down
5 changes: 2 additions & 3 deletions mmv1/third_party/terraform/.teamcity/tests/sweepers.kt
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,11 @@ package tests
import ProjectSweeperName
import ServiceSweeperName
import jetbrains.buildServer.configs.kotlin.BuildType
import jetbrains.buildServer.configs.kotlin.Project
import jetbrains.buildServer.configs.kotlin.triggers.ScheduleTrigger
import org.junit.Assert.assertEquals
import org.junit.Assert.assertTrue
import org.junit.Test
import jetbrains.buildServer.configs.kotlin.Project
import jetbrains.buildServer.configs.kotlin.triggers.ScheduleTrigger
import org.junit.Assert
import projects.googleCloudRootProject

class SweeperTests {
Expand Down
1 change: 0 additions & 1 deletion mmv1/third_party/terraform/.teamcity/tests/test_utils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
package tests

import builds.AllContextParameters
import jetbrains.buildServer.BuildProject
import jetbrains.buildServer.configs.kotlin.BuildType
import jetbrains.buildServer.configs.kotlin.Project
import org.junit.Assert.fail
Expand Down
1 change: 0 additions & 1 deletion mmv1/third_party/terraform/.teamcity/tests/vcs_roots.kt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@

package tests

import jetbrains.buildServer.configs.kotlin.Project
import org.junit.Assert.assertTrue
import org.junit.Test
import projects.googleCloudRootProject
Expand Down

0 comments on commit 506faa3

Please sign in to comment.