Package com.cloudera.flume.handlers.debug

Examples of com.cloudera.flume.handlers.debug.StdinSource


  public static final Logger LOG = LoggerFactory
      .getLogger(TestStdinSource.class);

  @Test
  public void testCloseClose() throws IOException, InterruptedException {
    EventSource src = new StdinSource();
    StandardSourceSinkHarnesses.testCloseClose(LOG, src);
  }
View Full Code Here


    StandardSourceSinkHarnesses.testCloseClose(LOG, src);
  }

  @Test
  public void testOpenOpen() throws IOException, InterruptedException {
    EventSource src = new StdinSource();
    StandardSourceSinkHarnesses.testOpenOpen(LOG, src);
  }
View Full Code Here

    StandardSourceSinkHarnesses.testOpenOpen(LOG, src);
  }

  @Test
  public void testOpenClose() throws InterruptedException, IOException {
    EventSource src = new StdinSource();
    StandardSourceSinkHarnesses.testSourceOpenClose(LOG, src);
  }
View Full Code Here

   * This test is known to fail for this source.
   */
  @Ignore
  @Test
  public void testConcurrentClose() throws InterruptedException, IOException {
    EventSource src = new StdinSource();
    StandardSourceSinkHarnesses.testSourceConcurrentClose(LOG, src);
  }
View Full Code Here

public class TestStdinSource {
  public static final Logger LOG = LoggerFactory.getLogger(TestStdinSource.class);

  @Test
  public void testCloseClose() throws IOException {
    EventSource src = new StdinSource();
    StandardSourceSinkHarnesses.testCloseClose(LOG, src);
  }
View Full Code Here

    StandardSourceSinkHarnesses.testCloseClose(LOG, src);
  }

  @Test
  public void testOpenOpen() throws IOException {
    EventSource src = new StdinSource();
    StandardSourceSinkHarnesses.testOpenOpen(LOG, src);
  }
View Full Code Here

    StandardSourceSinkHarnesses.testOpenOpen(LOG, src);
  }

  @Test
  public void testOpenClose() throws InterruptedException, IOException {
    EventSource src = new StdinSource();
    StandardSourceSinkHarnesses.testSourceOpenClose(LOG, src);
  }
View Full Code Here

   * This test is known to fail for this source.
   */
  @Ignore
  @Test
  public void testConcurrentClose() throws InterruptedException, IOException {
    EventSource src = new StdinSource();
    StandardSourceSinkHarnesses.testSourceConcurrentClose(LOG, src);
  }
View Full Code Here

TOP

Related Classes of com.cloudera.flume.handlers.debug.StdinSource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.