mirror of
https://github.com/yairm210/Unciv.git
synced 2025-09-28 14:24:43 -04:00
Fixed tests
This commit is contained in:
parent
36f5d22a80
commit
2c66b53b27
@ -2,7 +2,6 @@
|
|||||||
package com.unciv.testing
|
package com.unciv.testing
|
||||||
|
|
||||||
import com.badlogic.gdx.Gdx
|
import com.badlogic.gdx.Gdx
|
||||||
import com.badlogic.gdx.files.FileHandle
|
|
||||||
import com.unciv.UncivGame
|
import com.unciv.UncivGame
|
||||||
import com.unciv.UncivGameParameters
|
import com.unciv.UncivGameParameters
|
||||||
import com.unciv.models.metadata.GameSettings
|
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.Stat
|
||||||
import com.unciv.models.stats.Stats
|
import com.unciv.models.stats.Stats
|
||||||
import com.unciv.models.translations.tr
|
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.Assert
|
||||||
import org.junit.Before
|
import org.junit.Before
|
||||||
import org.junit.Test
|
import org.junit.Test
|
||||||
import org.junit.runner.RunWith
|
import org.junit.runner.RunWith
|
||||||
import java.io.File
|
|
||||||
|
|
||||||
@RunWith(GdxTestRunner::class)
|
@RunWith(GdxTestRunner::class)
|
||||||
class BasicTests {
|
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"""))
|
// 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!
|
// @Test // This should NOT run as part of the test suite!
|
||||||
fun tryGetGithubTopicInfo(){
|
// fun tryGetGithubTopicInfo(){
|
||||||
println(Http.tryGetGithubTopic())
|
// println(Github.tryGetGithubReposWithTopic())
|
||||||
}
|
// }
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user