Commit graph

97 commits

Author SHA1 Message Date
Lars Brubaker
695aa2d891 white space 2015-12-22 16:44:54 -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
Lars Brubaker
41dca5339e Pass the MaxLength unit test. 2015-12-21 10:09:12 -08:00
John Lewin
eb16cdc3e6 Add release build tests for non-referenced assemblies 2015-12-17 12:21:55 -08:00
John Lewin
879a2856d3 Extract automation tests to a separate assembly to ensure isolation/clean startup
- Fall back to English if translation data is missing, rather than crashing
 - Dump test name to console when running test harness to troubleshoot hangs
2015-12-13 17:29:01 -08:00
larsbrubaker
983c947b8b Made max length stream also consider not sending too much data
Took out repair options
2015-12-06 21:41:38 -08:00
Lars Brubaker
82126ec7e5 Made more stream base classes to help with tracking position
Made a proxy class.
Made all position tracking streams keep track of the authoritative printer
2015-12-03 13:54:18 -08:00
Lars Brubaker
88a00079a2 Made all the streams disposable
Made them get disposed
The leveling stream seems to be working.
2015-12-01 14:49:50 -08:00
Lars Brubaker
e3dbb19c2b Tracking the unleveled and the absolute position of the printer separately 2015-11-30 12:26:55 -08:00
larsbrubaker
01c3e3b820 Made the CreateMovmentLine create the minimum line required
Fixed the understanding of feedrate in MaxLengthStream
Wrote test for MaxLengthStream
Renaming for clarity
2015-11-29 23:15:47 -08:00
Gregory Diaz
ce835942d3 Merge branch 'master' of https://github.com/MatterHackers/MatterControl 2015-11-19 15:50:39 -08:00
Gregory Diaz
5f3338879c Added tests for Adding single/multiple Local Library Items to Queue. Also Added tests for making sure Library Item View button opens Part Preview Window 2015-11-18 15:28:50 -08:00
Gregory Diaz
3172da7b55 Added more automated Local Library Tests 2015-11-13 18:06:44 -08:00
Gregory Diaz
66dc5b9a57 Added some automated tests around Local Library functionality 2015-11-13 11:57:19 -08:00
Gregory Diaz
4b3356036c Fixed path for queue item tests so that we use a relative path from the Debug folder so that the path works when anyone runs the tests. 2015-11-03 10:52:12 -08:00
Lars Brubaker
c6abe14878 Make the test code wait for the delete button to become available before trying to get it. 2015-11-02 17:08:55 -08:00
Gregory Diaz
e0257fb5df Finished up queue test automation 2015-10-29 12:03:01 -07:00
Gregory Diaz
913ead4cea Print Queue Automation Work In Progress 2015-10-29 12:02:56 -07:00
Gregory Diaz
9282675f87 Automated most manual queue tests 2015-10-29 12:02:55 -07:00
Gregory Diaz
4fc652dd06 Added String for type method to add queue items 2015-10-29 12:02:55 -07:00
Gregory Diaz
47fc5e17fc New Queue Test Implementation 2015-10-29 12:02:54 -07:00
Lars Brubaker
93feb93f10 Merge branch '1.4.0'
Conflicts:
	PrinterCommunication/PrinterConnectionAndCommunication.cs
2015-10-13 18:51:36 -07:00
John Lewin
efb8505868 Revert async SQLite provider calls back to sync 2015-10-08 11:00:43 -07:00
Kevin E. Pope
8ada8ef2a0 Merge branch '1.4.0' 2015-10-06 09:49:33 -07:00
Lars Brubaker
95bed9d201 Fixed the test. 2015-09-17 18:26:05 -07:00
Lars Brubaker
2289fbfdf0 Put in database locking
fixed a test
2015-09-17 18:25:00 -07:00
Lars Brubaker
73b9512ea9 new call back code (for better testing) 2015-09-17 16:58:56 -07:00
Lars Brubaker
79928f8fb7 Made the Debugger.Break() only exist in debug mode. 2015-09-17 13:45:26 -07:00
Lars Brubaker
20b4bba75e Improving the scroll bars 2015-09-11 16:41:20 -07:00
Lars Brubaker
fa97829073 Put in lots of code to break on exceptions in the debugger.
Made the cloud provider able to report that it is loading
2015-09-11 10:48:24 -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
87767ff591 Handling some file locking errors better (file in use)
Upgrade to amf when saving from 3D editor
2015-09-09 11:05:17 -07:00
Lars Brubaker
8e7f6c07f0 Merge pull request #391 from gregory-diaz/master
Ignore tests that no longer work.
2015-09-08 18:53:53 -07:00
Gregory Diaz
905d901845 Ignore tests that no longer work. 2015-09-08 18:18:13 -07:00
Lars Brubaker
563a5a3b2d Improving the intuition around library navigation 2015-09-08 18:01:09 -07:00
Lars Brubaker
51d56f1914 Merge pull request #388 from gregory-diaz/master
Added test that makes sure Remove All Queue options menu item works
2015-09-04 17:54:14 -07:00
Lars Brubaker
f7077ed56e Put in another leveling test. 2015-09-04 17:45:01 -07:00
Gregory Diaz
0e5475beed Added more tests for queue items 2015-09-04 17:26:44 -07:00
Gregory Diaz
70a185abdd Added test that makes sure Remove All Queue options menu item works 2015-09-04 16:44:41 -07:00
Gregory Diaz
28d76d981e Print Queue tests 2015-09-04 14:56:15 -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
Gregory Diaz
2c9f19a9a6 Removed seconds to wait arguments to fix merge conflicts 2015-09-04 10:30:11 -07:00
Gregory Diaz
d68f3c1e11 resolved merge conflicts to push 2015-09-03 15:35:10 -07:00
Gregory Diaz
26f2315b43 Added Copy QueueItem, and AddPartToQueue tests fixed a bug in MatterControlUtilities, added parts for testing. 2015-09-03 14:52:40 -07:00
Lars Brubaker
a98e29b22e Made it possible to check if the database is closed
More cleaning of automation api
Made the sqlite provider refresh on changes
Made the unit test for that work
2015-09-03 12:21:20 -07:00
Lars Brubaker
cb2a74a90b Reordering perimeters to make test api more consistent. 2015-09-03 10:58:19 -07:00
Lars Brubaker
a50dc9198d Make sure the tests have time outs rather than x offsets. 2015-09-02 11:30:13 -07:00
Lars Brubaker
2ae756f357 Made Action setCurrentLibaryProvider common to all providers. 2015-09-02 11:05:50 -07:00
Lars Brubaker
5c0272e77a Making the tests pass. 2015-09-01 17:41:00 -07:00