mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-18 08:35:44 +01:00
28 lines
558 B
Java
28 lines
558 B
Java
package com.earth2me.essentials.update;
|
|
|
|
import java.io.IOException;
|
|
import java.util.logging.Level;
|
|
import java.util.logging.Logger;
|
|
import junit.framework.TestCase;
|
|
import org.junit.Test;
|
|
|
|
|
|
public class UploadTest extends TestCase
|
|
{
|
|
@Test
|
|
public void testPastieUpload()
|
|
{
|
|
try
|
|
{
|
|
final PastieUpload pastie = new PastieUpload();
|
|
assertNotNull(pastie);
|
|
//final String url = pastie.send("test");
|
|
//System.out.println(url);
|
|
}
|
|
catch (IOException ex)
|
|
{
|
|
Logger.getLogger(UploadTest.class.getName()).log(Level.SEVERE, null, ex);
|
|
}
|
|
}
|
|
}
|