Commit graph

88 commits

Author SHA1 Message Date
Lars Brubaker
75e137e160 Working on path stitching, fixing tests 2022-09-20 18:02:34 -07:00
Lars Brubaker
32a192c2b8 Upgrading to .net 6 2022-07-15 17:28:39 -07:00
Lars Brubaker
9f7aa3bacb Changed queue to be a file library in appdata
fixed queue test
2022-02-17 13:25:43 -08:00
Lars Brubaker
c3c9c51972 register to listen for .mcx files 2022-02-07 13:51:49 -08:00
LarsBrubaker
d59b872737 fixing tests 2022-02-06 18:32:08 -08:00
Lars Brubaker
f83bdbeb7d Make sure when we create json it is valid and does not have selections in it 2022-02-04 14:51:41 -08:00
Lars Brubaker
11ff49bb7e Writing test for Save As functionality 2022-02-03 17:21:51 -08:00
Lars Brubaker
261376bef2 Rename on bed items can be undone
Made bed heat able to set to 0

Don't save scene while still loading it
2022-01-25 16:27:32 -08:00
LarsBrubaker
1dfe8b3ee5 refactoring 2020-09-11 23:09:50 -07:00
John Lewin
0758361f0f Revise helper for reuse, allow caller to override target folder
- Use IEnumerable<string> instead of params to support target folder
2018-11-02 07:35:26 -07:00
John Lewin
a042133e0d Simplify tests to operate on empty part workspace 2018-10-17 17:26:29 -07:00
Lars Brubaker
b1f2023210 Getting more tests to run on new ui 2018-10-10 13:34:18 -07:00
John Lewin
ec760353fa Resolve failing tests due to assumed default Part tab
- Issue MatterHackers/MCCentral#3173
2018-04-19 08:02:31 -07:00
John Lewin
fa2c839916 Add delay to workaround timing issue
- Issue MatterHackers/MCCentral#3121
Investigate DragTo3DViewAddsItem failure
2018-04-13 17:34:47 -07:00
John Lewin
d72772f62c Update tests to redirect to new menu items 2018-04-07 11:21:02 -07:00
John Lewin
67b0e17d71 Remove excess MatterControl.Automation category 2018-02-01 09:05:24 -08:00
John Lewin
0a6f69d76b Correct comments 2017-12-18 22:03:58 -08:00
John Lewin
70c1894c9a Use default WaitFor timeouts
- Issue MatterHackers/MCCentral#2427
2017-12-15 20:25:07 -08:00
John Lewin
2d4282c801 Rename Delay<Func> to WaitFor<Func> for clarity 2017-12-15 20:25:07 -08:00
John Lewin
3d8b72c7a9 Make dialog delay dependent on implementation
- Remove delays around folder navigation
- Add reusable CompleteDialog helper
2017-12-06 15:35:03 -08:00
John Lewin
af38676244 Make View3DWidget.Scene private 2017-09-16 01:19:07 -07:00
John Lewin
dda6f89c2b Fix widget ordering to restore layer view controls
- Less coupling to MeshViewerWidget
- Interaction layer concept/surface added for IA volumes
  - Holds most IA volume logic and controls
2017-07-11 08:10:57 -07:00
John Lewin
1521e56875 Assert.IsFalse(WaitForName) should use short timeout rather than default 2017-06-17 18:51:24 -07:00
John Lewin
53aa468183 Use WaitForName defaults unless exceptional 2017-06-14 11:13:39 -07:00
John Lewin
1109b7b4ab Remove timeout from ClickByName 2017-06-14 11:13:39 -07:00
John Lewin
dc3e02d6fd Drop QueueSelectCheckBoxWorks for ClickOnLibraryCheckBoxes 2017-06-11 16:45:36 -07:00
John Lewin
5cbcee976e Convert LibraryRemoveSelectedItem to extension method 2017-06-06 18:52:13 -07:00
John Lewin
7401758431 Revise RemoveButtonRemovesSingleItem test 2017-06-06 18:48:46 -07:00
John Lewin
11e3ca8a6e Revise RemoveButtonRemovesMultipleItems test
- Fix product bug with PrintQueueContainer failing to reload
- Add test helper to select ListView items
- Reuse test helper
- Iterate on .OfType instead of cast and eval
2017-06-06 18:42:44 -07:00
John Lewin
11668e305b Revise DragTo3DViewAddsItem test
- Fix naming bug introduced in earlier updates
  - Friendly name should only be applied to default file names
  - Friendly name should not include extension
2017-06-05 23:34:33 -07:00
John Lewin
e33e7d89cd Remove SelectedIndex/Selection functionality from QueueData 2017-06-05 21:57:45 -07:00
John Lewin
8a1163d699 Move ApartmentState.STA attribute to class 2017-06-04 17:39:30 -07:00
John Lewin
f7dba678cd Use new Task.CompletedTask result for clarity 2017-06-04 08:35:29 -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
907609b587 Design tools 2017-03-15 16:29:56 -07:00
Lars Brubaker
a78fe21e7a Fixed failing unit test. 2017-02-15 14:30:06 -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
fb4dab3f17 Revise failing tests, bring passing tests online 2017-01-10 13:43:10 -08:00
Lars Brubaker
9dd64e2ce1 Wrote a test for clicking on the queue check box button 2016-12-21 17:02:25 -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
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
larsbrubaker
541e4ef7b1 Fixed the test that had not been updated 2016-12-04 12:26:04 -08:00