Commit graph

742 commits

Author SHA1 Message Date
Greg
2efe180ae7 Test: Editing printer name changes droplist and persists
MatterHackers/MCCentral#381
2016-09-13 12:58:07 -07:00
Greg
2ceda33d62 Fixed Downloads provider automated tests
MatterHackers/MCCentral#286
Pre-pended "-" to Temporary folder created in Download provider tests. Temporary folder
now shows up as the first Downloads item in list.
2016-09-13 12:58:07 -07:00
Lars Brubaker
d93ae17eca Fixing tests 2016-09-13 11:12:13 -07:00
Matt Moening
1135271a9f Removed Public Profile tests from AutomationTests
- these were moved into MCCentral
2016-09-08 18:10:46 -07:00
Lars Brubaker
be1c5eaddf Made delete printer a function inside of MatterControl utilities
Re-factoring
2016-09-08 14:20:39 -07:00
Lars Brubaker
cd27388ad5 Test that printers delete on guest profile 2016-09-07 17:00:17 -07:00
Lars Brubaker
014ea6e75c Got the remaining automation tests running 2016-09-06 16:36:25 -07:00
Lars Brubaker
ac8f6892fe Fixing test in consideration of there is always a single queue item. 2016-09-06 15:31:41 -07:00
John Lewin
312f652bbb Use short identifiers for public profiles
- Add support for new GetProfileList schema
- Add CacheablePath function to abstract and reuse path generation logic
- Serialize LoadCacheable content in human readable form
- Move public-profile cache into like named folder
- Move public-profile items into oem specific folders
- Reuse LoadOemProfileAsync for persistence instead of custom implementation
- Issues MatterHackers/MCWS#72, MatterHackers/MCWS#84
2016-09-03 17:12:11 -07:00
Lars Brubaker
2dadb72271 Changed Login -> Sign in & Logout -> Sign Out 2016-08-29 17:13:45 -07:00
Lars Brubaker
7981513b6e Adding in the ability to turn on and off thin line code
Sorted some settings lists
Put in minimum thin line width option
Clean thin line output
2016-08-26 12:13:39 -07:00
Lars Brubaker
98c114f79b Got the check and uncheck of reload ui settings to work
Wrote a test
Added heat_extruder_before_homing
2016-08-25 17:43:30 -07:00
Lars Brubaker
d18c8cfcb3 New test for has_fan 2016-08-24 15:53:46 -07:00
Lars Brubaker
b397480b56 Removing unneeded files
adding link to main static data.
2016-08-17 18:20:52 -07:00
Lars Brubaker
357a497505 Fixed a bug with pause resume gcode
Made a new test.
added test layouts.txt and master.txt and porperties.json
added paus_gcode and resume_gcode to settingskey
2016-08-17 14:04:03 -07:00
Lars Brubaker
af3f8d0a03 Merge branch 'master' of https://github.com/MatterHackers/MatterControl
Conflicts:
	Submodules/agg-sharp
2016-08-16 14:30:44 -07:00
Lars Brubaker
4f97c20891 Upgraded Newtonsoft.Json 2016-08-16 14:28:15 -07:00
John Lewin
e9b99eb71d Revise method name 2016-08-16 11:48:59 -07:00
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