private void AssertProcessItem(process_item itemToAssert, string command, string pid, string ppid = "0", string tty = "tty", string userID = "root") { ItemTypeEntityChecker.AssertItemTypeEntity(itemToAssert.command, command); ItemTypeEntityChecker.AssertItemTypeEntity(itemToAssert.pid, pid); ItemTypeEntityChecker.AssertItemTypeEntity(itemToAssert.ppid, ppid); ItemTypeEntityChecker.AssertItemTypeEntity(itemToAssert.tty, tty); ItemTypeEntityChecker.AssertItemTypeEntity(itemToAssert.user_id, userID); }
public ProcessProberTests() { this.FakeProcessItem = new process_item(); this.FakeCollectedItem = ProbeHelper.CreateFakeCollectedItem(new OVAL.SystemCharacteristics.Unix.process_item()); }