Commit graph

303 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
6a1c0b5769 Revise HardwareLevelingUITests 2017-06-03 08:20:09 -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
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
9f6821305c Fix ClickingShowTerminalButtonOpensTerminal test
- Remove test navigation to SettingsAndControls
2017-05-21 22:11:27 -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
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
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
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
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
Lars Brubaker
8134b3f450 Fixed the Macros window to cancel on user closes with the X windows button.
Put cancel into max length and temp stream
Made close function take a bool if the system did it
Moved To EventHandler<> in GuiWidget
Made a ClosedEventsArgs
2017-02-03 13:06:08 -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
Lars Brubaker
d1906f697c Fixing fix needed test library provider file. 2017-01-31 10:26:43 -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
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
Lars Brubaker
fe80c09668 Took out old emulator and put in a new c# one 2017-01-10 12:24:01 -08:00
John Lewin
9b7f1b15de Redirect to Wifi configuration page if offline 2017-01-06 17:18:19 -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
John Lewin
081569987e Revise timings, extend wait before aborting ClickByName
- Failure in ClearingCheckBoxClearsUserOverride due to slow env
- Advanced Menu Item not found
- Wait a few cycles for SettingsAndControls
- Default to new five second wait in ClickByName
2016-12-20 17:46:21 -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
John Lewin
e83c5e7388 Add LayerGCodeHasExpectedValue test
- Immutable PrinterSettings.BaseLayer
- Add PrinterSettings.AutoSave flag to support disabling autosave
  - Save to default path fails under test
- Add PrinterSettings.Save(path) to support manual save
- Migrate 'active_quality_key' to SettingsKey class
2016-12-20 10:45:32 -08:00
John Lewin
27f6db7823 Add PLA density to Lepton 2, remove stringent OemProfile tests 2016-12-19 17:21:11 -08:00
John Lewin
caa2d6ae4f Support configuration based TimeToMoveMouse 2016-12-13 10:26:49 -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
John Lewin
d72503a9c4 Rename Com port to Serial port 2016-12-12 14:18:17 -08:00
Lars Brubaker
3b526cdc98 Fixed merge error in test
Make sure we don't ref a null mesh on rebuild bed
2016-12-07 17:04:35 -08:00
Lars Brubaker
f4633a582f Fixed test
Refactored to NumberOfHotEnds
2016-12-07 16:26:35 -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
Lars Brubaker
ea8f3a70a0 enable hardware as long as we are on internal machines. 2016-12-07 15:24:48 -08:00
John Lewin
153686968f Add PrintLibraryItem test, suppress Process.Kill exceptions 2016-12-07 13:21:53 -08:00
John Lewin
37a9941c70 Add 10 second timeout to WaitForReloadAll helper function 2016-12-06 18:52:25 -08:00