Skip to content

Commit 5d84076

Browse files
authored
Rename VertexAITestApp to FirebaseAITestApp (#14943)
1 parent e304525 commit 5d84076

File tree

9 files changed

+130
-33
lines changed

9 files changed

+130
-33
lines changed

FirebaseAI/Tests/TestApp/VertexAITestApp.xcodeproj/project.pbxproj renamed to FirebaseAI/Tests/TestApp/FirebaseAITestApp.xcodeproj/project.pbxproj

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,14 @@
3737
containerPortal = 866138502CC943DD00F4B78E /* Project object */;
3838
proxyType = 1;
3939
remoteGlobalIDString = 866138572CC943DD00F4B78E;
40-
remoteInfo = VertexAITestApp;
40+
remoteInfo = FirebaseAITestApp;
4141
};
4242
/* End PBXContainerItemProxy section */
4343

4444
/* Begin PBXFileReference section */
4545
862218802D04E08D007ED2D4 /* IntegrationTestUtils.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = IntegrationTestUtils.swift; sourceTree = "<group>"; };
4646
864F8F702D4980D60002EA7E /* ImagenIntegrationTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ImagenIntegrationTests.swift; sourceTree = "<group>"; };
47-
866138582CC943DD00F4B78E /* VertexAITestApp-SPM.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "VertexAITestApp-SPM.app"; sourceTree = BUILT_PRODUCTS_DIR; };
47+
866138582CC943DD00F4B78E /* FirebaseAITestApp-SPM.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "FirebaseAITestApp-SPM.app"; sourceTree = BUILT_PRODUCTS_DIR; };
4848
8661385B2CC943DD00F4B78E /* TestApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestApp.swift; sourceTree = "<group>"; };
4949
8661385D2CC943DD00F4B78E /* ContentView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
5050
866138692CC943DE00F4B78E /* IntegrationTests-SPM.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = "IntegrationTests-SPM.xctest"; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -100,7 +100,7 @@
100100
866138592CC943DD00F4B78E /* Products */ = {
101101
isa = PBXGroup;
102102
children = (
103-
866138582CC943DD00F4B78E /* VertexAITestApp-SPM.app */,
103+
866138582CC943DD00F4B78E /* FirebaseAITestApp-SPM.app */,
104104
866138692CC943DE00F4B78E /* IntegrationTests-SPM.xctest */,
105105
);
106106
name = Products;
@@ -173,9 +173,9 @@
173173
/* End PBXGroup section */
174174

175175
/* Begin PBXNativeTarget section */
176-
866138572CC943DD00F4B78E /* VertexAITestApp-SPM */ = {
176+
866138572CC943DD00F4B78E /* FirebaseAITestApp-SPM */ = {
177177
isa = PBXNativeTarget;
178-
buildConfigurationList = 8661387D2CC943DE00F4B78E /* Build configuration list for PBXNativeTarget "VertexAITestApp-SPM" */;
178+
buildConfigurationList = 8661387D2CC943DE00F4B78E /* Build configuration list for PBXNativeTarget "FirebaseAITestApp-SPM" */;
179179
buildPhases = (
180180
866138542CC943DD00F4B78E /* Sources */,
181181
866138552CC943DD00F4B78E /* Frameworks */,
@@ -185,15 +185,15 @@
185185
);
186186
dependencies = (
187187
);
188-
name = "VertexAITestApp-SPM";
188+
name = "FirebaseAITestApp-SPM";
189189
packageProductDependencies = (
190190
86E8505A2DBAFBC3002E8D94 /* FirebaseAI */,
191191
86E8505C2DBAFBC3002E8D94 /* FirebaseAppCheck */,
192192
86E8505E2DBAFBC3002E8D94 /* FirebaseAuth */,
193193
86E850602DBAFBC3002E8D94 /* FirebaseStorage */,
194194
);
195-
productName = VertexAITestApp;
196-
productReference = 866138582CC943DD00F4B78E /* VertexAITestApp-SPM.app */;
195+
productName = FirebaseAITestApp;
196+
productReference = 866138582CC943DD00F4B78E /* FirebaseAITestApp-SPM.app */;
197197
productType = "com.apple.product-type.application";
198198
};
199199
866138682CC943DE00F4B78E /* IntegrationTests-SPM */ = {
@@ -210,7 +210,7 @@
210210
8661386B2CC943DE00F4B78E /* PBXTargetDependency */,
211211
);
212212
name = "IntegrationTests-SPM";
213-
productName = VertexAITestAppTests;
213+
productName = FirebaseAITestAppTests;
214214
productReference = 866138692CC943DE00F4B78E /* IntegrationTests-SPM.xctest */;
215215
productType = "com.apple.product-type.bundle.unit-test";
216216
};
@@ -233,7 +233,7 @@
233233
};
234234
};
235235
};
236-
buildConfigurationList = 866138532CC943DD00F4B78E /* Build configuration list for PBXProject "VertexAITestApp" */;
236+
buildConfigurationList = 866138532CC943DD00F4B78E /* Build configuration list for PBXProject "FirebaseAITestApp" */;
237237
compatibilityVersion = "Xcode 15.0";
238238
developmentRegion = en;
239239
hasScannedForEncodings = 0;
@@ -249,7 +249,7 @@
249249
projectDirPath = "";
250250
projectRoot = "";
251251
targets = (
252-
866138572CC943DD00F4B78E /* VertexAITestApp-SPM */,
252+
866138572CC943DD00F4B78E /* FirebaseAITestApp-SPM */,
253253
866138682CC943DE00F4B78E /* IntegrationTests-SPM */,
254254
);
255255
};
@@ -310,7 +310,7 @@
310310
/* Begin PBXTargetDependency section */
311311
8661386B2CC943DE00F4B78E /* PBXTargetDependency */ = {
312312
isa = PBXTargetDependency;
313-
target = 866138572CC943DD00F4B78E /* VertexAITestApp-SPM */;
313+
target = 866138572CC943DD00F4B78E /* FirebaseAITestApp-SPM */;
314314
targetProxy = 8661386A2CC943DE00F4B78E /* PBXContainerItemProxy */;
315315
};
316316
/* End PBXTargetDependency section */
@@ -459,8 +459,8 @@
459459
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
460460
MACOSX_DEPLOYMENT_TARGET = 12.0;
461461
MARKETING_VERSION = 1.0;
462-
PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.VertexAITestApp;
463-
PRODUCT_MODULE_NAME = VertexAITestApp;
462+
PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.FirebaseAITestApp;
463+
PRODUCT_MODULE_NAME = FirebaseAITestApp;
464464
PRODUCT_NAME = "$(TARGET_NAME)";
465465
SDKROOT = auto;
466466
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx";
@@ -497,8 +497,8 @@
497497
"LD_RUNPATH_SEARCH_PATHS[sdk=macosx*]" = "@executable_path/../Frameworks";
498498
MACOSX_DEPLOYMENT_TARGET = 12.0;
499499
MARKETING_VERSION = 1.0;
500-
PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.VertexAITestApp;
501-
PRODUCT_MODULE_NAME = VertexAITestApp;
500+
PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.FirebaseAITestApp;
501+
PRODUCT_MODULE_NAME = FirebaseAITestApp;
502502
PRODUCT_NAME = "$(TARGET_NAME)";
503503
SDKROOT = auto;
504504
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx";
@@ -519,14 +519,14 @@
519519
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
520520
MACOSX_DEPLOYMENT_TARGET = 12.0;
521521
MARKETING_VERSION = 1.0;
522-
PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.VertexAITestAppTests;
522+
PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.FirebaseAITestAppTests;
523523
PRODUCT_NAME = "$(TARGET_NAME)";
524524
SDKROOT = auto;
525525
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx";
526526
SWIFT_EMIT_LOC_STRINGS = NO;
527527
SWIFT_VERSION = 5.0;
528528
TARGETED_DEVICE_FAMILY = "1,2";
529-
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/VertexAITestApp-SPM.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/VertexAITestApp-SPM";
529+
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/FirebaseAITestApp-SPM.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/FirebaseAITestApp-SPM";
530530
};
531531
name = Debug;
532532
};
@@ -541,21 +541,21 @@
541541
IPHONEOS_DEPLOYMENT_TARGET = 15.0;
542542
MACOSX_DEPLOYMENT_TARGET = 12.0;
543543
MARKETING_VERSION = 1.0;
544-
PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.VertexAITestAppTests;
544+
PRODUCT_BUNDLE_IDENTIFIER = com.google.firebase.FirebaseAITestAppTests;
545545
PRODUCT_NAME = "$(TARGET_NAME)";
546546
SDKROOT = auto;
547547
SUPPORTED_PLATFORMS = "iphoneos iphonesimulator macosx";
548548
SWIFT_EMIT_LOC_STRINGS = NO;
549549
SWIFT_VERSION = 5.0;
550550
TARGETED_DEVICE_FAMILY = "1,2";
551-
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/VertexAITestApp-SPM.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/VertexAITestApp-SPM";
551+
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/FirebaseAITestApp-SPM.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/FirebaseAITestApp-SPM";
552552
};
553553
name = Release;
554554
};
555555
/* End XCBuildConfiguration section */
556556

