199 Commits

Author SHA1 Message Date
alexjacks92
a11b819956 Isolating changes on one branch only. 2014-05-12 10:31:37 -04:00
alexjacks92
0292a4933b Only traces log will go into common log. 2014-05-08 13:28:56 -04:00
alexjacks92
c1003191d4 More useful variable names. 2014-04-30 11:11:03 -04:00
alexjacks92
91fd8a6891 Merge remote-tracking branch 'upstream/develop' into IdsToPaths 2014-04-29 16:53:32 -04:00
alexjacks92
a0b4a2d32f Replacing more IDs with file paths - now tsk_files_path and tsk_objects tables as well. 2014-04-29 16:53:15 -04:00
alexjacks92
7451fd9fef Clean up attachments regardless of success or failure. 2014-04-25 11:17:18 -04:00
alexjacks92
f2476de2db Exiting regression test with exit code 1 on failed tests. 2014-04-24 13:23:16 -04:00
alexjacks92
f26073ee13 Cleaning up code to work when you aren't running a jenkins job. 2014-04-08 12:10:11 -04:00
alexjacks92
cb6b9f7f5b Delete existing diff files before adding new ones. 2014-04-08 09:59:28 -04:00
alexjacks92
0b471112c9 Removing old diff files before moving new ones in. 2014-04-07 13:35:52 -04:00
alexjacks92
48025c2e15 Removed unneeded logging, removed email code, refactored variable names from email-centric to jenkins- and error-centric names. 2014-04-04 15:50:18 -04:00
alexjacks92
c980facdab Removed mail code, added code to work with jenkins. 2014-04-03 15:41:04 -04:00
alexjacks92
0b5032918c Removing some unneeded logging. 2014-04-03 09:47:48 -04:00
alexjacks92
c86d707d89 Added code to move diffs to a folder specified in a config file. Will be used by Jenkins to locate email attachments. 2014-04-02 16:17:40 -04:00
alexjacks92
feaf2c1409 JavaIO flushing error fix and ensuring regression test diffs are added as email attachments. 2014-04-01 17:20:45 -04:00
alexjacks92
e712ad8a82 Fixed an issue searching through logs for strings that aren't there. 2014-03-28 17:14:44 -04:00
alexjacks92
a23ee1317a Fixed a parenthesis matching issue. 2014-01-24 10:03:05 -05:00
alexjacks92
da6cac634c Rogue parenthesis deleted. 2014-01-23 12:51:18 -05:00
alexjacks92
e300311bd1 Fixing bug where an email would try to be sent, even if it shouldn't. 2014-01-21 13:53:13 -05:00
alexjacks92
d2056cb7f4 Fixed email issues. 2014-01-17 15:10:19 -05:00
alexjacks92
216d75834e These changes are already in master. Pushing the same thing to develop. 2014-01-17 13:41:52 -05:00
Richard Cordovano
9ac0c310ea Normalization of line endings 2013-11-19 18:17:34 -05:00
Jeff Wallace
26b43162bb Changed return type of run_diff to allow more descriptive diff results 2013-07-25 12:37:48 -04:00
Jeff Wallace
e440da75c6 Moved TskDbDiff to a separate file. 2013-07-23 10:22:28 -04:00
Jeff Wallace
dc7fcb3790 Changed except statements to be more specific. Changed places where files are opened to use the safer with statement. 2013-07-17 11:39:55 -04:00
Jeff Wallace
f180665333 Updated documentation of functions and classes. 2013-07-16 15:18:03 -04:00
Jeff Wallace
65471d726a Removed global variable test_config, updated appropriate references 2013-07-16 14:20:14 -04:00
Jeff Wallace
9f2015e4ce Removed global variable failedbool, updated overall pass/fail output message 2013-07-16 13:34:23 -04:00
Jeff Wallace
62087cdc5b Added email data to test configuration, modified Emailer.py so it doesn't need a configuration file to send an email. 2013-07-16 12:54:01 -04:00
Jeff Wallace
625c7c8c3b Database dump function now takes paths as arguments intstead of TestData 2013-07-16 11:38:50 -04:00
Jeff Wallace
c103c1ac62 Replaced imgfail globabl variable with a TestData attribute. 2013-07-16 10:03:54 -04:00
Jeff Wallace
c03872b5d9 Replaced accidental deletion in previous commit. 2013-07-15 14:14:56 -04:00
Jeff Wallace
e89fb44523 TestData now stores pass/fail flags for the different 'diffs': html report, database, and logs. 2013-07-15 13:54:09 -04:00
Jeff Wallace
151d35b8f2 Reorganized script. TskDbDiff no longer relies on TestData. 2013-07-15 13:18:57 -04:00
Jeff Wallace
3e1ef3712f Email attachments are now stored in Errors class. Added documentation to Errors class. 2013-07-15 12:51:30 -04:00
Jeff Wallace
d87b0972b1 Moved error reporting to a central class 2013-07-15 12:30:08 -04:00
Jeff Wallace
ba50b7fbad Reorganized regression.py and Emailer.py. Moved util functions to a new file, regression_utils.py 2013-07-12 15:25:32 -04:00
Jeff Wallace
0bfee91eda Cleaned up and refactored TestResultsDiffer to redesign specification. 2013-07-12 14:38:12 -04:00
Jeff Wallace
66c01b5742 Created DiffResults class to store TskDBDiff results in TestData. 2013-07-11 14:43:09 -04:00
Jeff Wallace
ab5a18ae15 Replaced usage of make_path with attributes and methods in TestData 2013-07-11 12:31:33 -04:00
Jeff Wallace
7c87217bf4 Added additional helper methods to TestData to eliminate overuse of make_path 2013-07-11 10:22:41 -04:00
Jeff Wallace
7952b7368c Added methods to TestData to produce paths for gold or output directories. 2013-07-10 16:43:14 -04:00
Jeff Wallace
d8136f5754 Changed documentation to google python standards. 2013-07-10 14:08:10 -04:00
Jeff Wallace
52fba3c817 Changed several filename attributes of TestConfiguration to be constant global variables 2013-07-10 09:43:03 -04:00
Jeff Wallace
f537e18b92 Removed other instances of using make_path to get paths to database files in TskDbDiff 2013-07-09 16:54:47 -04:00
Jeff Wallace
4c257655df Refactored TskDbDiff (DatabaseDiff) to eliminate repeated code and correctly close database connections 2013-07-09 16:04:23 -04:00
Jeff Wallace
f346032d72 Removed redundant attributes in TestConfiguration and consolidated places they were used. 2013-07-09 14:10:39 -04:00
Jeff Wallace
1460a8c7cf Fixed naming error in previous commit 2013-07-09 13:17:52 -04:00
Jeff Wallace
3c1cc941c7 Cleaned up _run_test method by moving test_data configuration to _generate_test_data 2013-07-09 13:00:53 -04:00
Jeff Wallace
a7d4d9761e Removed configuration logic from run_test 2013-07-09 12:26:48 -04:00