Ejemplo n.º 1
0
 /// <inheritdoc/>
 public virtual void GetData(XunitSerializationInfo data)
 {
     // TODO: Should throw when TestMethodArguments is not null/empty?
     data.AddValue("TestMethod", TestMethod);
     data.AddValue("TestMethodArguments", TestMethodArguments);
     data.AddValue("DefaultMethodDisplay", DefaultMethodDisplay.ToString());
 }
Ejemplo n.º 2
0
        /// <inheritdoc/>
        public void GetData(XunitSerializationInfo info)
        {
            info.AddValue("DisplayName", DisplayName);
            info.AddValue("TestAssembly", TestAssembly);
            info.AddValue("UniqueID", UniqueID.ToString());

            if (CollectionDefinition != null)
            {
                info.AddValue("DeclarationAssemblyName", CollectionDefinition.Assembly.Name);
                info.AddValue("DeclarationTypeName", CollectionDefinition.Name);
            }
            else
            {
                info.AddValue("DeclarationAssemblyName", null);
                info.AddValue("DeclarationTypeName", null);
            }
        }
Ejemplo n.º 3
0
 /// <inheritdoc/>
 public void GetData(XunitSerializationInfo info)
 {
     info.AddValue("TestCollection", TestCollection);
     info.AddValue("ClassAssemblyName", Class.Assembly.Name);
     info.AddValue("ClassTypeName", Class.Name);
 }
Ejemplo n.º 4
0
 /// <inheritdoc/>
 public void GetData(XunitSerializationInfo info)
 {
     info.AddValue("MethodName", Method.Name);
     info.AddValue("TestClass", TestClass);
 }
Ejemplo n.º 5
0
 /// <inheritdoc/>
 public void GetData(XunitSerializationInfo info)
 {
     info.AddValue("AssemblyPath", Assembly.AssemblyPath);
     info.AddValue("ConfigFileName", ConfigFileName);
 }
Ejemplo n.º 6
0
 /// <inheritdoc/>
 public void GetData(XunitSerializationInfo info)
 {
     info.AddValue("FileName", FileName);
     info.AddValue("LineNumber", LineNumber, typeof(int?));
 }
Ejemplo n.º 7
0
    public override void GetData(XunitSerializationInfo data)
    {
        data.AddValue("SkipReason", SkipReason);

        base.GetData(data);
    }