|
|
@@ -58,12 +58,16 @@ final class TypealiasTranslatorSnippetBasedTests: XCTestCase {
|
|
|
)
|
|
|
}
|
|
|
public static let descriptors: [MethodDescriptor] = [
|
|
|
- NamespaceA.ServiceA.Method.MethodA.descriptor
|
|
|
+ MethodA.descriptor
|
|
|
]
|
|
|
}
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias StreamingServiceProtocol = NamespaceA_ServiceAStreamingServiceProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias ServiceProtocol = NamespaceA_ServiceAServiceProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias ClientProtocol = NamespaceA_ServiceAClientProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias Client = NamespaceA_ServiceAClient
|
|
|
}
|
|
|
}
|
|
|
@@ -96,9 +100,13 @@ final class TypealiasTranslatorSnippetBasedTests: XCTestCase {
|
|
|
public enum Method {
|
|
|
public static let descriptors: [MethodDescriptor] = []
|
|
|
}
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias StreamingServiceProtocol = NamespaceA_ServiceAStreamingServiceProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias ServiceProtocol = NamespaceA_ServiceAServiceProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias ClientProtocol = NamespaceA_ServiceAClientProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias Client = NamespaceA_ServiceAClient
|
|
|
}
|
|
|
}
|
|
|
@@ -131,7 +139,9 @@ final class TypealiasTranslatorSnippetBasedTests: XCTestCase {
|
|
|
public enum Method {
|
|
|
public static let descriptors: [MethodDescriptor] = []
|
|
|
}
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias StreamingServiceProtocol = NamespaceA_ServiceAStreamingServiceProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias ServiceProtocol = NamespaceA_ServiceAServiceProtocol
|
|
|
}
|
|
|
}
|
|
|
@@ -164,7 +174,9 @@ final class TypealiasTranslatorSnippetBasedTests: XCTestCase {
|
|
|
public enum Method {
|
|
|
public static let descriptors: [MethodDescriptor] = []
|
|
|
}
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias ClientProtocol = NamespaceA_ServiceAClientProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias Client = NamespaceA_ServiceAClient
|
|
|
}
|
|
|
}
|
|
|
@@ -238,12 +250,16 @@ final class TypealiasTranslatorSnippetBasedTests: XCTestCase {
|
|
|
)
|
|
|
}
|
|
|
public static let descriptors: [MethodDescriptor] = [
|
|
|
- ServiceA.Method.MethodA.descriptor
|
|
|
+ MethodA.descriptor
|
|
|
]
|
|
|
}
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias StreamingServiceProtocol = ServiceAStreamingServiceProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias ServiceProtocol = ServiceAServiceProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias ClientProtocol = ServiceAClientProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias Client = ServiceAClient
|
|
|
}
|
|
|
"""
|
|
|
@@ -306,13 +322,17 @@ final class TypealiasTranslatorSnippetBasedTests: XCTestCase {
|
|
|
)
|
|
|
}
|
|
|
public static let descriptors: [MethodDescriptor] = [
|
|
|
- NamespaceA.ServiceA.Method.MethodA.descriptor,
|
|
|
- NamespaceA.ServiceA.Method.MethodB.descriptor
|
|
|
+ MethodA.descriptor,
|
|
|
+ MethodB.descriptor
|
|
|
]
|
|
|
}
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias StreamingServiceProtocol = NamespaceA_ServiceAStreamingServiceProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias ServiceProtocol = NamespaceA_ServiceAServiceProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias ClientProtocol = NamespaceA_ServiceAClientProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias Client = NamespaceA_ServiceAClient
|
|
|
}
|
|
|
}
|
|
|
@@ -345,9 +365,13 @@ final class TypealiasTranslatorSnippetBasedTests: XCTestCase {
|
|
|
package enum Method {
|
|
|
package static let descriptors: [MethodDescriptor] = []
|
|
|
}
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
package typealias StreamingServiceProtocol = NamespaceA_ServiceAStreamingServiceProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
package typealias ServiceProtocol = NamespaceA_ServiceAServiceProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
package typealias ClientProtocol = NamespaceA_ServiceAClientProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
package typealias Client = NamespaceA_ServiceAClient
|
|
|
}
|
|
|
}
|
|
|
@@ -392,18 +416,26 @@ final class TypealiasTranslatorSnippetBasedTests: XCTestCase {
|
|
|
public enum Method {
|
|
|
public static let descriptors: [MethodDescriptor] = []
|
|
|
}
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias StreamingServiceProtocol = NamespaceA_AserviceStreamingServiceProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias ServiceProtocol = NamespaceA_AserviceServiceProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias ClientProtocol = NamespaceA_AserviceClientProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias Client = NamespaceA_AserviceClient
|
|
|
}
|
|
|
public enum Bservice {
|
|
|
public enum Method {
|
|
|
public static let descriptors: [MethodDescriptor] = []
|
|
|
}
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias StreamingServiceProtocol = NamespaceA_BserviceStreamingServiceProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias ServiceProtocol = NamespaceA_BserviceServiceProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias ClientProtocol = NamespaceA_BserviceClientProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias Client = NamespaceA_BserviceClient
|
|
|
}
|
|
|
}
|
|
|
@@ -439,18 +471,26 @@ final class TypealiasTranslatorSnippetBasedTests: XCTestCase {
|
|
|
package enum Method {
|
|
|
package static let descriptors: [MethodDescriptor] = []
|
|
|
}
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
package typealias StreamingServiceProtocol = AServiceStreamingServiceProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
package typealias ServiceProtocol = AServiceServiceProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
package typealias ClientProtocol = AServiceClientProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
package typealias Client = AServiceClient
|
|
|
}
|
|
|
package enum BService {
|
|
|
package enum Method {
|
|
|
package static let descriptors: [MethodDescriptor] = []
|
|
|
}
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
package typealias StreamingServiceProtocol = BServiceStreamingServiceProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
package typealias ServiceProtocol = BServiceServiceProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
package typealias ClientProtocol = BServiceClientProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
package typealias Client = BServiceClient
|
|
|
}
|
|
|
"""
|
|
|
@@ -494,9 +534,13 @@ final class TypealiasTranslatorSnippetBasedTests: XCTestCase {
|
|
|
internal enum Method {
|
|
|
internal static let descriptors: [MethodDescriptor] = []
|
|
|
}
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
internal typealias StreamingServiceProtocol = Anamespace_AServiceStreamingServiceProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
internal typealias ServiceProtocol = Anamespace_AServiceServiceProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
internal typealias ClientProtocol = Anamespace_AServiceClientProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
internal typealias Client = Anamespace_AServiceClient
|
|
|
}
|
|
|
}
|
|
|
@@ -505,9 +549,13 @@ final class TypealiasTranslatorSnippetBasedTests: XCTestCase {
|
|
|
internal enum Method {
|
|
|
internal static let descriptors: [MethodDescriptor] = []
|
|
|
}
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
internal typealias StreamingServiceProtocol = Bnamespace_BServiceStreamingServiceProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
internal typealias ServiceProtocol = Bnamespace_BServiceServiceProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
internal typealias ClientProtocol = Bnamespace_BServiceClientProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
internal typealias Client = Bnamespace_BServiceClient
|
|
|
}
|
|
|
}
|
|
|
@@ -545,9 +593,13 @@ final class TypealiasTranslatorSnippetBasedTests: XCTestCase {
|
|
|
public enum Method {
|
|
|
public static let descriptors: [MethodDescriptor] = []
|
|
|
}
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias StreamingServiceProtocol = BServiceStreamingServiceProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias ServiceProtocol = BServiceServiceProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias ClientProtocol = BServiceClientProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias Client = BServiceClient
|
|
|
}
|
|
|
public enum Anamespace {
|
|
|
@@ -555,9 +607,13 @@ final class TypealiasTranslatorSnippetBasedTests: XCTestCase {
|
|
|
public enum Method {
|
|
|
public static let descriptors: [MethodDescriptor] = []
|
|
|
}
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias StreamingServiceProtocol = Anamespace_AServiceStreamingServiceProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias ServiceProtocol = Anamespace_AServiceServiceProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias ClientProtocol = Anamespace_AServiceClientProtocol
|
|
|
+ @available(macOS 13.0, iOS 16.0, watchOS 9.0, tvOS 16.0, *)
|
|
|
public typealias Client = Anamespace_AServiceClient
|
|
|
}
|
|
|
}
|