DescriptionThis change refactors WindowsFileDelegate, WindowsFileDelegateTest,
and WindowsAclFileAttributeViewsTest to enable testing of rest of
WindowsFileDelegate. The refactoring does the following:
- Allows for injection of the Windows JNA and WindowsAclFileAttributeViews
implementations into WindowsFileDelegate.
- Extracts Ace, AceBuilder, AccountSid, Serialized DACL construction,
temp file management, and TestWindowsAclFileAttributeViews into a base
class, TestWindowsAclViews, that can be extended by both
WindowsAclFileAttributeViewsTest and WindowsFileDelegateTest.
This CL is a strict refactoring, and adds no new functionality or tests.
Patch Set 1 #
Total comments: 4
Patch Set 2 : Make protected members and methods of TestWindowsAclViews final. #
Total comments: 7
Patch Set 3 : Eliminate protected tempRoot field in base class. #
MessagesTotal messages: 12
|