Skip to content
Snippets Groups Projects
Commit aa89aa8c authored by apriestman's avatar apriestman
Browse files

Switch to Blackboard method

parent cd40f0c6
No related branches found
No related tags found
No related merge requests found
...@@ -912,11 +912,11 @@ public void osAccountInstanceTests() throws TskCoreException, OsAccountManager.N ...@@ -912,11 +912,11 @@ public void osAccountInstanceTests() throws TskCoreException, OsAccountManager.N
// TBD: perhaps add some files to the case and then use one of the files as the source of attributes. // TBD: perhaps add some files to the case and then use one of the files as the source of attributes.
OsAccountAttribute attrib1 = osAccount1.new OsAccountAttribute(caseDB.getAttributeType(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_DATETIME_PASSWORD_RESET.getTypeID()), resetTime1, osAccount1, null, image); OsAccountAttribute attrib1 = osAccount1.new OsAccountAttribute(caseDB.getBlackboard().getAttributeType(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_DATETIME_PASSWORD_RESET.getTypeID()), resetTime1, osAccount1, null, image);
accountAttributes.add(attrib1); accountAttributes.add(attrib1);
String hint = "HINT"; String hint = "HINT";
OsAccountAttribute attrib2 = osAccount1.new OsAccountAttribute(caseDB.getAttributeType(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_PASSWORD_HINT.getTypeID()), hint, osAccount1, host2, image); OsAccountAttribute attrib2 = osAccount1.new OsAccountAttribute(caseDB.getBlackboard().getAttributeType(BlackboardAttribute.ATTRIBUTE_TYPE.TSK_PASSWORD_HINT.getTypeID()), hint, osAccount1, host2, image);
accountAttributes.add(attrib2); accountAttributes.add(attrib2);
// add attributes to account. // add attributes to account.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment