File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
firebase_ai/firebase_ai/test
firebase_vertexai/firebase_vertexai/test Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ void main() {
19
19
group ('VertexAI Exceptions' , () {
20
20
test ('VertexAIException toString' , () {
21
21
final exception = FirebaseAIException ('Test message' );
22
- expect (exception.toString (), 'VertexAIException : Test message' );
22
+ expect (exception.toString (), 'FirebaseAIException : Test message' );
23
23
});
24
24
25
25
test ('InvalidApiKey toString' , () {
@@ -55,12 +55,12 @@ void main() {
55
55
expect (exception.toString (), 'Server error occurred.' );
56
56
});
57
57
58
- test ('VertexAISdkException toString' , () {
58
+ test ('FirebaseAISdkException toString' , () {
59
59
final exception = FirebaseAISdkException ('SDK failed to parse response.' );
60
60
expect (
61
61
exception.toString (),
62
62
'SDK failed to parse response.\n '
63
- 'This indicates a problem with the Vertex AI in Firebase SDK. '
63
+ 'This indicates a problem with the Firebase AI Logic SDK. '
64
64
'Try updating to the latest version '
65
65
'(https://pub.dev/packages/firebase_ai/versions), '
66
66
'or file an issue at '
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ void main() {
21
21
group ('VertexAI Exceptions' , () {
22
22
test ('VertexAIException toString' , () {
23
23
final exception = VertexAIException ('Test message' );
24
- expect (exception.toString (), 'VertexAIException : Test message' );
24
+ expect (exception.toString (), 'FirebaseAIException : Test message' );
25
25
});
26
26
27
27
test ('InvalidApiKey toString' , () {
@@ -57,12 +57,12 @@ void main() {
57
57
expect (exception.toString (), 'Server error occurred.' );
58
58
});
59
59
60
- test ('VertexAISdkException toString' , () {
60
+ test ('FirebaseAISdkException toString' , () {
61
61
final exception = VertexAISdkException ('SDK failed to parse response.' );
62
62
expect (
63
63
exception.toString (),
64
64
'SDK failed to parse response.\n '
65
- 'This indicates a problem with the Vertex AI in Firebase SDK. '
65
+ 'This indicates a problem with the Firebase AI Logic SDK. '
66
66
'Try updating to the latest version '
67
67
'(https://pub.dev/packages/firebase_ai/versions), '
68
68
'or file an issue at '
You can’t perform that action at this time.
0 commit comments