internal void GetFeatureDisplayName(Type serviceInterface, ServiceDescriptor descriptor32, ServiceDescriptor descriptor64, ServiceDescriptor descriptor64ServerGC) { Assert.NotNull(serviceInterface); var expectedName = descriptor32.GetFeatureDisplayName(); Assert.NotEmpty(expectedName); Assert.Equal(expectedName, descriptor64.GetFeatureDisplayName()); Assert.Equal(expectedName, descriptor64ServerGC.GetFeatureDisplayName()); }
internal void GetFeatureDisplayName(Type serviceInterface, ServiceDescriptor descriptor32, ServiceDescriptor descriptor64, ServiceDescriptor descriptor64ServerGC) { Assert.NotNull(serviceInterface); var expectedName = descriptor32.GetFeatureDisplayName(); // The service name couldn't be found. It may need to be added to RemoteWorkspacesResources.resx as FeatureName_{name} Assert.False(string.IsNullOrEmpty(expectedName), $"Service name for '{serviceInterface.GetType()}' not available."); Assert.Equal(expectedName, descriptor64.GetFeatureDisplayName()); Assert.Equal(expectedName, descriptor64ServerGC.GetFeatureDisplayName()); }