Search in sources :

Example 16 with FileSystemCacheProvider

use of no.stelar7.api.r4j.basic.cache.impl.FileSystemCacheProvider in project L4J8 by stelar7.

the class StaticTest method testLanguages.

@Test
public void testLanguages() {
    DataCall.setCacheProvider(new FileSystemCacheProvider());
    List<String> strings = api.getLanguages();
}
Also used : FileSystemCacheProvider(no.stelar7.api.r4j.basic.cache.impl.FileSystemCacheProvider)

Example 17 with FileSystemCacheProvider

use of no.stelar7.api.r4j.basic.cache.impl.FileSystemCacheProvider in project L4J8 by stelar7.

the class StaticTest method testProfileIcons.

@Test
public void testProfileIcons() {
    DataCall.setCacheProvider(new FileSystemCacheProvider());
    Map<Long, ProfileIconDetails> data = api.getProfileIcons();
}
Also used : ProfileIconDetails(no.stelar7.api.r4j.pojo.lol.staticdata.profileicon.ProfileIconDetails) FileSystemCacheProvider(no.stelar7.api.r4j.basic.cache.impl.FileSystemCacheProvider)

Example 18 with FileSystemCacheProvider

use of no.stelar7.api.r4j.basic.cache.impl.FileSystemCacheProvider in project L4J8 by stelar7.

the class StaticTest method testPerkPathId.

@Test
public void testPerkPathId() {
    DataCall.setCacheProvider(new FileSystemCacheProvider());
    PerkPath paths = api.getPerkPath(8000);
}
Also used : FileSystemCacheProvider(no.stelar7.api.r4j.basic.cache.impl.FileSystemCacheProvider)

Example 19 with FileSystemCacheProvider

use of no.stelar7.api.r4j.basic.cache.impl.FileSystemCacheProvider 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());
}
Also used : FileSystemCacheProvider(no.stelar7.api.r4j.basic.cache.impl.FileSystemCacheProvider) StaticSummonerSpell(no.stelar7.api.r4j.pojo.lol.staticdata.summonerspell.StaticSummonerSpell)

Example 20 with FileSystemCacheProvider

use of no.stelar7.api.r4j.basic.cache.impl.FileSystemCacheProvider in project L4J8 by stelar7.

the class StaticTest method testChampionList.

@Test
public void testChampionList() {
    DataCall.setCacheProvider(new FileSystemCacheProvider());
    Map<Integer, StaticChampion> list = api.getChampions();
    Assertions.assertTrue(list.size() > 100, "less than 100?");
}
Also used : FileSystemCacheProvider(no.stelar7.api.r4j.basic.cache.impl.FileSystemCacheProvider)

Aggregations

FileSystemCacheProvider (no.stelar7.api.l4j8.basic.cache.impl.FileSystemCacheProvider)28 FileSystemCacheProvider (no.stelar7.api.r4j.basic.cache.impl.FileSystemCacheProvider)27 StaticMastery (no.stelar7.api.l4j8.pojo.staticdata.mastery.StaticMastery)5 Summoner (no.stelar7.api.r4j.pojo.lol.summoner.Summoner)5 SummonerBuilder (no.stelar7.api.l4j8.impl.builders.summoner.SummonerBuilder)4 StaticChampion (no.stelar7.api.l4j8.pojo.staticdata.champion.StaticChampion)4 java.util (java.util)3 StaticRune (no.stelar7.api.l4j8.pojo.staticdata.rune.StaticRune)3 Summoner (no.stelar7.api.l4j8.pojo.summoner.Summoner)3 R4J (no.stelar7.api.r4j.impl.R4J)3 Item (no.stelar7.api.r4j.pojo.lol.staticdata.item.Item)3 StaticMastery (no.stelar7.api.r4j.pojo.lol.staticdata.mastery.StaticMastery)3 StaticRune (no.stelar7.api.r4j.pojo.lol.staticdata.rune.StaticRune)3 java.awt (java.awt)2 AffineTransform (java.awt.geom.AffineTransform)2 java.awt.image (java.awt.image)2 java.io (java.io)2 URL (java.net.URL)2 List (java.util.List)2 Predicate (java.util.function.Predicate)2