Commit graph

546 commits

Author SHA1 Message Date
John Lewin
ce6a3834fc Fix LibrarySelection -> Rename
- RenameButtonRenameLocalLibraryItem test passing
- Get LibrarySelection->Remove action to compile after refactoring
- Make LibraryRenameSelectedItem an extension method and update callers
2017-06-03 13:31:07 -07:00
John Lewin
fc84f30333 Expand zips on add to Sqlite, fix test
- LocalLibraryAddButtonAddZipToLibrary test passing
2017-06-03 09:46:02 -07:00
John Lewin
aa736b25cc Revise LocalLibraryAddButtonAddAMFToLibrary test 2017-06-03 09:22:39 -07:00
John Lewin
3a9c257ab2 Revise LocalLibraryAddButtonAddsMultipleItemsToLibrary test 2017-06-03 09:18:10 -07:00
John Lewin
d54f651b42 Restore classic SqliteLibrary item naming behavior, get test passing
- LocalLibraryAddButtonAddSingleItemToLibrary passing
2017-06-03 09:03:02 -07:00
John Lewin
6a1c0b5769 Revise HardwareLevelingUITests 2017-06-03 08:20:09 -07:00
John Lewin
8e4a02684e Revise CancelingNormalPrintTurnsHeatAndFanOff test 2017-06-02 21:54:23 -07:00
John Lewin
30e1d20e66 Revise TuningAdjustmentControlsBoundToStreamValues test 2017-06-02 21:48:49 -07:00
John Lewin
b70908d770 Revise TuningAdjustmentsDefaultToOneAndPersists test
- Make 'Print' button visible on PrintFinished state
2017-06-02 21:42:19 -07:00
John Lewin
39fb56453e Revise PrinterRequestsResumeWorkingAsExpected test
- Test still failing due to pause dialogs not appearing
- Make WaitForPrintFinished helper/extension method
2017-06-02 21:20:56 -07:00
John Lewin
f770384137 Revise PulseRequiresLevelingAndLevelingWorks
- Test still fails likely due to recent bug in 1.7
2017-06-02 21:07:54 -07:00
John Lewin
543ddced7c Use single statement test syntax 2017-06-02 20:29:03 -07:00
John Lewin
b0957cdd13 Return emulator from helper function, remove casts to Emulator
- Use variable name that reflects type
2017-06-02 19:57:15 -07:00
John Lewin
ccd83ba673 Extract default file plating helper to extension method 2017-06-02 19:50:08 -07:00
John Lewin
563b371395 Make SwitchToAdvancedSliceSettings helper an extension method
- Rename for clarity - numerous Settings contexts in application
2017-06-02 19:49:33 -07:00
John Lewin
fa800c4a3b Get first ActivePrintItem test passing again
- CompletingPrintTurnsoffHeat now passing
- Create new 'Add to Plate' action for library selections
- Create zip files after print->slice->ActivePrintItem success
- Copy generated gcode into zip
- Copy SliceSettings into zip
  - Make DocumentPath on PrinterSettings public
- Copy printer plate to zip file
- Add ClearPlate helper function to ApplicationController
- Invoke ClearPlate on startup to initialize ActivePrintItem
- Make SliceSettings user mode resets SliceSettings not AdvControls
- Make Library Overflow menu and items automatable
2017-06-02 17:06:27 -07:00
John Lewin
9f6821305c Fix ClickingShowTerminalButtonOpensTerminal test
- Remove test navigation to SettingsAndControls
2017-05-21 22:11:27 -07:00
John Lewin
1e286f14bf Remove library tests from PrintQueueTests, extract non-applicable tests
- See PrintQueueUncertain.cs and LibraryActionTests.cs
2017-05-21 18:02:53 -07:00
John Lewin
88ce05b5fd Fix QueueAddButtonAddsSTL test
- Rename to AddStlFile
- Update to new format
- Remove testToRun variable, pass lambda directly
- Issue MatterHackers/MCCentral#1504
2017-05-21 17:37:37 -07:00
John Lewin
a1e49bb1e7 Fix QueueAddButtonAddsGcodeFile test
- Rename to AddGCodeFile
- Update to new format
- Remove testToRun variable, pass lambda directly
- Issue MatterHackers/MCCentral#1504
2017-05-21 17:36:09 -07:00
John Lewin
addd88986a Fix QueueAddButtonAddsAMF test
- Rename to AddAmfFile
- Update to new format
- Remove testToRun variable, pass lambda directly
- Issue MatterHackers/MCCentral#1504
2017-05-21 17:27:06 -07:00
John Lewin
51abfc527a Fix AddSingleItemToQueue test
- Issue MatterHackers/MCCentral#1504
2017-05-21 17:10:30 -07:00
John Lewin
bbbcb62123 Fix AddMultipleItemsToQueue test
- Use new library widget name format
- Fix blocking issues in PrintQueueContainer
  - Perform actual container reload via .ReloadContainer
  - Allow ReloadContainer to execute on the current thread
  - Wrap original invocation of ReloadContainer in ctor with Task.Run()
- Issue MatterHackers/MCCentral#1504
2017-05-21 16:55:33 -07:00
John Lewin
2654151649 Call Container.Add(IEnumerable<T>)
- Add ChangeToQueueContainer helper method
- Cast to IWritableContainer and invoke Add(IEnumerable<T>)
- Issue MatterHackers/MCCentral#1503
2017-05-21 16:29:00 -07:00
Lars Brubaker
352eb792f1 Merge branch 'smash_1.7.1' into design_tools
# Conflicts:
#	PartPreviewWindow/View3D/View3DWidget.cs
#	SlicerConfiguration/SliceSettingsWidget.cs
#	SlicerConfiguration/SlicingQueue.cs
#	StaticData/SliceSettings/Properties.json
2017-05-19 14:57:04 -07:00
Lars Brubaker
a1e1c48d90 All new 1.7.1 changes 2017-05-19 14:39:57 -07:00
Lars Brubaker
aa7445b618 Merge remote-tracking branch 'origin/1.7' into design_tools
# Conflicts:
#	StaticData/Translations/Master.txt
2017-04-11 13:25:42 -07:00
Lars Brubaker
ec7ad5ca1a Fixed the library print test to not hang 2017-04-11 11:51:21 -07:00
John Lewin
907609b587 Design tools 2017-03-15 16:29:56 -07:00
Lars Brubaker
84afaf8292 Update to framework 4.6.1 2017-03-15 14:45:14 -07:00
John Lewin
ab8cb11d92 Tuning adjustments default to 1.0 on application restart 2017-03-09 12:46:06 -08:00
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