Commit graph

224 commits

Author SHA1 Message Date
Lars Brubaker
261b613689 Made resume failed print able to be turned on and off
Made show if set have an & operator
Made a new test for parsing the show if set parameter
2016-08-11 16:09:45 -07:00
Lars Brubaker
b18f8fc889 Made the name save in settings editor
changed layername to a settings key
2016-08-10 14:04:33 -07:00
Lars Brubaker
10b1835775 Merge pull request #1266 from larsbrubaker/master
Making less calls to reload all
2016-08-08 17:28:12 -07:00
Lars Brubaker
0f2b715935 Making less calls to reload all
New function ReloadLibraryUI
Called when updating purchased and shared folder
2016-08-08 17:17:59 -07:00
Matt Moening
a8e72662df Fixed OemProfile Tests
- Broke up Altair and Poetry Infinity printers into separate printers based on nozzle diameter
 - fixed simple, simple metal, and MendalMax to have Layer heights less than their Nozzle Diameter on coarse settings
 - fixed printer config's oem property to be the name of its directory rather than its parents (was always profiles)
 - changed minimumLayerHight to maximumLayeHeight to reflect what the value actually represented
 - removed fix needed categories
2016-08-08 15:59:09 -07:00
Lars Brubaker
ccdb90cb7f A few more tests passing. 2016-08-02 09:47:26 -07:00
Lars Brubaker
4fdf8ff278 Made another test pass 2016-08-01 17:48:08 -07:00
Lars Brubaker
dc22e6b788 Getting more tests to pass
Down to 7 failing tests.
2016-08-01 17:21:31 -07:00
Lars Brubaker
472b26ac34 Added a edit selected utility function. 2016-08-01 14:22:16 -07:00
Lars Brubaker
1340e875d3 Making the add to queue automation tests work again 2016-08-01 13:53:28 -07:00
Lars Brubaker
d8138ac51e Making a function to prep MatterControl prior to runing tests.
Made automation tests call it.
2016-07-29 16:44:00 -07:00
John Lewin
7f9605dc5c Revise assembly paths 2016-07-29 15:21:30 -07:00
John Lewin
d1a4642a40 Add automation tests 2016-07-29 15:04:48 -07:00
John Lewin
4f2ea7d539 Rename ConfigIniTests to OemProfileTests 2016-07-26 15:34:52 -07:00
John Lewin
1df6fc18d6 Update OemProfiles to comply with new M109 tests
- Fix Creator and Evolution printers
 - Ignore base layer for Slice preset by using OemLayer.ValueOrDefault rather than GetValue
 - Rename test to StartGCodeWithExtrudesMustFollowM109Heatup
2016-07-26 15:32:36 -07:00
John Lewin
4ece8d18a7 Make LoadCacheable collector return instance of T rather than string
- Issue #1195, #1188
2016-07-26 13:22:24 -07:00
John Lewin
5d8070cdfd Add Load event to ApplicationController
- Extract code from Deserialize into ReloadOemProfiles
 - Wire up ReloadOemProfiles to Load event
 - Revert to lowercase oemprofiles.json filename
 - Issue #1179
2016-07-25 16:50:24 -07:00
Greg
3e91f6447e Created M109 test
- issue #939
2016-07-25 16:14:19 -07:00
Matt Moening
4d84b11706 Fixed Capitalization errors in oemProfiles.json 2016-07-25 15:56:03 -07:00
John Lewin
3e79fb6590 Make DownloadPrinterProfile async, move to MHWebServices
- Issue  MatterHackers/MCCentral#218
 - Rename function to DownloadPublicProfileAsync
2016-07-25 14:39:23 -07:00
Lars Brubaker
a463f1dbfa Updated the density for all PLA and ABS settings in the profiles. 2016-07-25 14:18:56 -07:00
Lars Brubaker
42844b0fd2 Fixed test to pass 2016-07-22 18:02:18 -07:00
John Lewin
2950df095d Disable breaking test, guard for null on public builds 2016-07-22 15:21:24 -07:00
John Lewin
c797c6e394 Fix broken RetrievePrinterProfileListWorking test
- Rename RetrievePrinterProfileListWorking to GetPublicProfileList
2016-07-22 15:01:24 -07:00
John Lewin
4871997976 Revise OemSettings.OemProfiles initialization for clarity, async
- Define OemProfileDictionary alias to clean up declarations
 - Unify StaticData and WebServices persistence format for OemProfiles
   - Delete allModels.json
   - Add oemprofiles.json
 - Simplify creation of list for SetManufacturers
 - Revise OemProfile loading for async, remove AutoResetEvent
 - Remove PublicProfilesRequest object
 - Use new async MHWebServices.GetPublicProfileList replacement
 - Execute OemProfiles assignment on the UiThread
