# Path: dtformats/recycle_bin.py
# class RecycleBinMetadataFile(data_format.BinaryDataFile):
#   _FABRIC = data_format.BinaryDataFile.ReadDefinitionFile('recycle_bin.yaml')
#   _SUPPORTED_FORMAT_VERSION = (1, 2)
#   _DEBUG_INFO_FILE_HEADER = [
#       ('format_version', 'Format version', '_FormatIntegerAsDecimal'),
#       ('original_file_size', 'Original file size', '_FormatIntegerAsDecimal'),
#       ('deletion_time', 'Deletion time', '_FormatIntegerAsFiletime')]
#   def __init__(self, debug=False, output_writer=None):
#   def _ReadFileHeader(self, file_object):
#   def _ReadOriginalFilename(self, file_object, format_version):
#   def ReadFileObject(self, file_object):
# 
# Path: tests/test_lib.py
# class BaseTestCase(unittest.TestCase):
# class TestOutputWriter(output_writers.OutputWriter):
#   _TEST_DATA_PATH = os.path.join(os.getcwd(), 'test_data')
#   def _GetTestFilePath(self, path_segments):
#   def _SkipIfPathNotExists(self, path):
#   def __init__(self):
#   def Close(self):
#   def Open(self):
#   def WriteText(self, text):


import unittest
from dtformats import recycle_bin
from tests import test_lib
# -*- coding: utf-8 -*-
"""Tests for Windows Recycle.Bin metadata ($I) files."""





class RecycleBinMetadataFileTest(test_lib.BaseTestCase):
  """Windows Recycle.Bin metadata ($I) file tests."""

  # pylint: disable=protected-access

  def testReadFileHeader(self):
    """Tests the _ReadFileHeader function."""
    output_writer = test_lib.TestOutputWriter()

# Path: dtformats/recycle_bin.py
# class RecycleBinMetadataFile(data_format.BinaryDataFile):
#   _FABRIC = data_format.BinaryDataFile.ReadDefinitionFile('recycle_bin.yaml')
#   _SUPPORTED_FORMAT_VERSION = (1, 2)
#   _DEBUG_INFO_FILE_HEADER = [
#       ('format_version', 'Format version', '_FormatIntegerAsDecimal'),
#       ('original_file_size', 'Original file size', '_FormatIntegerAsDecimal'),
#       ('deletion_time', 'Deletion time', '_FormatIntegerAsFiletime')]
#   def __init__(self, debug=False, output_writer=None):
#   def _ReadFileHeader(self, file_object):
#   def _ReadOriginalFilename(self, file_object, format_version):
#   def ReadFileObject(self, file_object):
# 
# Path: tests/test_lib.py
# class BaseTestCase(unittest.TestCase):
# class TestOutputWriter(output_writers.OutputWriter):
#   _TEST_DATA_PATH = os.path.join(os.getcwd(), 'test_data')
#   def _GetTestFilePath(self, path_segments):
#   def _SkipIfPathNotExists(self, path):
#   def __init__(self):
#   def Close(self):
#   def Open(self):
#   def WriteText(self, text):


# Path: tests/recycle_bin.py
import unittest
from dtformats import recycle_bin
from tests import test_lib

# -*- coding: utf-8 -*-
"""Tests for Windows Recycle.Bin metadata ($I) files."""





class RecycleBinMetadataFileTest(test_lib.BaseTestCase):
  """Windows Recycle.Bin metadata ($I) file tests."""

  # pylint: disable=protected-access

  def testReadFileHeader(self):
    """Tests the _ReadFileHeader function."""
    output_writer = test_lib.TestOutputWriter()

    test_file = recycle_bin.RecycleBinMetadataFile(output_writer=output_writer)