Commit graph

165 commits

Author SHA1 Message Date
Lars Brubaker
5218a82783 Fixed regression where we turned off sd card printing temps.
Wrote regression test for cancel print code
Made the emulator able to simulate sd card files
2017-03-07 17:52:44 -08:00
John Lewin
6bdcc19dd2 Fix path to ScrollableWidget, remove dead code 2017-02-24 08:52:08 -08:00
Lars Brubaker
bbb8d440d0 Make sure we send settings changed event
when selecting quality and material settings
Wrote a regression test for this
2017-02-22 11:15:51 -08:00
Lars Brubaker
a78fe21e7a Fixed failing unit test. 2017-02-15 14:30:06 -08:00
John Lewin
6233620705 Fix typo, call Dispose 2017-02-14 10:15:13 -08:00
Lars Brubaker
b72d6b0c85 Wrote new test for cancel working. 2017-02-13 11:52:56 -08:00
John Lewin
07f7d90533 Revert to NUnit 3.5 2017-02-07 11:47:57 -08:00
John Lewin
92e75900be Upgrade NUnit, Raygun 2017-02-07 09:41:41 -08:00
John Lewin
71bb68eb01 Modify tuning adjustment test to validate and expect new behavior
- Renamed to TuningAdjustmentsDefaultToOneAndPersist
- Move control and model validation to reusable function
2017-02-02 13:38:49 -08:00
John Lewin
3aa13d82c4 Persist tuning adjustments into printer settings 2017-02-02 10:56:14 -08:00
John Lewin
5f395c1aa0 Use new .Delay function 2017-02-01 13:07:29 -08:00
John Lewin
d34c42487f Add test for MatterHackers/MCCentral#1139 2017-02-01 11:10:18 -08:00
Lars Brubaker
19d22ce91d Refactor wait to delay 2017-02-01 10:12:31 -08:00
larsbrubaker
fcee839476 Refactoring tests 2017-02-01 08:06:26 -08:00
John Lewin
6765f5ec15 Convert public EventHandler fields to events
- Use Action instead of EventHandler
- Convert FunctionToCallOnSave to instance member named RefreshMacros
- Remove empty private setter
- Rename functionToLaunchCreator to Show()
2017-01-24 11:49:13 -08:00
Lars Brubaker
da7bc876a0 Fixed a fix needed test
Fixed macro progress display
2017-01-19 12:35:33 -08:00
Lars Brubaker
de916a835b Making test better 2017-01-12 17:56:55 -08:00
Lars Brubaker
3a24c277a5 Trying to improve reliability of test 2017-01-12 14:18:04 -08:00
larsbrubaker
502f69e519 Waiting for done button was failing if slow computer 2017-01-11 21:29:01 -08:00
Lars Brubaker
79eb185f38 Allow more time to finish. 2017-01-10 19:31:47 -08:00
Lars Brubaker
174983ad7e Merge remote-tracking branch 'origin/1.6'
# Conflicts:
#	Submodules/agg-sharp
2017-01-10 18:49:54 -08:00
Lars Brubaker
a0cbd00017 Give test more time 2017-01-10 18:08:46 -08:00
Lars Brubaker
89cd8ebb3e Fixed the print leveling bug 2017-01-10 17:30:27 -08:00
Lars Brubaker
83832c77e1 Made the emulator track and report position
Made a failing test for print leveling working
2017-01-10 17:20:24 -08:00
Lars Brubaker
df4cf416d8 Put back in the dispose 2017-01-10 13:43:12 -08:00
John Lewin
fb4dab3f17 Revise failing tests, bring passing tests online 2017-01-10 13:43:10 -08:00
Lars Brubaker
fe80c09668 Took out old emulator and put in a new c# one 2017-01-10 12:24:01 -08:00
Lars Brubaker
515966b0f0 Created a new printer turns of temps test
Fixed the test to pass
Made emulator turn off bed temp correctly.
2017-01-03 10:45:16 -08:00
Lars Brubaker
9dd64e2ce1 Wrote a test for clicking on the queue check box button 2016-12-21 17:02:25 -08:00
Lars Brubaker
4266851eef Made this test faster 2016-12-20 17:08:59 -08:00
John Lewin
56f1ab247e Revise failing queue tests on slow VMs
- Use Assert.AreEqual
- Add failure messages
- Extend ClickByName and WaitForName durations
- Restore 500ms waits in NavigateToFolder
2016-12-20 13:58:36 -08:00
Lars Brubaker
56bd301624 Wrote a test to validate that we remove the last queue item correctly
This is to test a regression that was fixed today.
2016-12-15 17:54:42 -08:00
John Lewin
b49b4b8c7e Reduce hard-coded test wait times, use initial dialog to add printers 2016-12-12 17:33:02 -08:00
Lars Brubaker
dbd2c20398 Merge branch '1.6'
# Conflicts:
#	SlicerConfiguration/Settings/ProfileManager.cs
#	Tests/MatterControl.AutomationTests/PrintQueueTests.cs
#	Tests/MatterControl.Tests/MatterControl/MatterControlUtilities.cs
2016-12-07 16:14:56 -08:00
John Lewin
12bfe38519 Validate PrinterConnectionAndCommunication active item matches 2016-12-07 14:34:23 -08:00
John Lewin
153686968f Add PrintLibraryItem test, suppress Process.Kill exceptions 2016-12-07 13:21:53 -08:00
John Lewin
0d13eaef34 Adjust window width to ensure popout window -> Edit is targeted 2016-12-07 11:57:33 -08:00
Lars Brubaker
e89a1adad4 Fixed HasHeatedBedCheckedHidesBedTemperatureOptions 2016-12-07 11:10:35 -08:00
Lars Brubaker
054ba1c663 make sure we can go back to default (and test)
change default to none
2016-12-06 18:12:57 -08:00
Lars Brubaker
1e192d3cd0 Made a test to prove overrides persist on top of user overrides. 2016-12-06 17:54:27 -08:00
Lars Brubaker
c6d50d9907 Make sure the queue is passing all unit tests
If single item selected add to array
Make sure we update selection visibility when going in and out of editor
Fixed some tests
2016-12-05 11:55:08 -08:00
larsbrubaker
541e4ef7b1 Fixed the test that had not been updated 2016-12-04 12:26:04 -08:00
Lars Brubaker
98594899df Merge branch 'master' into master 2016-12-03 12:09:50 -08:00
Lars Brubaker
2e93d43ccd Fixing up automation tests 2016-12-02 18:06:29 -08:00
Lars Brubaker
21b45ec761 Made it so that we can run tests in software mode. 2016-12-02 16:49:18 -08:00
Greg
9763016567 Removed failing experimental "stress" test 2016-12-02 16:34:44 -08:00
Lars Brubaker
23061f51cb Make AddAndSelectPrinter more stable 2016-12-02 15:44:12 -08:00
Greg
f0980c5031 Moved test from MatterControlAutomationTests to CloudServicesTests so that it works 2016-12-02 12:41:13 -08:00
Greg
8003114063 Fix ExportItemsFromDownloads.ExportAsGcode
MatterHackers/MCCentral#878
2016-12-02 11:38:13 -08:00
John Lewin
d4196b7b64 Fix failing QueueThumbnailWidgetOpensPartPreview test 2016-12-01 15:02:49 -08:00