Print - Fixed Gradle Wrapper

This commit is contained in:
Gunnar Hillert
2012-08-16 15:29:43 -04:00
parent d0ab07d400
commit e353bf49f5
5 changed files with 97 additions and 93 deletions

View File

@@ -1,5 +1,6 @@
package org.springframework.integration.print.outbound;
import org.junit.Ignore;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
@@ -17,7 +18,7 @@ public class PrintOutboundChannelAdapterTest {
private DirectChannel channel;
@Test
//@Ignore
@Ignore
public void test() {
final Message<String> message = MessageBuilder.withPayload("This is a test.").build();
channel.send(message);

View File

@@ -8,6 +8,7 @@ import java.util.SortedSet;
import javax.print.PrintService;
import org.apache.log4j.Logger;
import org.junit.Ignore;
import org.junit.Test;
import org.springframework.integration.print.core.PrintServiceExecutor;
import org.springframework.util.StringUtils;
@@ -26,12 +27,14 @@ public class PrintUtilsTest {
* Test method for {@link org.springframework.integration.print.core.PrintServiceExecutor#getAvailablePrinterServices()}.
*/
@Test
@Ignore
public void testGetAvailablePrinterServices() {
SortedSet<PrintService> printers = PrintServiceExecutor.getAvailablePrinterServices();
LOGGER.info("Available Printers: " + StringUtils.collectionToCommaDelimitedString(printers));
}
@Test
@Ignore
public void testGetPrintServiceByName() {
PrintService printService = printServiceExecutor.getPrintService();
LOGGER.info("Default Printer found: " + printService);