提交 a2f7668d 编写于 作者: S Sam Judd

Move TestUtil in gif decoder into test package.

上级 a48a2d28
package com.bumptech.glide.gifdecoder;
import android.graphics.Bitmap;
import com.bumptech.glide.gifdecoder.test.TestUtil;
import org.junit.Before;
import org.junit.Test;
import org.junit.runner.RunWith;
......@@ -15,7 +16,7 @@ import static org.junit.Assert.assertNotNull;
* Tests for {@link com.bumptech.glide.gifdecoder.GifDecoder}.
*/
@RunWith(RobolectricTestRunner.class)
@Config(emulateSdk = 18)
@Config(manifest = Config.NONE, emulateSdk = 18)
public class GifDecoderTest {
private MockProvider provider;
......
package com.bumptech.glide.gifdecoder;
import com.bumptech.glide.gifdecoder.test.GifBytesTestUtil;
import com.bumptech.glide.gifdecoder.test.TestUtil;
import org.junit.Before;
import org.junit.Test;
......
package com.bumptech.glide.gifdecoder;
package com.bumptech.glide.gifdecoder.test;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStream;
final class TestUtil {
/**
* Utility methods for GifDecoder tests.
*/
public final class TestUtil {
private TestUtil() {
// Utility class.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册