Ejemplo n.º 1
0
        public void GetFullName_ClassInterfaces(Type classType, params string[] expected)
        {
            var actual = classType
                         .GetInterfaces()
                         .Where(p => GrainInterfaceUtils.IsGrainInterface(p))
                         .Select(p => GrainInterfaceUtils.GetFullName(p))
                         .ToArray();

            _testOutputHelper.WriteLine("Expected: " + string.Join(";", expected));
            _testOutputHelper.WriteLine("Actual: " + string.Join(";", actual));

            Assert.Equal(expected, actual);
        }
Ejemplo n.º 2
0
        public void GetFullName_Interface(Type interfaceType, string expected)
        {
            var actual = GrainInterfaceUtils.GetFullName(interfaceType);

            Assert.Equal(expected, actual);
        }