Exemple #1
0
        public async Task When_SameNamespace_And_New_Name()
        {
            var transforms = new TypeTransform[] {
                new TypeTransform {
                    TypeName         = "MyNameSpace.MyNewType",
                    OriginalTypeName = "MyOriginalType"
                }
            };

            await TransformValidation.Validate(transforms);
        }
Exemple #2
0
        public async Task When_MethodTransform_FromVariable()
        {
            var transforms = new MethodTransform[] {
                new MethodTransform {
                    MethodName         = "Member02",
                    OwnerType          = "MyType",
                    OriginalMethodName = "Member01"
                }
            };

            await TransformValidation.Validate(transforms);
        }