Commit graph

490 commits

Author SHA1 Message Date
John Lewin
dc3e02d6fd Drop QueueSelectCheckBoxWorks for ClickOnLibraryCheckBoxes 2017-06-11 16:45:36 -07:00
John Lewin
b1842e58fe Explicitly close MatterControl on test conclusion 2017-06-11 09:58:25 -07:00
John Lewin
ca641f8b13 Ensure Dispose is called on Emulator instance 2017-06-11 09:52:30 -07:00
John Lewin
c4b2e88921 Add Emulator test category 2017-06-11 07:59:13 -07:00
John Lewin
2f6afbb6ae Revise PrinterNameChangePersists test, fix blocking test issue
- Test helper should auto open SliceSettings overflow menu
- Fix product bug with null settingsLevel
2017-06-09 20:12:25 -07:00
Lars Brubaker
6c22a896d9 Taking out center on bed for design tools. 2017-06-08 14:43:01 -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
9dd9928e4e Revise SaveAsToQueue test
- Extract SaveBedplateToFolder functionality to test helper
2017-06-06 18:19:02 -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
83943be0cc Revise UndoRedoCopy test 2017-06-05 23:13:53 -07:00
John Lewin
b0552685b9 Revise RemoveButtonRemovesParts test 2017-06-05 23:06:50 -07:00
John Lewin
b999ddd662 Revise CopyRemoveUndoRedo test 2017-06-05 22:57:15 -07:00
John Lewin
9389281ba8 Revise LibraryQueueViewRefreshesOnAddItem test
- Fix naming issue with SaveAs->LocalLibrary
2017-06-05 22:51:28 -07:00
John Lewin
e33e7d89cd Remove SelectedIndex/Selection functionality from QueueData 2017-06-05 21:57:45 -07:00
John Lewin
2a9e70c28c Ensure bedplate is saved before slicing
- Remove cheat in AddSelectedItemToBedplate helper which saved bed
- Invoke PersistePlateIfNeeded before slicing
- Mark plate as dirty when adding items
- Make SaveChanges awaitable so slicing queues until save is done
- Remove unused Action in functionToCallOnSaveAs delegate
- Change saveas delegate to support new awaitable signature
2017-06-05 14:37:32 -07:00
John Lewin
d205cc6e13 Revise GroupAndUngroup test
- Use new C# 7 out discard syntax for SystemWindow parameter
2017-06-05 07:23:44 -07:00
John Lewin
ddcb32e1f7 Fix naming issues with IObject3D and FindNamedChildrenRecursive 2017-06-04 23:07:05 -07:00
John Lewin
8a1163d699 Move ApartmentState.STA attribute to class 2017-06-04 17:39:30 -07:00
John Lewin
bfd6154bc6 Revise AddToQueueMenuItemAddsZipFiles test 2017-06-04 16:56:39 -07:00
John Lewin
81749e2812 Revise AddToQueueMenuItemAddsMultipleFiles test 2017-06-04 16:50:47 -07:00
John Lewin
5039cc798f Revise AddToQueueMenuItemAddsSingleFile test 2017-06-04 16:44:18 -07:00
John Lewin
7bed3eafc2 Revise FileMenuAddPrinter test 2017-06-04 16:37:26 -07:00
John Lewin
0dc0621f62 Add helper methods to open/close Printers... menu
- Click ConnectionWizard->Skip if present and adding printers
2017-06-04 16:16:07 -07:00
John Lewin
b598f0002a Add test for Thumbnail rendering bug - MatterHackers/MCCentral#1567 2017-06-04 10:20:47 -07:00
John Lewin
2233529a68 Make AddAndSelectPrinter an extension method 2017-06-04 09:01:56 -07:00
John Lewin
f342460a84 Revise RaftEnabledPassedToSliceEngine test 2017-06-04 08:57:17 -07:00
John Lewin
f7dba678cd Use new Task.CompletedTask result for clarity 2017-06-04 08:35:29 -07:00
John Lewin
9a91ddf219 Add and reuse utility function for adding test assets to library
- Allows test body to focus on code being tested
- Ensures consistency in adding assets to library
- Exposes how Fennec part differs from others due to renaming behavior
2017-06-04 08:25:21 -07:00
John Lewin
f674f389ba Revise RaftEnabledPassedToSliceEngine test 2017-06-04 08:25:21 -07:00
John Lewin
c0c346a35c Revise HasHeatedBedCheckedHidesBedTemperatureOptions test 2017-06-04 08:25:21 -07:00
John Lewin
4958defdeb Revise DeleteProfileWorksForGuest test
- Prevent null reference on SyncPrinterProfiles()
2017-06-03 19:39:54 -07:00
John Lewin
85b6dc1ac3 Revise SwitchingMaterialsCausesSettingsChangedEvents test 2017-06-03 19:33:53 -07:00
John Lewin
af582e0d79 Revise ClearingCheckBoxClearsUserOverride test 2017-06-03 19:33:38 -07:00
John Lewin
d80a88e876 Revise CancelWorksAsExpected test 2017-06-03 19:13:54 -07:00
John Lewin
fc45a60d35 Revise PauseOnLayerDoesPauseOnPrint test
- Now intermittently passing
- Make Layer toggle button and Bedplate Save button automatable
- Save Bedplate before leaving AddDefaultFileToBedplate
- Revise casing on AddDefaultFileToBedplate
2017-06-03 19:10:12 -07:00
John Lewin
89f3d26835 Revise QualitySettingsStayAsOverrides test
- Move ApartmentState.STA attributes to class
- Remove wrapper class, make part of SliceSettingsTests
2017-06-03 18:33:48 -07:00
John Lewin
9a2cfce941 Retire PrintLibraryItem test
- No longer expected to have specified items, indexes or ActivePrint
2017-06-03 16:47:26 -07:00
John Lewin
b8be0006ce Retire LibraryItemThumbnailClickedOpensPartPreview test 2017-06-03 16:43:20 -07:00
John Lewin
4452c85c2b Revise AddToQueueFromLibraryButtonAddsItemsToQueue test 2017-06-03 16:40:00 -07:00
John Lewin
add70a2f90 Revise AddToQueueFromLibraryButtonAddsItemToQueue test
- Restore Add To Queue functionality
- Expose reusable AddAllItems() to PrintQueueCollection
- Revise base implementation of FileSystemItem to support default
  name based on filename unless set
2017-06-03 16:18:09 -07:00
John Lewin
ba754dba19 Revise RemoveButtonClickedRemovesSingleItem test 2017-06-03 15:46:34 -07:00
John Lewin
4635831e9c Revise RemoveButtonClickedRemovesMultipleItems test 2017-06-03 15:45:26 -07:00
John Lewin
9da06eb5df Retire ClickLibraryEditButtonOpensPartPreviewWindow test 2017-06-03 15:32:08 -07:00
John Lewin
dd9e2d30b5 Revise RenameButtonRenamesLocalLibraryFolder test
- Restore support for LocalLibrary -> Create Folder
- Share Selection logic between Row/Icon views
- Make folders selectable
- Improve naming of DirectoryContainerLink
2017-06-03 15:11:12 -07:00
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