Skip to content

Refactor Clipboard to make it testable #459

@zsd4yr

Description

@zsd4yr

Related to #416

Ideally we would refactor clipboard code so that all calls to win32 OLE* methods are exposed by a single class (OleClipboard) and published as a public interface and a constructor that takes object that implements that interface as a parameter. Then the test will mock the IOleClipboard interface and use constructor that takes this mock as a parameter.

Metadata

Metadata

Assignees

Labels

area-ClipboardIssues related to ClipboardenhancementProduct code improvement that does NOT require public API changes/additionstest-enhancementImprovements of test source code

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions