Rename BeforeAll class to BeforeAllTests
This commit is contained in:
parent
f46f958de0
commit
c7c70f1b90
3 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* BeforeAll.kt
|
* BeforeAllTests.kt
|
||||||
*
|
*
|
||||||
* Copyright 2020-2025 Erik C. Thauvin (erik@thauvin.net)
|
* Copyright 2020-2025 Erik C. Thauvin (erik@thauvin.net)
|
||||||
*
|
*
|
||||||
|
@ -37,7 +37,7 @@ import java.util.concurrent.atomic.AtomicBoolean
|
||||||
import java.util.logging.ConsoleHandler
|
import java.util.logging.ConsoleHandler
|
||||||
import java.util.logging.Level
|
import java.util.logging.Level
|
||||||
|
|
||||||
class BeforeAll : BeforeAllCallback {
|
class BeforeAllTests : BeforeAllCallback {
|
||||||
private val isFirstTime: AtomicBoolean = AtomicBoolean(true)
|
private val isFirstTime: AtomicBoolean = AtomicBoolean(true)
|
||||||
|
|
||||||
override fun beforeAll(context: ExtensionContext?) {
|
override fun beforeAll(context: ExtensionContext?) {
|
||||||
|
|
|
@ -51,7 +51,7 @@ import kotlin.test.assertEquals
|
||||||
import kotlin.test.assertFailsWith
|
import kotlin.test.assertFailsWith
|
||||||
import kotlin.test.assertTrue
|
import kotlin.test.assertTrue
|
||||||
|
|
||||||
@ExtendWith(BeforeAll::class)
|
@ExtendWith(BeforeAllTests::class)
|
||||||
class BitlinksTests {
|
class BitlinksTests {
|
||||||
private val bitly = with(File("local.properties")) {
|
private val bitly = with(File("local.properties")) {
|
||||||
if (exists()) {
|
if (exists()) {
|
||||||
|
|
|
@ -47,7 +47,7 @@ import kotlin.test.Test
|
||||||
import kotlin.test.assertEquals
|
import kotlin.test.assertEquals
|
||||||
import kotlin.test.assertFailsWith
|
import kotlin.test.assertFailsWith
|
||||||
|
|
||||||
@ExtendWith(BeforeAll::class)
|
@ExtendWith(BeforeAllTests::class)
|
||||||
class BitlyTests {
|
class BitlyTests {
|
||||||
private val bitly = with(File("local.properties")) {
|
private val bitly = with(File("local.properties")) {
|
||||||
if (exists()) {
|
if (exists()) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue