17 Commits

Author SHA1 Message Date
Dmitry Gribenchuk
863569b7de
small code-style fixes 2024-10-17 11:24:48 +03:00
Ghostkeeper
db15bc84cf
Correct and consistent spelling of g-code
This spelling is in Ultimaker's style guide.
We use g-code, and capitalise the G if it's at the start of a sentence or header.
Pretty good score, considering there are literally thousands of user- or log-visible strings mentioning g-code across Cura.
2020-07-20 13:36:49 +02:00
Nino van Hooff
816aaafc19 Revert changes for CURA-5479
It was decided that functionality present in existing plugins is
sufficient. No need to replicate it in our own codebase and
take on the burden of maintenance

CURA-5479
2020-07-07 16:11:03 +02:00
Nino van Hooff
06284b6a73 Implement Review comments
CURA-5479
2020-07-01 16:47:20 +02:00
Nino van Hooff
adf082a4ad Fix TextPrintInformation
CURA-5479
2020-07-01 14:59:14 +02:00
Ghostkeeper
962e375dad
Remove mocking of deprecated field
This field is no longer used by the code under test.
2020-05-29 17:26:33 +02:00
Jaime van Kessel
2e9dca71ce
Remove a number of unused imports 2020-04-10 13:58:10 +02:00
Jaime van Kessel
0862fd493e
Fix some tests not cleaning up correctly after themselves
The PrintInformation test wasn't cleaning up after itself correclty. This
left some stuff behind that the other tests were using. Since this is bad (as at that point
tests can influence other tests), i've fixed that
2019-12-24 16:20:09 +01:00
Lipu Fei
4e5d08f320 Fix merge conflicts with master 2019-03-21 14:59:53 +01:00
Lipu Fei
5848174ad4 Move PrintInformation into cura.UI module 2019-03-20 09:13:38 +01:00
Ghostkeeper
2b8a2d0c20
Reduce print output during happy path of automated tests
It should really just not print anything except what pytest prints, so you can easily see what tests have failed and what have not.
2019-03-11 11:10:09 +01:00
Jaime van Kessel
3494055de7 Add some debug prints to the test that ocasionally fails on the CI 2019-02-22 15:01:53 +01:00
Jaime van Kessel
b5c270f00a Add stubs for MachineManager testing
It also adds a first test that checks if the setActiveMachine
2019-02-22 13:49:31 +01:00
Jaime van Kessel
ee1830e777 Make the duration test first zero the times before sending print duration message. 2019-02-22 11:33:23 +01:00
Jaime van Kessel
75b185d462 Add test for duration messages for printInformation 2019-02-15 16:43:08 +01:00
Diego Prado Gesto
ebae4347a8 Fix unit tests that were failing after adding the getAbbreviatedMachineName to the machine manager.
Contributes to CURA-5942.
2018-11-26 13:44:32 +01:00
Aleksei S
9bd4ab2faa Added unittest for PrintInformation class 2018-09-28 10:46:14 +02:00