c23970f36b 
								
							
								 
							
						 
						
							
							
								
								add unit tests  
							
							
							
						 
						
							2021-09-20 16:10:15 -07:00  
				
					
						
							
							
								 
						
							
							
								8c8365abec 
								
							
								 
							
						 
						
							
							
								
								only run dig-now over the test area  
							
							
							
						 
						
							2021-09-17 10:57:26 -07:00  
				
					
						
							
							
								 
						
							
							
								44a93fcb28 
								
							
								 
							
						 
						
							
							
								
								update unit tests  
							
							
							
						 
						
							2021-09-17 10:57:26 -07:00  
				
					
						
							
							
								 
						
							
							
								772e386427 
								
							
								 
							
						 
						
							
							
								
								implement --format option for minimal and pretty  
							
							... 
							
							
							
							pretty is currently equivalent to the previous format, though there will
be changes in the future 
							
						 
						
							2021-09-17 10:57:26 -07:00  
				
					
						
							
							
								 
						
							
							
								0747f872b0 
								
							
								 
							
						 
						
							
							
								
								add --splitby param to blueprint  
							
							... 
							
							
							
							--splitby=none is the new default, allowing all blueprint phases to be
written to a single file. old behavior of one phase per file is
supported via --splitby=phase. 
							
						 
						
							2021-09-09 09:58:53 -07:00  
				
					
						
							
							
								 
						
							
							
								d5be63823d 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'TymurGubayev/patch-1' into develop  
							
							
							
						 
						
							2021-08-31 00:55:36 -04:00  
				
					
						
							
							
								 
						
							
							
								39a8f2c799 
								
							
								 
							
						 
						
							
							
								
								migrate existing tests to use expect.str_find()  
							
							
							
						 
						
							2021-08-25 06:38:22 -07:00  
				
					
						
							
							
								 
						
							
							
								9168f9359d 
								
									
								
							
								 
							
						 
						
							
							
								
								name test method the same as the method under test  
							
							
							
						 
						
							2021-08-24 21:29:32 -07:00  
				
					
						
							
							
								 
						
							
							
								691e54dfc6 
								
									
								
							
								 
							
						 
						
							
							
								
								rename expect.find to expect.str_find  
							
							
							
						 
						
							2021-08-24 21:06:12 -07:00  
				
					
						
							
							
								 
						
							
							
								b2f44f00f1 
								
									
								
							
								 
							
						 
						
							
							
								
								add pattern matching expect.find() for unit tests  
							
							... 
							
							
							
							settled on `find()` since the string method of the same name has the