2016-07-22 14:52:52 -07:00
Lars Brubaker
23a84139ec New test for time parsing. 2016-07-22 13:31:29 -07:00
Lars Brubaker
87bfa40f23 Added tests for new relative time calculator. 2016-07-22 12:43:41 -07:00
John Lewin
3ec400ee23 Revert prior workaround, explicitly create DB in dependent tests 2016-07-20 20:05:56 -07:00
John Lewin
7a57093b3d Update Oem printer files to 1mm bottom_solid_layers
- Remove FixNeeded category from BottomSolidLayersEqualsOneMM
2016-07-20 18:32:17 -07:00
John Lewin
4d0fb6e67c Revise Oem settings tests
- Remove no longer necessary LayerInfo class
 - Remove now redundant MaterialLayers, QualityLayers properties
 - Remove ConfigIni property
 - Remove unused functions
 - Refactor tests to receive a PrinterSettings param
2016-07-20 18:32:17 -07:00
John Lewin
4cc03074da Remove setup.ini tests per issue #1138 2016-07-20 18:31:20 -07:00
Matt Moening
d96531152b converted oemprofiles to be .printer files and to be retrieved as such from various locations.
Updated to test to reflect the actions actually done by the request (not sure why they were not failing before)
2016-07-20 17:39:19 -07:00
Matt Moening
63e471d305 Setupini test now run against .printer files 2016-07-20 13:17:16 -07:00
Matt Moening
b9f77ccf1c ConfigIniTest work with migrated .printer Files 2016-07-19 17:28:21 -07:00
John Lewin
42f133aa70 Consolidate SettingsProfile and PrinterSettings types 2016-07-18 16:58:25 -07:00
John Lewin
5e23e55987 Update unloaded test project for OemProfile removal 2016-07-18 12:11:43 -07:00
Lars Brubaker
0df8886bef More tests
Validate that known settings are requested with the correct type passed to GetValue
Put in tests for extruder_count
2016-07-13 09:36:33 -07:00
Lars Brubaker
3a9e4eb054 Wrote a new test for first_layer_extrusion_width being parsed correctly
Refactored first_layer_extrusion_width into a fixed string
2016-07-12 18:06:06 -07:00
John Lewin
ec2bd36aa3 Disable failing tests due to MCWS issue 2016-07-08 08:42:55 -07:00
johnlewin
8e94c64bb5 Merge pull request #1027 from jlewin/master
Remove OemProfile property, promote OemLayer property to parent
2016-06-27 15:54:42 -07:00
John Lewin
0c752a4d27 Remove OemProfile property, promote OemLayer property to parent
- Extract PrinterSettingLayer to separate file
 - Create profile migration for OemProfile -> OemLayer
 - Rename confusing LayerCascade property in tests to PrinterSettings
 - Issue #1023
2016-06-27 15:42:56 -07:00
Matt Moening
4bf95f8605 Loading printer profile now follows local cache fallback when offline 2016-06-27 12:41:08 -07:00
John Lewin
ca55930bf4 Revise PublicProfileRequests, make functional offline
- Add prototype for loading cacheable content
 - Make RetrievePrinterProfile test use public server
 - Expose JsonResponseDictionary on PublicProfilesRequest
2016-06-23 18:35:43 -07:00
Matt Moening
bc5ef8a5b3 Implemented MC side receive of Public Profile list and public profiles 2016-06-22 18:05:52 -07:00
Lars Brubaker
50afeea7dc More work on macro test 2016-06-21 13:48:28 -07:00
Lars Brubaker
4ac3003346 Fixed #990
wrote unit test
made mapping classes
2016-06-21 11:23:26 -07:00
Lars Brubaker
6ee626e794 Refactoring print settings strings into SettingsKey string consts
Made a new ReloadUiWhenChanged propertie for Properties.json
2016-06-21 09:38:37 -07:00
John Lewin
250ed87f31 Revise SliceSettings nomenclature, add GetValue<T> method 2016-06-15 15:11:23 -07:00
Lars Brubaker
3350df273d Fixed the printer pause test. 2016-06-14 16:31:35 -07:00
Lars Brubaker
8de6fb41cc Fixed resume printing offset (had extra relative to absolute in path) 2016-06-14 16:20:49 -07:00