feat: 增加独立构建工作区、服务端ADB与私有文件清单
支持Git提交导入及未提交源码叠加,APK原名下载和完成通知。新增服务端设备安装与按工程维护的私有文件清单,修复Wrapper预检查、布局及IDE读锁和保存状态问题。更新协议、测试和部署记录;服务端0.7.0,插件0.7.1。
This commit is contained in:
1 parent
87652364bc
commit
6f9cc7e7ea
44 files changed
+2742
-87
No files matched your search
@@ -0,0 +1,22 @@
|
||||
package studio.tongtong.remotecompile
|
||||
|
||||
import org.junit.Assert.*
|
||||
import org.junit.Test
|
||||
|
||||
class ApkNotificationsTest {
|
||||
@Test fun describesRootAndModuleVariants() {
|
||||
val root = ApkNotifications.description("酷比桌面", ":assembleAospWithoutQuickstepTDT65Release")
|
||||
assertTrue(root.contains("酷比桌面.main"))
|
||||
assertTrue(root.contains("aospWithoutQuickstepTDT65Release"))
|
||||
val app = ApkNotifications.description("Project", ":app:assembleUiuiDebug")
|
||||
assertTrue(app.contains("Project.app"))
|
||||
assertTrue(app.contains("uiuiDebug"))
|
||||
assertTrue(app.contains("locate or analyze"))
|
||||
}
|
||||
|
||||
@Test fun escapesNotificationHtml() {
|
||||
val text = ApkNotifications.description("<project&>", ":assembleDebug")
|
||||
assertFalse(text.contains("<project"))
|
||||
assertTrue(text.contains("<project&>"))
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user