Commit graph

181 commits

Author SHA1 Message Date
John Lewin
c87f14c3f4 Update StaticData config.ini tests and enable for continuous integration 2016-05-23 15:23:56 -07:00
John Lewin
c0d2b563f4 Rename file to match TypeName 2016-05-11 20:20:13 -07:00
John Lewin
92774df91c Fix broken tests - ensure db is initialized before test execution 2016-05-11 16:18:54 -07:00
John Lewin
bf744385e5 Fix broken test - ensure db is initialized before l10n 2016-05-11 14:54:32 -07:00
John Lewin
e580c886a9 Improve failure logging, move unstable test to FixNeeded 2016-05-11 12:44:04 -07:00
John Lewin
d68a5d6d07 Fix broken stream tests, use AreEqual to improve failure troubleshooting 2016-05-11 12:41:13 -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
d684630a50 Add console debugging to investigate test failures 2016-05-09 16:25:32 -07:00
Lars Brubaker
9dbe8ebcac Put in Add New Printer menu 2016-04-29 13:55:29 -07:00
John Lewin
d3568cc3ab Import PrintLevelingData, PrintLevelingEnabled, ManualMovementSpeeds
* Decouple PrintLevelingData from ActiveSliceSettings.Instance
 * #Fixes #687
2016-04-27 19:20:49 -07:00
John Lewin
4496720772 Json Profiles 2016-04-27 14:35:57 -07:00
Lars Brubaker
ddbef452c1 Took out the onidle timing in MH text widget
Making more delegates call by invoke
took out unused usings
Made the settings save on edit complete (so they work)
2016-04-21 18:02:02 -07:00
John Lewin
1c1434909d Revise settings to slicer mappings 2016-03-11 23:39:08 -08:00
Greg
1e4c1cda53 Added automated test to ensure that setting values are being passed to MatterSlice with the correct values. Also added a stress test in slice settings. 2016-03-03 16:57:43 -08:00
John Lewin
1f5cc95000 Revise naming to reflect behavior - LoadSettingsFromConfigFile
- Be more clear about when we return null
 - Spelling
2016-02-25 12:01:39 -08:00
Lars Brubaker
f6060939dd Merge remote-tracking branch 'origin/1.5.1' 2016-02-24 12:31:39 -08:00
Greg
426520a52b Fixed broken unit tests 2016-02-24 11:03:23 -08:00
John Lewin
558aef80a1 Remove tests 2016-02-24 08:16:01 -08:00
John Lewin
978ab9905d Initialize 7 point leveling test dependencies 2016-02-24 07:43:56 -08:00
Greg
12f4b76447 Temporarily ignore test until it is refactored 2016-02-23 15:15:39 -08: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
John Lewin
bad3c63939 Fix Spelling 2016-02-12 19:06:36 -08:00
Lars Brubaker
535ddace1e Merge branch '1.5.0' 2016-02-09 16:11:50 -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
Gregory Diaz
2d42ec52e1 Added unittest for ensuring that when has_hardware_leveling = 1 we dont show the Print Leveling tab in Slice Settings and also that when has_hardware_leveling = 0 we do show Print Leveling 2016-02-01 17:20:18 -08:00
Gregory Diaz
316920638b Added unit tests to make sure sample parts are included in Sample Parts folder and that parts are flagged in settings.json on android and desktop 2016-02-01 14:33:40 -08:00
Gregory Diaz
bef405da28 Skip Configuration tests for now. Not yet finished. 2016-02-01 14:33:39 -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
Lars Brubaker
71f22acc75 SetPrinterPosition no longer returns a value
Every function that tracks position implements SetPerinterPosition
Moved GCodeStreamProxy to its own file
Created a new PauseHandlingStream
Wrote a test for same
Fixed the bug with pausing not returning to correct extrusion
Fixed print leveling to pass on the correct offset to SetPrinterPosition
Made sure we always send the shut off extruders on exit
Make agg parse double able to handle a space between the negative sign and the number "- 10".
Put in a test for same.
2016-01-19 15:16:05 -08:00
Gregory Diaz
ebd10c395f Added more FileSystemProvider tests and refactored old code so that it is more readable 2016-01-13 17:02:41 -08:00
Gregory Diaz
c866d06b83 Added method to select and add printer for automated slicing tests 2016-01-13 10:26:17 -08:00
Gregory Diaz
1aa290b7b9 re-factored printer configuration tests so that we can run them using nunit. Added new tests and updated old ones. 2016-01-05 17:18:18 -08:00
Gregory Diaz
5a1cd1b974 Added Automated unit tests for Exporting GCode from the Downloads folder and for adding zip files to the Downloads Folder I flagged it to be Ignored currently but they are nearly done 2015-12-31 12:57:00 -08:00
Gregory Diaz
da851a7f6a Added test tools for running Library Downloads unit tests and added two unit tests 2015-12-29 18:26:00 -08:00
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