Rename BeforeAll class to BeforeAllTests

This commit is contained in:
Erik C. Thauvin 2025-06-30 16:08:46 -07:00
parent f46f958de0
commit c7c70f1b90
Signed by: erik
GPG key ID: 776702A6A2DA330E
3 changed files with 4 additions and 4 deletions

View file

@ -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?) {

View file

@ -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()) {

View file

@ -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()) {