557557
/* Begin XCConfigurationList section */
558-
866138532CC943DD00F4B78E /* Build configuration list for PBXProject "VertexAITestApp" */ = {
558+
866138532CC943DD00F4B78E /* Build configuration list for PBXProject "FirebaseAITestApp" */ = {
559559
isa = XCConfigurationList;
560560
buildConfigurations = (
561561
8661387B2CC943DE00F4B78E /* Debug */,
@@ -564,7 +564,7 @@
564564
defaultConfigurationIsVisible = 0;
565565
defaultConfigurationName = Release;
566566
};
567-
8661387D2CC943DE00F4B78E /* Build configuration list for PBXNativeTarget "VertexAITestApp-SPM" */ = {
567+
8661387D2CC943DE00F4B78E /* Build configuration list for PBXNativeTarget "FirebaseAITestApp-SPM" */ = {
568568
isa = XCConfigurationList;
569569
buildConfigurations = (
570570
8661387E2CC943DE00F4B78E /* Debug */,
@@ -587,7 +587,7 @@
587587
/* Begin XCLocalSwiftPackageReference section */
588588
86E850592DBAFBC3002E8D94 /* XCLocalSwiftPackageReference "../../.." */ = {
589589
isa = XCLocalSwiftPackageReference;
590-
relativePath = "../../..";
590+
relativePath = ../../..;
591591
};
592592
/* End XCLocalSwiftPackageReference section */
593593

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1630"
4+
version = "1.7">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES"
8+
buildArchitectures = "Automatic">
9+
<BuildActionEntries>
10+
<BuildActionEntry
11+
buildForTesting = "YES"
12+
buildForRunning = "YES"
13+
buildForProfiling = "YES"
14+
buildForArchiving = "YES"
15+
buildForAnalyzing = "YES">
16+
<BuildableReference
17+
BuildableIdentifier = "primary"
18+
BlueprintIdentifier = "866138572CC943DD00F4B78E"
19+
BuildableName = "FirebaseAITestApp-SPM.app"
20+
BlueprintName = "FirebaseAITestApp-SPM"
21+
ReferencedContainer = "container:FirebaseAITestApp.xcodeproj">
22+
</BuildableReference>
23+
</BuildActionEntry>
24+
</BuildActionEntries>
25+
</BuildAction>
26+
<TestAction
27+
buildConfiguration = "Debug"
28+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
29+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
30+
shouldUseLaunchSchemeArgsEnv = "YES"
31+
shouldAutocreateTestPlan = "YES">
32+
<Testables>
33+
<TestableReference
34+
skipped = "NO"
35+
parallelizable = "YES">
36+
<BuildableReference
37+
BuildableIdentifier = "primary"
38+
BlueprintIdentifier = "866138682CC943DE00F4B78E"
39+
BuildableName = "IntegrationTests-SPM.xctest"
40+
BlueprintName = "IntegrationTests-SPM"
41+
ReferencedContainer = "container:FirebaseAITestApp.xcodeproj">
42+
</BuildableReference>
43+
</TestableReference>
44+
</Testables>
45+
</TestAction>
46+
<LaunchAction
47+
buildConfiguration = "Debug"
48+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
49+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
50+
launchStyle = "0"
51+
useCustomWorkingDirectory = "NO"
52+
ignoresPersistentStateOnLaunch = "NO"
53+
debugDocumentVersioning = "YES"
54+
debugServiceExtension = "internal"
55+
allowLocationSimulation = "YES">
56+
<BuildableProductRunnable
57+
runnableDebuggingMode = "0">
58+
<BuildableReference
59+
BuildableIdentifier = "primary"
60+
BlueprintIdentifier = "866138572CC943DD00F4B78E"
61+
BuildableName = "FirebaseAITestApp-SPM.app"
62+
BlueprintName = "FirebaseAITestApp-SPM"
63+
ReferencedContainer = "container:FirebaseAITestApp.xcodeproj">
64+
</BuildableReference>
65+
</BuildableProductRunnable>
66+
<CommandLineArguments>
67+
<CommandLineArgument
68+
argument = "-FIRDebugEnabled"
69+
isEnabled = "YES">
70+
</CommandLineArgument>
71+
</CommandLineArguments>
72+
</LaunchAction>
73+
<ProfileAction
74+
buildConfiguration = "Release"
75+
shouldUseLaunchSchemeArgsEnv = "YES"
76+
savedToolIdentifier = ""
77+
useCustomWorkingDirectory = "NO"
78+
debugDocumentVersioning = "YES">
79+
<BuildableProductRunnable
80+
runnableDebuggingMode = "0">
81+
<BuildableReference
82+
BuildableIdentifier = "primary"
83+
BlueprintIdentifier = "866138572CC943DD00F4B78E"
84+
BuildableName = "FirebaseAITestApp-SPM.app"
85+
BlueprintName = "FirebaseAITestApp-SPM"
86+
ReferencedContainer = "container:FirebaseAITestApp.xcodeproj">
87+
</BuildableReference>
88+
</BuildableProductRunnable>
89+
</ProfileAction>
90+
<AnalyzeAction
91+
buildConfiguration = "Debug">
92+
</AnalyzeAction>
93+
<ArchiveAction
94+
buildConfiguration = "Release"
95+
revealArchiveInOrganizer = "YES">
96+
</ArchiveAction>
97+
</Scheme>

FirebaseAI/Tests/TestApp/Tests/Integration/CountTokensIntegrationTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
// limitations under the License.
1414

1515
import FirebaseAI
16+
import FirebaseAITestApp
1617
import FirebaseAuth
1718
import FirebaseCore
1819
import FirebaseStorage
1920
import Testing
20-
import VertexAITestApp
2121

2222
@testable import struct FirebaseAI.APIConfig
2323

FirebaseAI/Tests/TestApp/Tests/Integration/GenerateContentIntegrationTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
// limitations under the License.
1414

1515
import FirebaseAI
16+
import FirebaseAITestApp
1617
import FirebaseAuth
1718
import FirebaseCore
1819
import FirebaseStorage
1920
import Testing
20-
import VertexAITestApp
2121

2222
#if canImport(UIKit)
2323
import UIKit

FirebaseAI/Tests/TestApp/Tests/Integration/ImagenIntegrationTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
// limitations under the License.
1414

1515
import FirebaseAI
16+
import FirebaseAITestApp
1617
import FirebaseAuth
1718
import FirebaseCore
1819
import FirebaseStorage
1920
import Testing
20-
import VertexAITestApp
2121

2222
#if canImport(UIKit)
2323
import UIKit

FirebaseAI/Tests/TestApp/Tests/Integration/IntegrationTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
// limitations under the License.
1414

1515
import FirebaseAI
16+
import FirebaseAITestApp
1617
import FirebaseAuth
1718
import FirebaseCore
1819
import FirebaseStorage
19-
import VertexAITestApp
2020
import XCTest
2121

2222
// TODO(#14405): Migrate to Swift Testing and parameterize tests to run on both `v1` and `v1beta`.

FirebaseAI/Tests/TestApp/Tests/Integration/SchemaTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313
// limitations under the License.
1414

1515
import FirebaseAI
16+
import FirebaseAITestApp
1617
import FirebaseAuth
1718
import FirebaseCore
1819
import FirebaseStorage
1920
import Testing
20-
import VertexAITestApp
2121

2222
#if canImport(UIKit)
2323
import UIKit

FirebaseAI/Tests/TestApp/Tests/Utilities/InstanceConfig.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
// limitations under the License.
1414

1515
import FirebaseAI
16+
import FirebaseAITestApp
1617
import FirebaseCore
1718
import Testing
18-
import VertexAITestApp
1919

2020
@testable import struct FirebaseAI.APIConfig
2121

scripts/build.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -510,15 +510,15 @@ case "$product-$platform-$method" in
510510
FirebaseAIIntegration-*-*)
511511
# Build
512512
RunXcodebuild \
513-
-project 'FirebaseAI/Tests/TestApp/VertexAITestApp.xcodeproj' \
514-
-scheme "VertexAITestApp-SPM" \
513+
-project 'FirebaseAI/Tests/TestApp/FirebaseAITestApp.xcodeproj' \
514+
-scheme "FirebaseAITestApp-SPM" \
515515
"${xcb_flags[@]}" \
516516
build
517517

518518
# Run tests
519519
RunXcodebuild \
520-
-project 'FirebaseAI/Tests/TestApp/VertexAITestApp.xcodeproj' \
521-
-scheme "VertexAITestApp-SPM" \
520+
-project 'FirebaseAI/Tests/TestApp/FirebaseAITestApp.xcodeproj' \
521+
-scheme "FirebaseAITestApp-SPM" \
522522
"${xcb_flags[@]}" \
523523
-parallel-testing-enabled NO \
524524
test

0 commit comments

Comments
 (0)