Top-Q / difido-reports

This project aims to provide a generic implementation for HTML test reports.
http://top-q.github.io/difido-reports
Apache License 2.0
47 stars 31 forks source link

Test parameters with multiple lines are not shown correctly in the report. #202

Closed ivgenis closed 6 years ago

ivgenis commented 6 years ago

When using a custom test parameter with multiple fields, only the first field is being shown in the Difido reporter (without its value)

JSystem version: 6.1.09

Attached parameter code example with primitive data members. The issue also occurs when the data members are Enums, custom classes, etc.

How to reproduce:

  1. Add the parameter code below to a JSystem test
  2. Fill all the fields
  3. Run the test
  4. Check the Difido reporter
public class CandidateTableValues implements Serializable{

    private int iD;
    private int grade;
    private int blobs;
    private int volume;

    public CandidateTableValues(int iD, int grade, int blobs, int volume) {
        this.iD = iD;
        this.grade = grade;
        this.blobs = blobs;
        this.volume = volume;
    }

    public CandidateTableValues() {
    }

    public int getiD() {
        return iD;
    }

    public void setiD(int iD) {
        this.iD = iD;
    }

    public int getGrade() {
        return grade;
    }

    public void setGrade(int grade) {
        this.grade = grade;
    }

    public int getBlobs() {
        return blobs;
    }

    public void setBlobs(int blobs) {
        this.blobs = blobs;
    }

    public int getVolume() {
        return volume;
    }

    public void setVolume(int volume) {
        this.volume = volume;
    }
}

Expected Result: expectedresult

Actual Result actualresult