Commit graph

242 commits

Author SHA1 Message Date
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
97507cddf6 Remove per test classes, place RunInAppDomain attribute on TestFixture 2016-10-20 16:31:37 -07:00
John Lewin
c1a445270e Realistic test timeout values 2016-10-19 12:26:47 -07:00
John Lewin
4d3f5d2521 Move CloseMatterControl responsiblity outside of TestMethod
- Behavior is now invoked in parent RunTest call
2016-10-19 12:06:31 -07:00
John Lewin
28699c9197 Remove defaultTestImages parameter
- Leave as null, fall back to default on null
2016-10-19 11:49:52 -07:00
John Lewin
de2535715d Fix compile error 2016-10-19 11:18:31 -07:00
John Lewin
e216457ef5 Remove excess blocks 2016-10-19 11:10:30 -07:00
John Lewin
8f8d0e5b30 Consolidate AutomationTesterHarness into AutomationRunner
- Remove AutomationRunner construction from test bodies
- Pass AutomationRunner into test method
2016-10-19 07:44:09 -07:00
John Lewin
18163f7cae Ensure spawned process is killed along all codepaths
- No guarantee that all test method code will run
2016-10-18 07:54:10 -07:00
Lars Brubaker
aafc037582 updated me3d printer (also up in release data). 2016-10-12 16:55:02 -07:00
John Lewin
2d5f177d87 Remove MCCentral assembly references 2016-10-11 17:49:57 -07:00
John Lewin
f53f8f2a1b Convert disabled tests to FixNeeded category 2016-10-04 18:49:36 -07:00
John Lewin
376a86e006 Adjust ClearingCheckBoxClearsUserOverride expected pass count
- Fixes failing automation test
2016-10-04 18:17:51 -07:00
John Lewin
29a77104ab Attempt to delete Downloads subdirectory, suppress error on fail
- Possible fix for Automation Tests 'file access' error
2016-10-04 16:25:39 -07:00
John Lewin
29fadccacc Emulator tests must shutdown spawned process 2016-10-04 12:28:42 -07:00
John Lewin
9709c757c9 Upgrade to latest NUnit.ApplicationDomain package 2016-10-04 10:53:22 -07:00
John Lewin
9d57b6435e Clean up failing LibraryDownload tests
- Move all tests into one class
- Only apply RunInApplicationDomain to test
- Add descriptions on AddTestResult calls to improve troubleshooting
2016-09-30 16:04:16 -07:00
Lars Brubaker
e2686cde08 Make the test count correct 2016-09-27 15:33:35 -07:00
Lars Brubaker
de12a5c8ba Finished print leveling test – fixed reset to defaults
Moved more things to settings key
Disabled end-user license agreement on Mac for now
2016-09-27 12:47:15 -07:00
Lars Brubaker
c3e57dcc3c Made a setup leveling test work 2016-09-26 15:59:29 -07:00
John Lewin
b4f75311bb Fix PrinterNameStaysChanged test
- Document AddTestResult calls with descriptions
2016-09-23 19:02:22 -07:00
John Lewin
9057eabc4d Fix RemoveAllMenuItemClickedRemovesAll test 2016-09-23 14:18:27 -07:00
Lars Brubaker
17af0bd27f Getting old tests to pass 2016-09-23 13:35:21 -07:00
Lars Brubaker
e2215ae097 Fixed a test
removed redundant test
2016-09-23 09:42:55 -07:00
Lars Brubaker
c14adc9365 more tests passing 2016-09-22 14:57:16 -07:00
Lars Brubaker
c3d96b6601 Working on Queue done button working test (+2 squashed commit)
Test that MatterControl vanilla actually stars up
Finished the resume print test
Set backup to 0
Created a SwitchToAdvancedSettings function
2016-09-22 12:35:34 -07:00
John Lewin
020964ec4d Change assignment statements to conditionals
- Expose test false positives, failing tests need fixed
2016-09-22 12:11:16 -07:00
John Lewin
0ac3ac311d Switch to RequiresSTA replacement attribute
- Add SetCompatibleWorkingDirectory to consistently change working directory
2016-09-21 15:34:53 -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
Lars Brubaker
c113aba7d9 Making test passed take a count 2016-09-19 17:13:11 -07:00
Lars Brubaker
cb3d518d35 Made the emulator parse commands better (temps)
Made LaunchAndConnectToPrinterEmulator
Working on pause on layer test
Updated version to 1.6
2016-09-19 14:47:00 -07:00
Lars Brubaker
552f44fef1 Fixing tests 2016-09-14 14:09:57 -07:00
Greg
0451a27fae Made improvements to printer name change test
Now we check the printer dropdown list to make sure it gets updated with the name change.
2016-09-13 17:06:44 -07:00
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
4f97c20891 Upgraded Newtonsoft.Json 2016-08-16 14:28:15 -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
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