/** */
void runTestParenthesesMarkOperatorPrecedence07(PersistenceManager pm) {
if(debug) logger.debug("\nExecuting Test ParenthesesMarkOperatorPrecedence07...");
Transaction tx = pm.currentTransaction();
try {
tx.begin();
Query query = pm.newQuery();
query.setClass(PCPoint.class);
query.setCandidates(pm.getExtent(PCPoint.class, false));
query.setFilter("x == (10000 / 5000) || false");
Object results = query.execute();
// check query result
List expected = new ArrayList();
Object p3 = new PCPoint(2, 2);
expected.add(p3);
expected = getFromInserted(expected);
printOutput(results, expected);
checkQueryResultWithoutOrder(ASSERTION_FAILED, results, expected);
if(debug) logger.debug("Test ParenthesesMarkOperatorPrecedence07 - Passed");
tx.commit();
tx = null;
}
finally {
if ((tx != null) && tx.isActive())
tx.rollback();
}
}