function cvtest= setAllMetric(cvtest, value)
%

%   Copyright 2013-2014 The MathWorks, Inc.

    ms  = cvtest.settings; 
    metricNames = fields(ms);
    for idx = 1:numel(metricNames)
        cmn = metricNames{idx};
        mv  = cvtest.settings.(cmn);
        if mv ~= value
            setMetric(cvtest, cmn, value);
        end
    end


    
