Lines Matching full:sdk

23   EXPECT_EQ(XcodeSDK("MacOSX.sdk").GetType(), XcodeSDK::MacOSX);  in TEST()
24 EXPECT_EQ(XcodeSDK("iPhoneSimulator.sdk").GetType(), XcodeSDK::iPhoneSimulator); in TEST()
25 EXPECT_EQ(XcodeSDK("iPhoneOS.sdk").GetType(), XcodeSDK::iPhoneOS); in TEST()
26 EXPECT_EQ(XcodeSDK("AppleTVSimulator.sdk").GetType(), XcodeSDK::AppleTVSimulator); in TEST()
27 EXPECT_EQ(XcodeSDK("AppleTVOS.sdk").GetType(), XcodeSDK::AppleTVOS); in TEST()
28 EXPECT_EQ(XcodeSDK("WatchSimulator.sdk").GetType(), XcodeSDK::WatchSimulator); in TEST()
29 EXPECT_EQ(XcodeSDK("WatchOS.sdk").GetType(), XcodeSDK::watchOS); in TEST()
30 EXPECT_EQ(XcodeSDK("Linux.sdk").GetType(), XcodeSDK::Linux); in TEST()
31 EXPECT_EQ(XcodeSDK("MacOSX.sdk").GetVersion(), llvm::VersionTuple()); in TEST()
32 EXPECT_EQ(XcodeSDK("MacOSX10.9.sdk").GetVersion(), llvm::VersionTuple(10, 9)); in TEST()
33 EXPECT_EQ(XcodeSDK("MacOSX10.15.4.sdk").GetVersion(), llvm::VersionTuple(10, 15)); in TEST()
34 EXPECT_EQ(XcodeSDK("MacOSX.sdk").IsAppleInternalSDK(), false); in TEST()
35 EXPECT_EQ(XcodeSDK("MacOSX10.15.Internal.sdk").GetType(), XcodeSDK::MacOSX); in TEST()
36 EXPECT_EQ(XcodeSDK("MacOSX10.15.Internal.sdk").GetVersion(), in TEST()
38 EXPECT_EQ(XcodeSDK("MacOSX10.15.Internal.sdk").IsAppleInternalSDK(), true); in TEST()
44 XcodeSDK sdk("MacOSX.sdk"); in TEST() local
45 sdk.Merge(XcodeSDK("WatchOS.sdk")); in TEST()
48 // SDK to fit all CUs in an lldb::Module. in TEST()
50 EXPECT_EQ(sdk.GetType(), XcodeSDK::watchOS); in TEST()
51 sdk.Merge(XcodeSDK("WatchOS1.1.sdk")); in TEST()
52 EXPECT_EQ(sdk.GetVersion(), llvm::VersionTuple(1, 1)); in TEST()
53 sdk.Merge(XcodeSDK("WatchOS2.0.sdk")); in TEST()
54 EXPECT_EQ(sdk.GetVersion(), llvm::VersionTuple(2, 0)); in TEST()
55 sdk.Merge(XcodeSDK("WatchOS1.1.Internal.sdk")); in TEST()
56 EXPECT_EQ(sdk.GetVersion(), llvm::VersionTuple(2, 0)); in TEST()
57 EXPECT_EQ(sdk.IsAppleInternalSDK(), true); in TEST()
59 empty.Merge(XcodeSDK("MacOSX10.14.Internal.sdk")); in TEST()
60 EXPECT_EQ(empty.GetString(), llvm::StringRef("MacOSX10.14.Internal.sdk")); in TEST()
70 "iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.0.sdk"))); in TEST()
74 "iPhoneSimulator12.0.Internal.sdk"))); in TEST()
79 "iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.2.sdk"))); in TEST()
82 FileSpec(base + "MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk"))); in TEST()
85 FileSpec(base + "MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk"))); in TEST()
90 EXPECT_TRUE(XcodeSDK("iPhoneSimulator12.0.sdk").SupportsSwift()); in TEST()
91 EXPECT_TRUE(XcodeSDK("iPhoneSimulator12.0.Internal.sdk").SupportsSwift()); in TEST()
92 EXPECT_FALSE(XcodeSDK("iPhoneSimulator7.2.sdk").SupportsSwift()); in TEST()
93 EXPECT_TRUE(XcodeSDK("MacOSX10.10.sdk").SupportsSwift()); in TEST()
94 EXPECT_FALSE(XcodeSDK("MacOSX10.9.sdk").SupportsSwift()); in TEST()
95 EXPECT_TRUE(XcodeSDK("Linux.sdk").SupportsSwift()); in TEST()
96 EXPECT_TRUE(XcodeSDK("MacOSX.sdk").SupportsSwift()); in TEST()
97 EXPECT_FALSE(XcodeSDK("EverythingElse.sdk").SupportsSwift()); in TEST()
211 "Developer/SDKs/MacOSX.sdk"; in TEST()
217 "Developer/SDKs/MacOSX10.15.sdk"; in TEST()
223 "Developer/SDKs/MacOSX10.15.sdk"; in TEST()
229 "Developer/SDKs/MacOSX10.15.sdk"; in TEST()
234 "Developer/SDKs/MacOSX10.15.sdk"; in TEST()
239 "Developer/SDKs/MacOSX10.15.sdk"; in TEST()