566 Commits

Author SHA1 Message Date
Greg DiCristofaro
d564c42a9a refactor classes in testutils 2020-10-28 11:17:43 -04:00
Greg DiCristofaro
1866fd461c Merge branch 'develop' of github.com:sleuthkit/autopsy into 6896-testing 2020-10-28 10:05:38 -04:00
Greg DiCristofaro
b64560f4d0 refactoring moving testutils and integration test into autopsy core 2020-10-28 10:05:30 -04:00
Greg DiCristofaro
5478e0e425 revert unit tests 2020-10-27 15:40:24 -04:00
Greg DiCristofaro
13788f3a93 no class def error fixed by moving external jar dependencies out of qa-functional test code 2020-10-27 15:21:50 -04:00
Greg DiCristofaro
f994735a84 fix if there are no datasources in a case 2020-10-27 12:43:24 -04:00
Greg DiCristofaro
40868b8f33 fix for exception object 2020-10-27 08:11:34 -04:00
Greg DiCristofaro
547b7103f1 fix for exception object 2020-10-27 08:11:29 -04:00
Greg DiCristofaro
bcc51b3b20 fix for integration-test target 2020-10-22 11:23:03 -04:00
Greg DiCristofaro
ad13cdfadb config from a file or parameters 2020-10-21 20:55:42 -04:00
Greg DiCristofaro
f273a1ae4f fail test on diff; updated test targets 2020-10-21 12:21:18 -04:00
Greg DiCristofaro
3201022fe5 string fix 2020-10-21 07:48:24 -04:00
Greg DiCristofaro
0673969304 means of creating diff 2020-10-20 17:18:41 -04:00
Greg DiCristofaro
023f975455 commenting and some small fixes 2020-10-20 13:48:35 -04:00
Greg DiCristofaro
1dddfa0925 removed collections dependency 2020-10-20 10:59:47 -04:00
Greg DiCristofaro
7a8a3e68cd now injects test properties into system properties 2020-10-20 08:20:50 -04:00
Greg DiCristofaro
cbaf804ec7 some updates and remove jackson from tika 2020-10-19 16:19:11 -04:00
Greg DiCristofaro
5979cb0c1b continue to refactor 2020-10-19 15:16:10 -04:00
Greg DiCristofaro
c8bdd0ac26 refactoring 2020-10-19 13:21:29 -04:00
Greg DiCristofaro
b3d969db1a paths now relative to config 2020-10-16 15:29:57 -04:00
Greg DiCristofaro
aea0bf64b1 moved ingest settings to util 2020-10-16 11:10:20 -04:00
Greg DiCristofaro
7d3da32c45 more comments 2020-10-16 10:24:16 -04:00
Greg DiCristofaro
26a3482001 some but not all commenting 2020-10-15 15:03:20 -04:00
Greg DiCristofaro
5d4d4c31b1 changes to yaml serialization to better display output 2020-10-15 12:46:14 -04:00
Greg DiCristofaro
eb4bb14be2 can build; now resolving classpath conflicts 2020-10-15 08:19:54 -04:00
Greg DiCristofaro
b74da4f342 remove extra nbms 2020-10-15 07:58:57 -04:00
Greg DiCristofaro
fe71bec791 removed gson dependencies causing issues and further work 2020-10-14 17:25:36 -04:00
Greg DiCristofaro
292dbc4b53 working through classpath issues 2020-10-13 16:47:22 -04:00
Greg DiCristofaro
6c0756e8da working through build.xml 2020-10-09 14:40:28 -04:00
Greg DiCristofaro
6ccb938a08 working through build.xml 2020-10-09 14:38:59 -04:00
Greg DiCristofaro
a3e93d31ad one more cleanup 2020-10-08 14:29:04 -04:00
Greg DiCristofaro
c7c23babcc refactor and working through components 2020-10-08 14:09:25 -04:00
U-BASIS\dsmyda
a1e79bbced Updated reference to ExifModule in CR tests 2020-08-25 14:02:49 -04:00
Raman Arora
ec267b0006 Fixed merge conflict edits.
Handle new exception in tests.
2020-07-16 18:05:29 -04:00
Raman Arora
4426bba358 6579: Input from user can cause SQL exceptions in Personas
Modified persona classes to run SQL as prepared statements.
2020-07-08 10:48:40 -04:00
Ethan Roseman
7d1813476a 6399 Persona editing functionality 2020-06-02 10:59:56 -04:00
Raman Arora
ae75ac0162 6419: Incorrect results from getAliases() & getMetadata() 2020-05-27 18:56:40 -04:00
Raman Arora
b9ce3d7e37 Addressed Codacy comments. 2020-05-22 11:05:04 -04:00
Raman Arora
03c8c2ec8b createPersonaForAccount() returns the Persona created, instead of PersonaAccount. 2020-05-21 18:38:04 -04:00
Raman Arora
6a4a4fad06 - Added APIs to get all accounts, and search for accounts by account identifier.
- Renamed some methods.
2020-05-21 17:26:45 -04:00
Raman Arora
83a7905369 - Deleted unused method updateExaminers()
- Added escaping of examiner name
- Added a unit test for getOrInsertExaminer() method.
2020-05-05 08:25:05 -04:00
Raman Arora
c852d6bdeb Addressed review comments. 2020-05-04 14:11:15 -04:00
Raman Arora
0deb182bc6 - Removed pre-population of the examiner table.
- Replaced getCurrentExaminer() method with getOrInsertExaminer()
2020-05-04 10:30:29 -04:00
Raman Arora
c682739d8e Addressed Codacy comments. 2020-05-01 14:50:00 -04:00
Raman Arora
2b75a00256 Added APIS to query persona by:
- persona name substring
 - account identifier substring.
2020-05-01 13:10:23 -04:00
Raman Arora
d542ac7ce9 Addressed review comments:
- Moved d/b queries to corresponding suitable datamodel classes.
 - Dissolved and deleted PersonaHelper class.
2020-04-28 15:34:30 -04:00
Raman Arora
b2e8b1319d Addressed Codacy review comments. 2020-04-27 13:56:04 -04:00
Raman Arora
7ede903088 Added APIS to:
- get all Persona in a Case/dataSource.
 - get all cases/data sources for a persona.

Added additional test cases.
2020-04-27 13:05:50 -04:00
Raman Arora
cb08eac551 - Added more tests to the functional test - creating cases and datasources, and account_instance attributes so that Persona could be traced back to a case/data source.
- Fixed an issue with tests failing because Central Repo cache was not being cleared between tests, even though the underlying database itself was being recreated.
- Fixed a bug in the Persona query.
2020-04-23 19:51:32 -04:00
Raman Arora
184382f2b7 Use a default persona name when one isn't specified. 2020-04-23 09:34:56 -04:00