Commit graph

742 commits

Author SHA1 Message Date
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
Lars Brubaker
e7327cbce5 This test requires we call initialize. 2017-06-01 09:50:36 -07:00
John Lewin
4d54f7153d Fix build error 2017-05-25 18:57:04 -07:00
John Lewin
08d2a6ab1a Working toward shared ViewControls3D and functional slicing
- More missing functionality restored in action bars/slicing views
2017-05-25 01:15:00 -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
John Lewin
c24480e4ed Fix list item names, use DoubleClickByName to automate library items
- Remove unused 'up folder' list view item code
2017-05-20 17:47:36 -07:00
John Lewin
e882f925ed Fix failing MatterControlRuns test
- Switch control to validate from 'SettingsAndControls' to 'Library Tab'
2017-05-20 15:50:17 -07:00
John Lewin
03a593f1b5 Move to new library model and view
- Add new listview control for library content
- Migrate library providers to containers
  - Cloud, Sqlite, Directories, Queue, History
- Migrate SideBar components to containers
  - Primatives, Text, Braille, ImageConverter
- Create new library container types
  - Zip files, Calibration parts, Printer SDCards
- Reduce leftnav to Library, Settings, Controls, Options
- Add DragDrop support for image content
2017-05-20 00:41:02 -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
Lars Brubaker
d676e8f30e adressing: MatterHackers/MatterControl#2000
Changed code to look for "T0:" rather than starts with "ok T0:
Wrote test to ensue we are parsing temps correctly
2017-03-21 14:26:54 -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
458f0649e6 Wait up to 1 second for SettingsAndControls to appear 2017-03-09 14:25:20 -08: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
Lars Brubaker
def442958b Wrote a new test that ensures we can export library items. 2017-03-07 14:13:35 -08:00
Lars Brubaker
b88416163c Fixing tests 2017-03-01 17:05:48 -08:00
Lars Brubaker
dde57d537f Fixed test 2017-03-01 16:02:23 -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
2026812b2f Comments and more checks. 2017-02-13 17:18:24 -08:00
Lars Brubaker
dec7b2859a Merge branch 'master' of https://github.com/MatterHackers/MatterControl 2017-02-13 16:16:16 -08:00
Lars Brubaker
b72d6b0c85 Wrote new test for cancel working. 2017-02-13 11:52:56 -08:00
John Lewin
c875f622f1 Stream test must run in separate application domains 2017-02-09 11:10:42 -08:00
John Lewin
b665091e18 Multiplier streams must acquire and track dependant settings
- Correct whitespace
2017-02-09 09:01:03 -08:00