Skip to content

Commit 49ea111

Browse files
jamesarichCopilot
andcommitted
test: SdkRadioController and PacketRepository coverage
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 3a4e18b commit 49ea111

3 files changed

Lines changed: 698 additions & 13 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
/*
2+
* Copyright (c) 2026 Meshtastic LLC
3+
*
4+
* This program is free software: you can redistribute it and/or modify
5+
* it under the terms of the GNU General Public License as published by
6+
* the Free Software Foundation, either version 3 of the License, or
7+
* (at your option) any later version.
8+
*
9+
* This program is distributed in the hope that it will be useful,
10+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12+
* GNU General Public License for more details.
13+
*
14+
* You should have received a copy of the GNU General Public License
15+
* along with this program. If not, see <https://www.gnu.org/licenses/>.
16+
*/
17+
package org.meshtastic.core.data.repository
18+
19+
import kotlin.test.BeforeTest
20+
import org.junit.runner.RunWith
21+
import org.robolectric.RobolectricTestRunner
22+
import org.robolectric.annotation.Config
23+
24+
@RunWith(RobolectricTestRunner::class)
25+
@Config(sdk = [34])
26+
class PacketRepositoryImplTest : CommonPacketRepositoryTest() {
27+
28+
@BeforeTest
29+
fun setUp() {
30+
setupRepo()
31+
}
32+
}

0 commit comments

Comments
 (0)