SelectorEngineImpl selSizz = new SelectorEngineSizzle();
SelectorEngineImpl selSizzGwt = new SelectorEngineSizzleGwt();
SelectorEngineImpl selJS = new SelectorEngineJS();
SelectorEngineImpl selXpath = new SelectorEngineXPath();
SelectorEngineImpl selC2X = new SelectorEngineCssToXPath();
SelectorEngineImpl selNative = new SelectorEngineNative();
// FIXME: this fails when running in iframe since 2.5.0
// assertArrayContains(selector + " - (selSizz)", selSizz.select(selector, elem).getLength(), array);
// assertArrayContains(selector + " - (selSizzGwt) ", selSizzGwt.select(selector, elem).getLength(), array);
assertArrayContains(selector + " - (selJS)", selJS.select(selector, elem).getLength(), array);
if (hasNativeSelector()) {
assertArrayContains(selector + " - (selNative)", selNative.select(selector, elem).getLength(), array);
}
assertArrayContains(selector + " - (selXpath)", selXpath.select(selector, elem).getLength(), array);
assertArrayContains(selector + " - (selC2X)", selC2X.select(selector, elem).getLength(), array);
}