|
@@ -56,7 +56,7 @@ final class ReflectionServiceUnitTests: GRPCTestCase {
|
|
|
/// Testing the serviceNames array of the ReflectionServiceData object.
|
|
/// Testing the serviceNames array of the ReflectionServiceData object.
|
|
|
func testServiceNames() throws {
|
|
func testServiceNames() throws {
|
|
|
let protos = makeProtosWithDependencies()
|
|
let protos = makeProtosWithDependencies()
|
|
|
- let servicesNames = protos.serviceNames.sorted()
|
|
|
|
|
|
|
+ let servicesNames = protos.flatMap { $0.qualifiedServiceNames }.sorted()
|
|
|
let registry = try ReflectionServiceData(fileDescriptors: protos)
|
|
let registry = try ReflectionServiceData(fileDescriptors: protos)
|
|
|
let registryServices = registry.serviceNames.sorted()
|
|
let registryServices = registry.serviceNames.sorted()
|
|
|
XCTAssertEqual(registryServices, servicesNames)
|
|
XCTAssertEqual(registryServices, servicesNames)
|