add localonly & update apponly protobufs

This commit is contained in:
andrekir 2022-05-30 17:43:05 -03:00
parent d7aa79edc6
commit 875939931e
5 changed files with 107 additions and 54 deletions

View file

@ -8,10 +8,10 @@ class ChannelSetTest {
/** make sure we match the python and device code behavior */
@Test
fun matchPython() {
val url = Uri.parse("https://www.meshtastic.org/d/#CgUYAiIBAQ")
val url = Uri.parse("https://www.meshtastic.org/e/#CgUiAQEYAg")
val cs = ChannelSet(url)
// Assert.assertEquals("LongFast", cs.primaryChannel!!.name, )
// Assert.assertEquals("#LongFast-I", cs.primaryChannel!!.humanName, )
// Assert.assertEquals(url, cs.getChannelUrl(false))
Assert.assertEquals("LongFast", cs.primaryChannel!!.name)
Assert.assertEquals("#LongFast-I", cs.primaryChannel!!.humanName)
Assert.assertEquals(url, cs.getChannelUrl(false))
}
}