same semantics. other options: `str_find()` since it fails on non-string
or `match()` (but that might imply that the pattern needs to match the
entire string). 
							
						 
						
							2021-08-23 22:59:30 -07:00  
				
					
						
							
							
								 
						
							
							
								3a27a5d6a0 
								
									
								
							
								 
							
						 
						
							
							
								
								Allow dialog tests to run outside of fortress mode  
							
							
							
						 
						
							2021-08-22 17:45:45 -04:00  
				
					
						
							
							
								 
						
							
							
								86b2329b7f 
								
									
								
							
								 
							
						 
						
							
							
								
								fix hardcoded call to pairs, add test  
							
							
							
						 
						
							2021-08-20 22:55:07 -07:00  
				
					
						
							
							
								 
						
							
							
								119595dcaf 
								
									
								
							
								 
							
						 
						
							
							
								
								use df.item._identity to test noniterable userdata  
							
							
							
						 
						
							2021-08-19 21:57:16 -07:00  
				
					
						
							
							
								 
						
							
							
								0f0ae156c3 
								
									
								
							
								 
							
						 
						
							
							
								
								test printall_recurse  
							
							
							
						 
						
							2021-08-19 21:57:16 -07:00  
				
					
						
							
							
								 
						
							
							
								c5bb139282 
								
									
								
							
								 
							
						 
						
							
							
								
								unit test with userdata  
							
							
							
						 
						
							2021-08-19 21:57:16 -07:00  
				
					
						
							
							
								 
						
							
							
								d9c6c2dde3 
								
									
								
							
								 
							
						 
						
							
							
								
								add safe_pairs, update unit tests  
							
							
							
						 
						
							2021-08-19 21:57:16 -07:00  
				
					
						
							
							
								 
						
							
							
								3f2795e80a 
								
									
								
							
								 
							
						 
						
							
							
								
								unit tests first draft  
							
							
							
						 
						
							2021-08-19 21:56:44 -07:00  
				
					
						
							
							
								 
						
							
							
								f47bab9806 
								
									
								
							
								 
							
						 
						
							
							
								
								pass comment param to expect calls  
							
							
							
						 
						
							2021-08-14 16:43:40 -07:00  
				
					
						
							
							
								 
						
							
							
								9a7a692ea8 
								
									
								
							
								 
							
						 
						
							
							
								
								ensure restored orders start at index 0  
							
							... 
							
							
							
							so the manager_order_next_id state can be set to #orders 
							
						 
						
							2021-08-14 16:35:41 -07:00  
				
					
						
							
							
								 
						
							
							
								9ec1488f1b 
								
									
								
							
								 
							
						 
						
							
							
								
								add unit tests  
							
							
							
						 
						
							2021-08-14 16:35:40 -07:00  
				
					
						
							
							
								 
						
							
							
								98b707d444 
								
									
								
							
								 
							
						 
						
							
							
								
								ensure active orders are restored after tests  
							
							
							
						 
						
							2021-08-14 16:35:40 -07:00  
				
					
						
							
							
								 
						
							
							
								4c2473de92 
								
									
								
							
								 
							
						 
						
							
							
								
								add test.ListBox_with_multi_select_and_visual_indicator  
							
							... 
							
							
							
							this test also demonstrates actual (minimal) example usage 
							
						 
						
							2021-07-31 11:46:59 +02:00  
				
					
						
							
							
								 
						
							
							
								4bf8b6daab 
								
									
								
							
								 
							
						 
						
							
							
								
								fix tabs and whitespaces  
							
							
							
						 
						
							2021-07-30 23:23:58 +02:00  
				
					
						
							
							
								 
						
							
							
								70d088c763 
								
									
								
							
								 
							
						 
						
							
							
								
								add tests for dialog.lua  
							
							
							
						 
						
							2021-07-30 23:21:35 +02:00  
				
					
						
							
							
								 
						
							
							
								a34e1e986d 
								
									
								
							
								 
							
						 
						
							
							
								
								quickfort orders is now safe to include directly  
							
							
							
						 
						
							2021-07-09 22:02:15 -07:00  
				
					
						
							
							
								 
						
							
							
								8fe173299c 
								
									
								
							
								 
							
						 
						
							
							
								
								update header comment  
							
							
							
						 
						
							2021-07-09 22:02:15 -07:00  
				
					
						
							
							
								 
						
							
							
								551a5cba4b 
								
									
								
							
								 
							
						 
						
							
							
								
								optimize test area search  
							
							
							
						 
						
							2021-07-09 22:02:15 -07:00  
				
					
						
							
							
								 
						
							
							
								232c85d258 
								
									
								
							
								 
							
						 
						
							
							
								
								use lua to blueprint to avoid console spam  
							
							
							
						 
						
							2021-07-09 22:02:15 -07:00  
				
					
						
							
							
								 
						
							
							
								0e270a3505 
								
									
								
							
								 
							
						 
						
							
							
								
								be sure to reset border tiles between tests  
							
							
							
						 
						
							2021-07-09 22:02:15 -07:00  
				
					
						
							
							
								 
						
							
							
								c2b92ce6a0 
								
									
								
							
								 
							
						 
						
							
							
								
								use new dig-now and tiletypes-here APIs  
							
							
							
						 
						
							2021-07-09 22:02:15 -07:00  
				
					
						
							
							
								 
						
							
							
								21a4f64cdd 
								
									
								
							
								 
							
						 
						
							
							
								
								ensure test loads when game is not in fort mode  
							
							... 
							
							
							
							even if the test is not being run 
							
						 
						
							2021-07-09 22:02:14 -07:00  
				
					
						
							
							
								 
						
							
							
								73413038df 
								
									
								
							
								 
							
						 
						
							
							
								
								add quickfort ecosystem functional test harness  
							
							... 
							
							
							
							and a few initial tests 
							
						 
						
							2021-07-09 22:02:14 -07:00  
				
					
						
							
							
								 
						
							
							
								1014c41db6 
								
									
								
							
								 
							
						 
						
							
							
								
								Add context to some loops in tests  
							
							
							
						 
						
							2021-07-05 20:49:25 -04:00  
				
					
						
							
							
								 
						
							
							
								898d4621da 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'myk002/myk_view_unit' into develop  
							
							
							
						 
						
							2021-07-05 20:42:49 -04:00  
				
					
						
							
							
								 
						
							
							
								f1bcf0c7b5 
								
									
								
							
								 
							
						 
						
							
							
								
								make dwarfmode test not require autocorrection  
							
							
							
						 
						
							2021-07-05 16:05:12 -07:00  
				
					
						
							
							
								 
						
							
							
								4eb8870797 
								
									
								
							
								 
							
						 
						
							
							
								
								add unit tests  
							
							
							
						 
						
							2021-07-05 16:02:19 -07:00  
				
					
						
							
							
								 
						
							
							
								5e0672902c 
								
									
								
							
								 
							
						 
						
							
							
								
								fix parse_gui_commandline test when run on title  
							
							
							
						 
						
							2021-07-05 16:01:23 -07:00  
				
					
						
							
							
								 
						
							
							
								0ef5134a33 
								
									
								
							
								 
							
						 
						
							
							
								
								add optional coordinate validation to coords  
							
							
							
						 
						
							2021-07-04 07:32:29 -07:00  
				
					
						
							
							
								 
						
							
							
								56a1c8b4d5 
								
									
								
							
								 
							
						 
						
							
							
								
								coordinates can be 0  
							
							
							
						 
						
							2021-07-03 16:26:39 -07:00  
				
					
						
							
							
								 
						
							
							
								aefb893daa 
								
									
								
							
								 
							
						 
						
							
							
								
								remove redundant tests  
							
							
							
						 
						
							2021-07-02 23:29:02 -07:00  
				
					
						
							
							
								 
						
							
							
								9535ff82bb 
								
									
								
							
								 
							
						 
						
							
							
								
								add argparse library functions  
							
							
							
						 
						
							2021-07-02 23:11:17 -07:00  
				
					
						
							
							
								 
						
							
							
								f9627a0cfb 
								
									
								
							
								 
							
						 
						
							
							
								
								Add another split() test for pattern delimiters  
							
							
							
						 
						
							2021-07-03 00:33:28 -04:00  
				
					
						
							
							
								 
						
							
							
								da3b522061 
								
									
								
							
								 
							
						 
						
							
							
								
								Enable string.split() tests  
							
							... 
							
							
							
							Ref #1888  (step 4) 
							
						 
						
							2021-07-03 00:31:19 -04:00  
				
					
						
							
							
								 
						
							
							
								36b2d05ff6 
								
									
								
							
								 
							
						 
						
							
							
								
								add dfhack string functions and tests  
							
							... 
							
							
							
							added string:split
