From 57a761036081b7d595298b24a31ebd5681570fd4 Mon Sep 17 00:00:00 2001 From: cherylEnkidu Date: Mon, 8 Jul 2024 12:57:38 -0400 Subject: [PATCH] Add proposal file --- .../Tests/FirebaseLoggerTests.swift | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 FirebaseSharedSwift/Tests/FirebaseLoggerTests.swift diff --git a/FirebaseSharedSwift/Tests/FirebaseLoggerTests.swift b/FirebaseSharedSwift/Tests/FirebaseLoggerTests.swift new file mode 100644 index 000000000000..0c0db0805ea4 --- /dev/null +++ b/FirebaseSharedSwift/Tests/FirebaseLoggerTests.swift @@ -0,0 +1,31 @@ +// Copyright 2024 Google LLC +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +import FirebaseSharedSwift +import Foundation + +// MARK: - Test Suite + +import XCTest + +extension FirebaseProduct { + static let testLogger = FirebaseProduct(name: "firebase_logger_test") +} + +class TestFirebaseLogger: XCTestCase { + func testLoggerUsage() { + let testLogger = FirebaseLogger(firebaseProduct: FirebaseProduct.testLogger) + testLogger.debug("Set up successfully!") + } +}