Luke Dixon
f11e417a89
Add some brackets back to SmNodeToTextVisitor
...
For SmOperNodes, I shouldn't have removed these brackets.
Add brackets around SmBinVerNodes and SmBinDiagonalNodes, removing the ones
from SmBinHorNodes and SmUnHorNodes made these ones necessary.
Add brackets when an SmExpressionNode has an SmBinHorNode child.
2011-01-29 16:30:38 +01:00
Caolán McNamara
1839b19c9c
fix warning
2011-01-11 14:33:33 +00:00
Miklos Vajna
5cdf4b199a
use ext_std inside CppUnit::assertion_traits struct
2010-12-29 22:54:28 +01:00
Caolán McNamara
94b3c723aa
relocate this header inside guards
2010-12-24 13:40:55 +00:00
Caolán McNamara
9cd4346f88
disable the tests that may vary, depending on the systems printer
2010-12-21 21:10:57 +00:00
Caolán McNamara
524e73344a
set licence text
2010-12-20 16:00:24 +00:00
Caolán McNamara
3d91eca0d2
cppcheck: always build these tests now
2010-12-20 14:44:56 +00:00
Caolán McNamara
0b9ad2ddff
cppunit: make sure to regenerate .rdb if makefile changes
2010-12-20 13:42:20 +00:00
Caolán McNamara
a60eb8b2e1
make buildable under windows
2010-12-20 12:37:32 +00:00
Caolán McNamara
3f347fefc5
The change from List to vector changes order of error messages
...
Which IMO is probably a good thing as the first error is now
at the start, and the last at the end. Which is way more sane,
so change test rather than change code.
2010-12-20 12:37:04 +00:00
Luke Dixon
d80b166d6a
Put brackets around binoms in SmNodeToTextVisitor, with test
2010-12-19 17:15:55 +01:00
Caolán McNamara
c64ac5f980
cppunit: equivalent cppunit test for ViewShowAll
2010-12-10 12:32:16 +00:00
Caolán McNamara
11af030d9b
cppunit: more zoom tests with standard view mode
2010-12-08 14:40:10 +00:00
Caolán McNamara
d69e5470ac
setUp and tearDown are called on *every* test
2010-12-07 15:42:38 +00:00
Caolán McNamara
7841924821
cppunit: test zoom limits
2010-12-07 11:17:24 +00:00
Caolán McNamara
d77dcdc56b
cppunit: add some more zoom tests
2010-12-07 11:12:13 +00:00
Caolán McNamara
914691ae9a
cppunit: test optimal zoom
2010-12-06 21:26:08 +00:00
Caolán McNamara
e39e41ddc7
cppunit: rearrange tests somewhat
2010-12-01 21:01:13 +00:00
Caolán McNamara
d0959d93b5
cppunit: add a zoom test
2010-11-29 21:24:16 +00:00
Caolán McNamara
1df0455c57
cppunit: shrink these test-cases a bit
2010-11-29 21:03:42 +00:00
Caolán McNamara
3d9ff29a16
implement tmEditAllClipboard equivalent cppunit test
2010-11-29 16:48:58 +00:00
Caolán McNamara
b8cd33a494
equivalent tmEditMarker cppunit test
2010-11-29 16:15:15 +00:00
Luke Dixon
5af755989b
Add license header to test_nodetotextvisitors.cxx
2010-11-27 13:59:21 +01:00
Luke Dixon
1afc000284
Fix a leak & remove leftover cout that I missed
2010-11-27 13:57:46 +01:00
Caolán McNamara
68f380da40
need ; vs : on windows
2010-11-26 15:26:15 +00:00
Luke Dixon
08bdc1046d
Add some tests for SmNodeToTextVisitor.
2010-11-24 12:19:51 +01:00
Caolán McNamara
d950ae6aa6
add a tmEditFailure test, better than the automation one
2010-11-10 21:20:30 +00:00
Caolán McNamara
2d8f58a1db
rename this bit to tmEditUndoRedo
2010-11-10 16:17:58 +00:00
Caolán McNamara
4ba60ec9b4
cppunit equivalent to tmEditUndoRedo of testAutomation
2010-11-09 15:28:50 +00:00