Changed import statements from junit.framework to org.junit (#4650)

* Changed import statements from junit.framework to org.junit

* Replced deprecated assertequals for 2 doubles by adding a third parameter delta. Used hamcrest.MatcherAssert instead of junit.Assert
This commit is contained in:
BashCache 2021-10-15 01:48:29 +05:30 committed by GitHub
parent fa3c17280d
commit ba85958eda
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 14 additions and 13 deletions

View file

@ -10,7 +10,7 @@ import androidx.preference.PreferenceManager
import com.nhaarman.mockitokotlin2.verify
import fr.free.nrw.commons.TestCommonsApplication
import fr.free.nrw.commons.filepicker.Constants.RequestCodes
import junit.framework.Assert.assertEquals
import org.junit.Assert.assertEquals
import org.junit.Before
import org.junit.Test
import org.junit.runner.RunWith