1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| package cn.flightfeather.supervision
|
| import org.junit.Test
| import java.util.*
| import kotlin.properties.Delegates
|
| class CommonTest {
|
| @Test
| fun foo1() {
| val fName = Base64.getEncoder().encodeToString("2024年01月静安区工地-规范性评估与分析清单.xls".toByteArray())
| val dName = String(Base64.getDecoder().decode(fName))
| println(fName)
| println(dName)
| }
|
| @Test
| fun annotationTest() {
| "name" + "1"
| mapOf<String, String>("name" to "1")
| }
| }
|
|