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("", ":assembleDebug") assertFalse(text.contains("