added string:trim
added a default value for wrap width
added function comments
added tests for all string functions (the tests for string:split will be commented out until we remove the competing implementation in gui/load-screen 
							
						 
						
							2021-07-02 13:21:54 -07:00  
				
					
						
							
							
								 
						
							
							
								3a7306eb03 
								
									
								
							
								 
							
						 
						
							
							
								
								Restrict orders tests to fortress mode  
							
							
							
						 
						
							2021-06-30 23:18:53 -04:00  
				
					
						
							
							
								 
						
							
							
								75bf013c7f 
								
									
								
							
								 
							
						 
						
							
							
								
								Add more "orders import" tests  
							
							... 
							
							
							
							The invalid-after-valid test fails 
							
						 
						
							2021-06-30 23:15:56 -04:00  
				
					
						
							
							
								 
						
							
							
								5686272c91 
								
									
								
							
								 
							
						 
						
							
							
								
								Add tests for "orders import"  
							
							... 
							
							
							
							A couple crashes have resulted from invalid orders JSON files - this should
help catch any regressions with error handling.
See #1770 , #1893 , #1894  
							
						 
						
							2021-06-30 23:01:51 -04:00  
				
					
						
							
							
								 
						
							
							
								eafa6e86f7 
								
									
								
							
								 
							
						 
						
							
							
								
								add utils.normalizePath()  
							
							
							
						 
						
							2021-06-29 12:22:05 -07:00  
				
					
						
							
							
								 
						
							
							
								e070f4d9d8 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'myk002/myk_sidebar' into develop  
							
							
							
						 
						
							2021-06-28 01:03:13 -04:00  
				
					
						
							
							
								 
						
							
							
								4945018e92 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge remote-tracking branch 'myk002/myk_multi_mock' into develop  
							
							
							
						 
						
							2021-06-25 01:27:46 -04:00