mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-06-02 11:54:36 +00:00
disabled debug info during tests
This commit is contained in:
@@ -16,12 +16,14 @@
|
||||
*/
|
||||
package com.jpexs.decompiler.flash;
|
||||
|
||||
import com.jpexs.decompiler.flash.gui.Main;
|
||||
import com.jpexs.decompiler.flash.types.RECT;
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.ByteArrayOutputStream;
|
||||
import java.io.IOException;
|
||||
import static org.testng.Assert.assertEquals;
|
||||
import static org.testng.Assert.assertTrue;
|
||||
import org.testng.annotations.BeforeClass;
|
||||
import org.testng.annotations.Test;
|
||||
|
||||
/**
|
||||
@@ -30,6 +32,11 @@ import org.testng.annotations.Test;
|
||||
*/
|
||||
public class SWFStreamTest {
|
||||
|
||||
@BeforeClass
|
||||
public void init(){
|
||||
Main.initLogging(false);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testNeededBits() {
|
||||
assertEquals(SWFOutputStream.getNeededBitsU(3), 2);
|
||||
|
||||
Reference in New Issue
Block a user