cache: diable some long-running tests

These tests just bulk-dump data and don't really test anything, and use
up a lot of CI time when tests are run
This commit is contained in:
Adam
2020-05-25 11:10:23 -04:00
parent 5f84e28a14
commit 667a0e9297
12 changed files with 23 additions and 1 deletions

View File

@@ -36,6 +36,7 @@ import net.runelite.cache.fs.Archive;
import net.runelite.cache.fs.Index;
import net.runelite.cache.fs.Storage;
import net.runelite.cache.fs.Store;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
@@ -52,6 +53,7 @@ public class FramemapDumper
private final Gson gson = new GsonBuilder().setPrettyPrinting().create();
@Test
@Ignore
public void extract() throws IOException
{
File base = StoreLocation.LOCATION,

View File

@@ -28,6 +28,7 @@ package net.runelite.cache;
import java.io.File;
import java.io.IOException;
import net.runelite.cache.fs.Store;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
@@ -42,6 +43,7 @@ public class InterfaceManagerTest
public TemporaryFolder folder = StoreLocation.getTemporaryFolder();
@Test
@Ignore
public void test() throws IOException
{
File dumpDir = folder.newFolder(),

View File

@@ -28,6 +28,7 @@ package net.runelite.cache;
import java.io.File;
import java.io.IOException;
import net.runelite.cache.fs.Store;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
@@ -42,6 +43,7 @@ public class ItemManagerTest
public TemporaryFolder folder = StoreLocation.getTemporaryFolder();
@Test
@Ignore
public void test() throws IOException
{
File dumpDir = folder.newFolder(),

View File

@@ -34,6 +34,7 @@ import net.runelite.cache.fs.Archive;
import net.runelite.cache.fs.Index;
import net.runelite.cache.fs.Storage;
import net.runelite.cache.fs.Store;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
@@ -48,6 +49,7 @@ public class ModelDumperTest
public TemporaryFolder folder = StoreLocation.getTemporaryFolder();
@Test
@Ignore
public void test() throws IOException
{
File modelDir = folder.newFolder("models");

View File

@@ -27,6 +27,7 @@ package net.runelite.cache;
import java.io.File;
import java.io.IOException;
import net.runelite.cache.fs.Store;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
@@ -41,6 +42,7 @@ public class NpcManagerTest
public TemporaryFolder folder = StoreLocation.getTemporaryFolder();
@Test
@Ignore
public void test() throws IOException
{
File dumpDir = folder.newFolder(),

View File

@@ -27,6 +27,7 @@ package net.runelite.cache;
import java.io.File;
import java.io.IOException;
import net.runelite.cache.fs.Store;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
@@ -41,6 +42,7 @@ public class ObjectManagerTest
public TemporaryFolder folder = StoreLocation.getTemporaryFolder();
@Test
@Ignore
public void test() throws IOException
{
File dumpDir = folder.newFolder(),

View File

@@ -38,6 +38,7 @@ import net.runelite.cache.fs.FSFile;
import net.runelite.cache.fs.Index;
import net.runelite.cache.fs.Storage;
import net.runelite.cache.fs.Store;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
@@ -54,6 +55,7 @@ public class SequenceDumper
private final Gson gson = new GsonBuilder().setPrettyPrinting().create();
@Test
@Ignore
public void extract() throws IOException
{
File base = StoreLocation.LOCATION,

View File

@@ -36,6 +36,7 @@ import net.runelite.cache.fs.Archive;
import net.runelite.cache.fs.Index;
import net.runelite.cache.fs.Storage;
import net.runelite.cache.fs.Store;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
@@ -52,6 +53,7 @@ public class SoundEffectsDumperTest
public TemporaryFolder folder = StoreLocation.getTemporaryFolder();
@Test
@Ignore
public void test() throws IOException
{
File dumpDir = folder.newFolder();

View File

@@ -39,6 +39,7 @@ import net.runelite.cache.fs.FSFile;
import net.runelite.cache.fs.Index;
import net.runelite.cache.fs.Storage;
import net.runelite.cache.fs.Store;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
@@ -52,6 +53,7 @@ public class SpotanimDumperTest
public TemporaryFolder folder = StoreLocation.getTemporaryFolder();
@Test
@Ignore
public void test() throws IOException
{
File dumpDir = folder.newFolder("spotanims");

View File

@@ -27,6 +27,7 @@ package net.runelite.cache;
import java.io.File;
import java.io.IOException;
import net.runelite.cache.fs.Store;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
@@ -41,6 +42,7 @@ public class SpriteManagerTest
public TemporaryFolder folder = StoreLocation.getTemporaryFolder();
@Test
@Ignore
public void test() throws IOException
{
File dumpDir = folder.newFolder();

View File

@@ -48,7 +48,7 @@ public class TitleDumper
public void extract() throws IOException
{
File base = StoreLocation.LOCATION,
outFile = folder.newFolder();
outFile = folder.newFile();
try (Store store = new Store(base))
{

View File

@@ -38,6 +38,7 @@ import net.runelite.cache.fs.FSFile;
import net.runelite.cache.fs.Index;
import net.runelite.cache.fs.Storage;
import net.runelite.cache.fs.Store;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
@@ -54,6 +55,7 @@ public class VarbitDumper
private final Gson gson = new GsonBuilder().setPrettyPrinting().create();
@Test
@Ignore
public void extract() throws IOException
{
File base = StoreLocation.LOCATION,