Skip to content

Commit eb94249

Browse files
author
David Motsonashvili
committed
added opt in to tests
1 parent f4de563 commit eb94249

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

firebase-vertexai/src/test/java/com/google/firebase/vertexai/UnarySnapshotTests.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
package com.google.firebase.vertexai
1818

19+
import com.google.firebase.vertexai.common.PublicPreviewAPI
1920
import com.google.firebase.vertexai.type.BlockReason
2021
import com.google.firebase.vertexai.type.ContentBlockedException
2122
import com.google.firebase.vertexai.type.FinishReason
@@ -54,6 +55,7 @@ import kotlinx.serialization.json.jsonPrimitive
5455
import org.json.JSONArray
5556
import org.junit.Test
5657

58+
@OptIn(PublicPreviewAPI::class)
5759
internal class UnarySnapshotTests {
5860
private val testTimeout = 5.seconds
5961

firebase-vertexai/src/test/java/com/google/firebase/vertexai/util/tests.kt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,14 @@
1414
* limitations under the License.
1515
*/
1616

17+
@file:OptIn(PublicPreviewAPI::class)
18+
1719
package com.google.firebase.vertexai.util
1820

1921
import com.google.firebase.vertexai.GenerativeModel
2022
import com.google.firebase.vertexai.ImagenModel
2123
import com.google.firebase.vertexai.common.APIController
24+
import com.google.firebase.vertexai.common.PublicPreviewAPI
2225
import com.google.firebase.vertexai.type.RequestOptions
2326
import io.kotest.matchers.collections.shouldNotBeEmpty
2427
import io.kotest.matchers.nulls.shouldNotBeNull

0 commit comments

Comments
 (0)