blob: a51f03bd71881dbab7feb7036d85be25ae70b68b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
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);
}
}
}
|