[8a957e] | 1 | ### center atoms in defined domain
|
---|
| 2 |
|
---|
| 3 | AT_SETUP([Domain - setting and centering in domain])
|
---|
| 4 | AT_KEYWORDS([domain])
|
---|
[23b0c2] | 5 |
|
---|
| 6 | file=test.conf
|
---|
| 7 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Domain/CenterInBox/pre/test.conf $file], 0)
|
---|
| 8 | AT_CHECK([chmod u+w $file], 0)
|
---|
| 9 | AT_CHECK([../../molecuilder -i $file -b "15, 0, 15, 0, 0, 15"], 0, [stdout], [stderr])
|
---|
[3bd460a] | 10 | AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore])
|
---|
[23b0c2] | 11 | AT_CHECK([diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Domain/CenterInBox/post/test.conf], 0, [stdout], [stderr])
|
---|
| 12 |
|
---|
[8a957e] | 13 | AT_CLEANUP
|
---|
[e69c87] | 14 |
|
---|
| 15 |
|
---|
| 16 | AT_SETUP([Domain - setting and centering in domain with Undo])
|
---|
| 17 | AT_XFAIL_IF([/bin/true])
|
---|
| 18 | AT_KEYWORDS([domain])
|
---|
| 19 |
|
---|
| 20 | file=test.conf
|
---|
| 21 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Domain/CenterInBox/pre/test.conf $file], 0)
|
---|
| 22 | AT_CHECK([chmod u+w $file], 0)
|
---|
| 23 | AT_CHECK([../../molecuilder -i $file -b "15, 0, 15, 0, 0, 15" --undo], 0, [stdout], [stderr])
|
---|
| 24 | AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore])
|
---|
| 25 | AT_CHECK([diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Domain/CenterInBox/post/test.conf], 0, [stdout], [stderr])
|
---|
| 26 |
|
---|
| 27 | AT_CLEANUP
|
---|
| 28 |
|
---|
| 29 |
|
---|
| 30 | AT_SETUP([Domain - setting and centering in domain with Redo])
|
---|
| 31 | AT_XFAIL_IF([/bin/true])
|
---|
| 32 | AT_KEYWORDS([domain])
|
---|
| 33 |
|
---|
| 34 | file=test.conf
|
---|
| 35 | AT_CHECK([/bin/cp -f ${abs_top_srcdir}/${AUTOTEST_PATH}/Domain/CenterInBox/pre/test.conf $file], 0)
|
---|
| 36 | AT_CHECK([chmod u+w $file], 0)
|
---|
| 37 | AT_CHECK([../../molecuilder -i $file -b "15, 0, 15, 0, 0, 15" --undo --redo], 0, [stdout], [stderr])
|
---|
| 38 | AT_CHECK([fgrep "Box domain is now" stdout], 0, [ignore], [ignore])
|
---|
| 39 | AT_CHECK([diff $file ${abs_top_srcdir}/${AUTOTEST_PATH}/Domain/CenterInBox/post/test.conf], 0, [stdout], [stderr])
|
---|
| 40 |
|
---|
| 41 | AT_CLEANUP
|
---|