Example #1
0
        /// <inheritdoc/>
        public override void MarkTestMethod(PexExplorationBase exploration,
                                            IPexGeneratedTest test,
                                            MethodDefinitionBuilder method)
        {
            SafeDebug.AssumeNotNull(test, "test");
            SafeDebug.AssumeNotNull(method, "method");

            method.CustomAttributes.Add(new CustomAttributeBuilder(XunitTestFrameworkMetadata.Ctor_FactAttribute));
        }
        /// <inheritdoc/>
        public override void MarkTestMethod(PexExplorationBase exploration,
                                            IPexGeneratedTest test,
                                            MethodDefinitionBuilder method)
        {
            SafeDebug.AssumeNotNull(test, "test");
            SafeDebug.AssumeNotNull(method, "method");

            method.CustomAttributes.Add(new CustomAttributeBuilder(XunitTestFrameworkMetadata.Ctor_FactAttribute));
        }