Add policy support for linux (#272579)

This commit is contained in:
Paul
2025-10-22 16:01:59 -07:00
committed by GitHub
parent 9308f9a06e
commit e81696f60d
34 changed files with 600 additions and 21 deletions

View File

@@ -97,6 +97,16 @@ suite('StringPolicy', () => {
assert.strictEqual(presentation, '<presentation id="TestStringPolicy"><textBox refId="TestStringPolicy"><label>TestStringPolicy:</label></textBox></presentation>');
});
test('should render JSON value correctly', () => {
const policy = StringPolicy.from(mockCategory, mockPolicy);
assert.ok(policy);
const jsonValue = policy.renderJsonValue();
assert.strictEqual(jsonValue, '');
});
test('should render profile value correctly', () => {
const policy = StringPolicy.from(mockCategory, mockPolicy);