use of no.stelar7.api.l4j8.basic.cache.impl.FileSystemCacheProvider 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.l4j8.basic.cache.impl.FileSystemCacheProvider in project L4J8 by stelar7.
the class StaticTest method testPerkPath.
@Test
public void testPerkPath() {
DataCall.setCacheProvider(new FileSystemCacheProvider());
DataCall.setLogLevel(LogLevel.DEBUG);
List<PerkPath> paths = api.getPerkPaths(Platform.EUW1, null, null);
}
use of no.stelar7.api.l4j8.basic.cache.impl.FileSystemCacheProvider in project L4J8 by stelar7.
the class StaticTest method testPerkId.
@Test
public void testPerkId() {
DataCall.setCacheProvider(new FileSystemCacheProvider());
DataCall.setLogLevel(LogLevel.DEBUG);
StaticPerk paths = api.getPerk(Platform.EUW1, 8005, null, null);
System.out.println();
}
use of no.stelar7.api.l4j8.basic.cache.impl.FileSystemCacheProvider in project L4J8 by stelar7.
the class StaticTest method testMasterySingleOneFlag.
@Test
public void testMasterySingleOneFlag() {
DataCall.setCacheProvider(new FileSystemCacheProvider());
DataCall.setLogLevel(LogLevel.DEBUG);
EnumSet<MasteryDataFlags> dataFlags = EnumSet.of(MasteryDataFlags.ALL);
StaticMastery list = api.getMastery(Platform.EUW1, 6131, dataFlags, null, null);
Assert.assertTrue("ok?", list.getId() == 6131);
}
use of no.stelar7.api.l4j8.basic.cache.impl.FileSystemCacheProvider in project L4J8 by stelar7.
the class StaticTest method testChampionSingle.
@Test
public void testChampionSingle() {
DataCall.setCacheProvider(new FileSystemCacheProvider());
DataCall.setLogLevel(LogLevel.DEBUG);
EnumSet<ChampDataFlags> dataFlags = EnumSet.of(ChampDataFlags.ALL, ChampDataFlags.IMAGE);
StaticChampion list = api.getChampion(Platform.EUW1, Constants.TEST_CHAMPION_IDS[0], dataFlags, null, null);
Assert.assertTrue("ok?", list.getId() == Constants.TEST_CHAMPION_IDS[0]);
}
Aggregations