use of no.stelar7.api.r4j.pojo.lol.staticdata.summonerspell.StaticSummonerSpell in project L4J8 by stelar7.
the class StaticTest method testSummonerSpellSingle.
@Test
public void testSummonerSpellSingle() {
DataCall.setCacheProvider(new FileSystemCacheProvider());
StaticSummonerSpell list = api.getSummonerSpell(21);
Assertions.assertEquals(21, list.getId());
}
use of no.stelar7.api.r4j.pojo.lol.staticdata.summonerspell.StaticSummonerSpell in project L4J8 by stelar7.
the class StaticTest method testSummonerSpellList.
@Test
public void testSummonerSpellList() {
DataCall.setCacheProvider(new FileSystemCacheProvider());
Map<Integer, StaticSummonerSpell> list = api.getSummonerSpells();
}
use of no.stelar7.api.r4j.pojo.lol.staticdata.summonerspell.StaticSummonerSpell in project L4J8 by stelar7.
the class StaticTest method testSummonerSpellList.
@Test
public void testSummonerSpellList() {
DataCall.setCacheProvider(new FileSystemCacheProvider());
DataCall.setLogLevel(LogLevel.DEBUG);
EnumSet<SpellDataFlags> dataFlags = EnumSet.of(SpellDataFlags.ALL, SpellDataFlags.IMAGE);
Map<Integer, StaticSummonerSpell> list = api.getSummonerSpells(Platform.EUN1, dataFlags, null, null);
}
use of no.stelar7.api.r4j.pojo.lol.staticdata.summonerspell.StaticSummonerSpell in project L4J8 by stelar7.
the class StaticTest method testSummonerSpellSingle.
@Test
public void testSummonerSpellSingle() {
DataCall.setCacheProvider(new FileSystemCacheProvider());
DataCall.setLogLevel(LogLevel.DEBUG);
EnumSet<SpellDataFlags> dataFlags = EnumSet.of(SpellDataFlags.ALL, SpellDataFlags.IMAGE);
StaticSummonerSpell list = api.getSummonerSpell(Platform.EUW1, 21, dataFlags, null, null);
Assert.assertTrue("ok?", list.getId() == 21);
}
Aggregations