Move some repo classes to :core:data (#3214)

This commit is contained in:
Phil Oliver 2025-09-26 17:45:11 -04:00 committed by GitHub
parent af8e1daa5d
commit 3e83e61a1a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
38 changed files with 159 additions and 140 deletions

View file

@ -18,21 +18,20 @@
package com.geeksville.mesh
import android.net.Uri
import com.geeksville.mesh.model.getChannelUrl
import com.geeksville.mesh.model.primaryChannel
import com.geeksville.mesh.model.toChannelSet
import dagger.hilt.android.testing.HiltAndroidRule
import dagger.hilt.android.testing.HiltAndroidTest
import org.junit.Assert
import org.junit.Before
import org.junit.Rule
import org.junit.Test
import org.meshtastic.core.model.util.getChannelUrl
import org.meshtastic.core.model.util.primaryChannel
import org.meshtastic.core.model.util.toChannelSet
@HiltAndroidTest
class ChannelSetTest {
@get:Rule
var hiltRule = HiltAndroidRule(this)
@get:Rule var hiltRule = HiltAndroidRule(this)
@Before
fun init() {

View file

@ -18,14 +18,14 @@
package com.geeksville.mesh
import androidx.test.ext.junit.runners.AndroidJUnit4
import com.geeksville.mesh.model.URL_PREFIX
import com.geeksville.mesh.model.getChannelUrl
import com.geeksville.mesh.model.toChannelSet
import org.junit.Assert
import org.junit.Test
import org.junit.runner.RunWith
import org.meshtastic.core.model.Channel
import org.meshtastic.core.model.numChannels
import org.meshtastic.core.model.util.URL_PREFIX
import org.meshtastic.core.model.util.getChannelUrl
import org.meshtastic.core.model.util.toChannelSet
@RunWith(AndroidJUnit4::class)
class ChannelTest {