org.mule.transport.file
Class FileReceiverMoveDeleteTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.mule.tck.AbstractMuleTestCase
              extended by org.mule.tck.FunctionalTestCase
                  extended by org.mule.transport.file.AbstractFileFunctionalTestCase
                      extended by org.mule.transport.file.AbstractFileMoveDeleteTestCase
                          extended by org.mule.transport.file.FileReceiverMoveDeleteTestCase
All Implemented Interfaces:
Test, TestCaseWatchdogTimeoutHandler

public class FileReceiverMoveDeleteTestCase
extends AbstractFileMoveDeleteTestCase


Nested Class Summary
 
Nested classes/interfaces inherited from class org.mule.tck.AbstractMuleTestCase
AbstractMuleTestCase.TestInfo
 
Field Summary
 
Fields inherited from class org.mule.transport.file.AbstractFileFunctionalTestCase
TARGET_FILE, TEST_MESSAGE
 
Fields inherited from class org.mule.tck.AbstractMuleTestCase
callbackCalled, IGNORED_DOT_MULE_DIRS, LOCK_TIMEOUT, logger, muleContext, RECEIVE_TIMEOUT
 
Constructor Summary
FileReceiverMoveDeleteTestCase()
           
 
Method Summary
protected  void assertRecevied(org.mule.util.concurrent.Latch latch)
           
protected  org.mule.util.concurrent.Latch configureService(File inFile, boolean streaming, boolean filePayload)
           
 void testDeleteOnly()
           
 void testDeleteOnlyFilePayload()
           
 void testDeleteOnlyStreaming()
           
 void testMoveAndDelete()
           
 void testMoveAndDeleteFilePayload()
           
 void testMoveAndDeleteStreaming()
           
 void testMoveOnly()
           
 void testMoveOnlyFilePayload()
           
 void testMoveOnlyStreaming()
           
 void testNoMoveNoDelete()
           
 void testNoMoveNoDeleteFilePayload()
           
 void testNoMoveNoDeleteStreaming()
           
 
Methods inherited from class org.mule.transport.file.AbstractFileMoveDeleteTestCase
assertFiles, assertFilesUntouched, configureConnector
 
Methods inherited from class org.mule.transport.file.AbstractFileFunctionalTestCase
checkReceivedMessage, doTearDown, fileToUrl, getConfigResources, initForRequest, waitForFileSystem
 
Methods inherited from class org.mule.tck.FunctionalTestCase
getBuilder, getComponent, getComponent, getConfigurationResources, loadResource, loadResourceAsString
 
Methods inherited from class org.mule.tck.AbstractMuleTestCase
configureMuleContext, createMuleContext, createTestInfo, createWatchdog, disposeManager, doSetUp, getName, getStartUpProperties, getTestConnector, getTestEvent, getTestEvent, getTestEvent, getTestEvent, getTestEventContext, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEndpoint, getTestInboundEvent, getTestInfo, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestOutboundEndpoint, getTestService, getTestService, getTestService, getTestSession, getTestTransformer, handleTimeout, isDisabledInThisEnvironment, isDisabledInThisEnvironment, isDisposeManagerPerSuite, isExcluded, isOffline, isStartContext, registerTestMethod, run, runBare, setDisposeManagerPerSuite, setName, setStartContext, setUp, suitePostTearDown, suitePreSetUp, tearDown
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, run, runTest, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FileReceiverMoveDeleteTestCase

public FileReceiverMoveDeleteTestCase()
Method Detail

testMoveAndDeleteStreaming

public void testMoveAndDeleteStreaming()
                                throws Exception
Throws:
Exception

testMoveOnlyStreaming

public void testMoveOnlyStreaming()
                           throws Exception
Throws:
Exception

testDeleteOnlyStreaming

public void testDeleteOnlyStreaming()
                             throws Exception
Throws:
Exception

testNoMoveNoDeleteStreaming

public void testNoMoveNoDeleteStreaming()
                                 throws Exception
Throws:
Exception

testMoveAndDelete

public void testMoveAndDelete()
                       throws Exception
Throws:
Exception

testMoveOnly

public void testMoveOnly()
                  throws Exception
Throws:
Exception

testDeleteOnly

public void testDeleteOnly()
                    throws Exception
Throws:
Exception

testNoMoveNoDelete

public void testNoMoveNoDelete()
                        throws Exception
Throws:
Exception

testMoveAndDeleteFilePayload

public void testMoveAndDeleteFilePayload()
                                  throws Exception
Throws:
Exception

testMoveOnlyFilePayload

public void testMoveOnlyFilePayload()
                             throws Exception
Throws:
Exception

testDeleteOnlyFilePayload

public void testDeleteOnlyFilePayload()
                               throws Exception
Throws:
Exception

testNoMoveNoDeleteFilePayload

public void testNoMoveNoDeleteFilePayload()
                                   throws Exception
Throws:
Exception

configureService

protected org.mule.util.concurrent.Latch configureService(File inFile,
                                                          boolean streaming,
                                                          boolean filePayload)
                                                   throws Exception
Throws:
Exception

assertRecevied

protected void assertRecevied(org.mule.util.concurrent.Latch latch)
                       throws Exception
Throws:
Exception


Copyright © 2003-2008 MuleSource, Inc.. All Rights Reserved.