Commit graph

18 commits

Author SHA1 Message Date
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
John Lewin
b0401478af Restore disabled automation tests 2016-11-03 09:53:22 -07:00
John Lewin
c72c8d8fc6 Revise Agg automation
- Remove per test classes
- Migrate RunInApplicationDomain attributes to TextFixture
- Convert from Action<AutomationRunner> to AutomationTest delegate
- Convert testRunner.AddTestResult to Assert.IsTrue
- Remove testRunner.AllTestPassed(n) - use Asserts
- Add return Task.FromResult(0) for non-async test method bodies
- Upgrade NUnit.ApplicationDomain to v10
2016-10-25 07:38:48 -07:00
John Lewin
ee52f24835 Upgrade to NUnit3
- Revise hard-coded paths for compatibility with new VS adapter
- Add utility functions for path generation
- Extract SHA1 computation from Save function
- Add ToJson helper function
- Don't save SHA1 in computed document
- Remove Asserts from CloseMatterControl, extend wait period
- Add TestAutomationConfig type replacing serialized Dictionary
2016-09-21 14:13:39 -07:00
John Lewin
ec2bd36aa3 Disable failing tests due to MCWS issue 2016-07-08 08:42:55 -07:00
John Lewin
c255e46032 Move automation tests to "MatterControl.UI.Automation" category
- Change namespaces to MatterHackers.MatterControl.Tests.Automation
 - Cleanup using statements
2016-05-11 09:16:03 -07:00
John Lewin
f8f70f46e6 Concise queries, reduce to functionality
- Remove DataStorage qualifier, add using statements
 - Remove unnecessary query variables and string.formatting statements
 - Remove duplicate code, reuse .RecordCount method
2016-02-23 14:42:36 -08:00
Lars Brubaker
ee5c405f2b Made the SqLite test pass now that we add the coin and stand to the library by default. 2016-02-09 16:11:28 -08:00
Lars Brubaker
7d05d1d6de Fixed the SQLite test to run events that have been moved to the ui thread. 2016-01-20 14:52:37 -08:00
John Lewin
9a5d872486 Automation updates
- Revise skirt_distance label per support team
 - Remove CreateInstance(showWindow) out variable
 - Remove embedded tools requiring showWindow out variable
 - Remove queueItemFolderToAdd variable/parameter
 - Change AfterFirstDraw event to null conditional invoke
 - Removed unused AutomationTest from MatterControlApplication
 - Refactor for style consistency and document new methods
 - Change queueItemFolderToAdd type to custom enum to ensure optional parameters are not mixed up
 - Ensure TestExportZip file is deleted before attempting export
2015-12-22 13:06:47 -08:00
Gregory Diaz
6748612a70 Added code so that we can set a special ApplicationDataStorage.Instance.ApplicationUserData for testing. Also removed code that renamed original MatterControl folder name in AppData. 2015-12-21 15:58:53 -08:00
Gregory Diaz
ce835942d3 Merge branch 'master' of https://github.com/MatterHackers/MatterControl 2015-11-19 15:50:39 -08:00
John Lewin
efb8505868 Revert async SQLite provider calls back to sync 2015-10-08 11:00:43 -07:00
Lars Brubaker
3504d4dfe4 Made dispose on library providers get called much more consistently.
Made squlite provider do more operations async.
2015-09-10 12:42:52 -07:00
Lars Brubaker
1b5c1e6a3e Total Seconds is what we really wanted.
Making the tests have more common code for less errors.
2015-09-04 11:28:01 -07:00
Lars Brubaker
277fb9a128 Cleaning up MC utilities interface 2015-09-01 10:26:14 -07:00
Lars Brubaker
b30bae0abf Made providers take a function to change the provider (used in searching)
Improved tests (made functions to help create a clean run)
2015-08-25 11:56:21 -07:00
Lars Brubaker
90414866a2 Moved the sqlite test into its own class so it can have its own app domain and work in the suit. 2015-08-21 11:17:38 -07:00