Skip to content

Commit

Permalink
chore: [test] add BRConstantsTest for unitTest and deprecated Constan…
Browse files Browse the repository at this point in the history
…tsTests inside androidTest
  • Loading branch information
andhikayuana committed Nov 30, 2024
1 parent e15e5a4 commit 2cdf887
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

import java.net.URI;

@Deprecated
@RunWith(AndroidJUnit4.class)
public class ConstantsTests {
public static final String TAG = ConstantsTests.class.getName();
Expand Down
15 changes: 15 additions & 0 deletions app/src/test/java/com/breadwallet/tools/util/BRConstantsTest.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package com.breadwallet.tools.util

import org.junit.Assert
import org.junit.Assert.assertSame
import org.junit.Test

//TODO: migrate from [com.litewallet.analytics.ConstantsTests]
class BRConstantsTest {

@Test
fun `validate Litecoin symbol constant`() {
assertSame(BRConstants.litecoinLowercase,"ł")
assertSame(BRConstants.litecoinUppercase,"Ł")
}
}

0 comments on commit 2cdf887

Please sign in to comment.