blob: be6b4b32e89b1fb7533135671e642879069eb67b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/*
* Copyright (C) 2026 Danilo M. <danix@danix.xyz>
* SPDX-License-Identifier: GPL-3.0-only
*/
package com.github.androidpasswordstore.autofillparser
import kotlin.test.Test
import kotlin.test.assertEquals
class FormFieldLogTest {
@Test
fun onlyDescriptiveAttributesAreLogged() {
val attributes =
mapOf("type" to "email", "value" to "me@example.org", "placeholder" to "me@example.org")
assertEquals("type=email", htmlAttributesForLog(attributes))
}
}
|