Commit graph

47 commits

Author SHA1 Message Date
Lars Brubaker
21b45ec761 Made it so that we can run tests in software mode. 2016-12-02 16:49:18 -08:00
John Lewin
e7f36fcb59 Remove nunit from production code 2016-11-14 11:46:32 -08:00
John Lewin
f25252e03c Use new Agg dialogs in test projects 2016-11-03 08:36:19 -07:00
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
Lars Brubaker
aa2fde82fb Import Settings now working
Moved merge into PrinterSettings
With test
2016-10-05 14:57:37 -07:00
John Lewin
9709c757c9 Upgrade to latest NUnit.ApplicationDomain package 2016-10-04 10:53:22 -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
4f97c20891 Upgraded Newtonsoft.Json 2016-08-16 14:28:15 -07:00
Lars Brubaker
1340e875d3 Making the add to queue automation tests work again 2016-08-01 13:53:28 -07:00
John Lewin
4f2ea7d539 Rename ConfigIniTests to OemProfileTests 2016-07-26 15:34:52 -07:00
John Lewin
4cc03074da Remove setup.ini tests per issue #1138 2016-07-20 18:31:20 -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
Lars Brubaker
4ac3003346 Fixed #990
wrote unit test
made mapping classes
2016-06-21 11:23:26 -07:00
John Lewin
c87f14c3f4 Update StaticData config.ini tests and enable for continuous integration 2016-05-23 15:23:56 -07:00
John Lewin
ca52328202 Fix "imported type conflicts with existing" warnings 2016-05-11 09:10:55 -07:00
John Lewin
4496720772 Json Profiles 2016-04-27 14:35:57 -07: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
John Lewin
15aeeee998 Add missing dependency 2015-12-17 12:33:49 -08:00
John Lewin
72223aeea6 Fix 'processor architecture mismatch' warnings
- Fix Nunit version
 - Add app.config
 - Update agg/matterslice
2015-12-14 12:13:37 -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
John Lewin
2d392e80a7 Replace Newtonsoft assembly reference with nuget package 2015-12-04 10:50:39 -08:00
John Lewin
c1e144d467 Update for xbuild 2015-12-03 10:40:13 -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
66dc5b9a57 Added some automated tests around Local Library functionality 2015-11-13 11:57:19 -08: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
e67c526d81 Fix casing for Linux 2015-10-06 17:30:34 -07:00
Lars Brubaker
73b9512ea9 new call back code (for better testing) 2015-09-17 16:58:56 -07:00
Lars Brubaker
44bbbb74e4 Working on a local library test 2015-09-01 16:03:29 -07:00
Lars Brubaker
277fb9a128 Cleaning up MC utilities interface 2015-09-01 10:26:14 -07:00
Gregory Diaz
33e36198e2 Added Tests and added utility function so that we can run tests with different MatterControlDB States 2015-08-28 17:55:50 -07:00
larsbrubaker
9f5885ab35 Made AllParentsVisibleAndEnabled check the bounds are actually visible
Improving Automation Runner to user regions.
Made and automation tester harness to make better testes easier
Made the tests use the new harness.
2015-08-23 17:21:47 -07:00
Lars Brubaker
5cc8a37269 Made more tests 2015-08-22 16:14:31 -07:00
Lars Brubaker
90414866a2 Moved the sqlite test into its own class so it can have its own app domain and work in the suit. 2015-08-21 11:17:38 -07:00
Lars Brubaker
44b59c94b3 Added Nunit ApplicationDomain to run our windowed tests better. 2015-08-20 18:42:34 -07:00
larsbrubaker
ece1419d63 Put in code to allow automation (ui) testing.
Making menus have names so we can find them in automation
2015-08-18 13:01:29 -07:00
larsbrubaker
8c810f63f1 Made 7 point and 13 point leveling code share a base class
Wrote relative movement leveling for 7 and 13 point
Wrote unit tests for relative movement
Improved unit tests to include outputting the expected strings.
2015-08-15 16:18:49 -07:00
Lars Brubaker
4bf742b5c7 Wrote unit tests for 7 point print leveling math. 2015-08-04 17:34:52 -07:00
Gregory Diaz
f987ee320e Added logic to parse setup.ini files for testing in the future 2015-08-03 16:36:05 -07:00
John Lewin
5c27a24339 Switch to native VS NuGet support 2015-08-02 20:00:51 -07:00
Gregory Diaz
145b545f64 Ported Python printer configuration unit tests to c# (still need to do a bit of re-factoring to conform to our Nunit standards). Logic is correct and doesn't break anything 2015-07-29 17:55:17 -07:00
Gregory Diaz
93de1301f8 Added Testing for detecting foreign strings in lines where there should be only English 2015-07-24 14:54:49 -07:00
Lars Brubaker
593aee44f9 Writing unit tests for the library provider stuff.
Got the file folder provider acting like nodes rather than a static set.
2015-06-29 18:03:56 -07:00
Lars Brubaker
b373d5c14a Fixed a bug in first layer extrusion width. 2015-06-09 11:30:14 -07:00
John Lewin
a7686abb1d Add tests for #94150618 - Left margin is not applied on GuiWidget 2015-05-07 20:01:13 -07:00
John Lewin
314496ba7b Extract tests to dedicated assemblies 2015-05-06 09:08:30 -07:00