### center atoms in defined domain AT_SETUP([Domain - setting and centering in domain]) AT_KEYWORDS([domain,center-in-box]) file=test.conf AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Domain/CenterInBox/pre/test.conf $file], 0) AT_CHECK([chmod u+w $file], 0) AT_CHECK([../../molecuilder -i $file -b "15, 0, 15, 0, 0, 15"], 0, [stdout], [stderr]) AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore]) AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Domain/CenterInBox/post/test.conf], 0, [stdout], [stderr]) AT_CLEANUP AT_SETUP([Domain - setting and centering in domain with Undo]) AT_XFAIL_IF([/bin/true]) AT_KEYWORDS([domain,center-in-box,undo]) file=test.conf AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Domain/CenterInBox/pre/test.conf $file], 0) AT_CHECK([chmod u+w $file], 0) AT_CHECK([../../molecuilder -i $file -b "15, 0, 15, 0, 0, 15" --undo], 0, [stdout], [stderr]) AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore]) AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Domain/CenterInBox/post/test.conf], 0, [stdout], [stderr]) AT_CLEANUP AT_SETUP([Domain - setting and centering in domain with Redo]) AT_XFAIL_IF([/bin/true]) AT_KEYWORDS([domain,center-in-box,redo]) file=test.conf AT_CHECK([/bin/cp -f ${abs_top_srcdir}/tests/regression/Domain/CenterInBox/pre/test.conf $file], 0) AT_CHECK([chmod u+w $file], 0) AT_CHECK([../../molecuilder -i $file -b "15, 0, 15, 0, 0, 15" --undo --redo], 0, [stdout], [stderr]) AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore]) AT_CHECK([diff $file ${abs_top_srcdir}/tests/regression/Domain/CenterInBox/post/test.conf], 0, [stdout], [stderr]) AT_CLEANUP