Search in sources :

Example 6 with CmisTestGroup

use of org.apache.chemistry.opencmis.tck.CmisTestGroup in project copper-cms by PogeyanOSS.

the class AbstractRunner method run.

// --- run ---
/**
 * Runs all configured groups.
 */
public void run(CmisTestProgressMonitor monitor) throws Exception {
    synchronized (this) {
        isCanceled = false;
    }
    for (CmisTestGroup group : groups) {
        synchronized (this) {
            if (isCanceled) {
                break;
            }
        }
        if (group == null || !group.isEnabled()) {
            continue;
        }
        group.setProgressMonitor(monitor);
        group.run();
    }
}
Also used : CmisTestGroup(org.apache.chemistry.opencmis.tck.CmisTestGroup) WrapperCmisTestGroup(org.apache.chemistry.opencmis.tck.impl.WrapperCmisTestGroup)

Aggregations

CmisTestGroup (org.apache.chemistry.opencmis.tck.CmisTestGroup)6 Map (java.util.Map)4 TreeMap (java.util.TreeMap)4 Date (java.util.Date)2 WrapperCmisTestGroup (org.apache.chemistry.opencmis.tck.impl.WrapperCmisTestGroup)2 XMLOutputFactory (javax.xml.stream.XMLOutputFactory)1 XMLStreamWriter (javax.xml.stream.XMLStreamWriter)1 JSONArray (org.apache.chemistry.opencmis.commons.impl.json.JSONArray)1 JSONObject (org.apache.chemistry.opencmis.commons.impl.json.JSONObject)1 CmisTest (org.apache.chemistry.opencmis.tck.CmisTest)1