make travis not try to run a test it wasn't supposed to

This commit is contained in:
Lucas
2019-06-10 00:02:45 +02:00
parent fb63ba500a
commit d36c6ecd21
3 changed files with 6 additions and 4 deletions

View File

@@ -52,6 +52,7 @@ import net.runelite.deob.util.JarUtil;
import net.runelite.deob.util.NameMappings;
import org.junit.After;
import org.junit.Before;
import org.junit.Ignore;
import org.junit.Rule;
import org.junit.Test;
import org.junit.rules.TemporaryFolder;
@@ -87,12 +88,13 @@ public class HookImporter
@After
public void after() throws IOException
{
File out = new File("C:/Users/Lucas/Desktop/client.jar");
File out = folder.newFile("client.jar");
JarUtil.saveJar(group, out);
logger.info("Wrote to {}", out);
}
@Test
@Ignore
public void importHooks()
{
int classes = 0, fields = 0, methods = 0, access = 0;

View File

@@ -1,3 +1,3 @@
rs.client=C:/Users/Lucas/Desktop/gamepack180_deob.jar
rs.client=${net.runelite.rs:rs-client:jar}
rs.version=180
vanilla.client=${net.runelite.rs:vanilla:jar}

View File

@@ -222,7 +222,7 @@ public class ClientLoader
if (rs instanceof Client)
{
log.info("client-patch {}", "420 blaze it RL pricks");
log.info("client-patch 420 blaze it RL pricks");
}
return rs;
@@ -274,7 +274,7 @@ public class ClientLoader
{
FileOutputStream fileOutputStream = new FileOutputStream(INJECTED_CLIENT);
fileOutputStream.getChannel()
.transferFrom(readableByteChannel, 0, Long.MAX_VALUE);
.transferFrom(readableByteChannel, 0, Integer.MAX_VALUE);
}
catch (IOException e)
{