Revision 7:43eb3a4b95c8 TestDefaults.cpp

View differences:

TestDefaults.cpp
91 91
    if (data) destroyTestAudio(data, channels);
92 92

  
93 93
    if (!(f[0] == f[1])) {
94
        r.push_back(warning("Explicitly setting current program to its supposed current value changes the results"));
94
        Result res = warning("Explicitly setting current program to its supposed current value changes the results");
95
        dump(res, f[0], f[1]);
96
        r.push_back(res);
95 97
    } else {
96 98
        r.push_back(success());
97 99
    }
......
137 139
    if (data) destroyTestAudio(data, channels);
138 140

  
139 141
    if (!(f[0] == f[1])) {
140
        r.push_back(warning("Explicitly setting parameters to their supposed default values changes the results"));
142
        Result res = warning("Explicitly setting parameters to their supposed default values changes the results");
143
        dump(res, f[0], f[1]);
144
        r.push_back(res);
141 145
    } else {
142 146
        r.push_back(success());
143 147
    }

Also available in: Unified diff