Fixed tests

This commit is contained in:
Yair Morgenstern 2020-08-26 16:52:10 +03:00
parent 36f5d22a80
commit 2c66b53b27

View file

@ -2,7 +2,6 @@
package com.unciv.testing
import com.badlogic.gdx.Gdx
import com.badlogic.gdx.files.FileHandle
import com.unciv.UncivGame
import com.unciv.UncivGameParameters
import com.unciv.models.metadata.GameSettings
@ -12,13 +11,10 @@ import com.unciv.models.ruleset.unit.BaseUnit
import com.unciv.models.stats.Stat
import com.unciv.models.stats.Stats
import com.unciv.models.translations.tr
import com.unciv.ui.worldscreen.mainmenu.Http
import com.unciv.ui.worldscreen.mainmenu.Zip
import org.junit.Assert
import org.junit.Before
import org.junit.Test
import org.junit.runner.RunWith
import java.io.File
@RunWith(GdxTestRunner::class)
class BasicTests {
@ -91,8 +87,8 @@ class BasicTests {
// Zip.downloadAndExtract("https://github.com/yairm210/Unciv-IV-mod/archive/master.zip", FileHandle("""C:\Users\LENOVO\Downloads"""))
// }
@Test // This should NOT run as part of the test suite!
fun tryGetGithubTopicInfo(){
println(Http.tryGetGithubTopic())
}
// @Test // This should NOT run as part of the test suite!
// fun tryGetGithubTopicInfo(){
// println(Github.tryGetGithubReposWithTopic())
// }
}