From 3d6147a50b779701ac02b170be60bf16414255b8 Mon Sep 17 00:00:00 2001 From: Otavio Rodolfo Piske Date: Mon, 12 Apr 2021 11:14:46 +0200 Subject: [PATCH] CAMEL-16400: split unit and integration tests for camel-ftp --- components/camel-ftp/pom.xml | 20 +++++ .../remote/FromFtpClientSoTimeout3Test.java | 74 ------------------- .../remote/FromFtpClientSoTimeoutTest.java | 64 ++++++++-------- .../ConsumerTemplateFtpShutdownIT.java} | 4 +- .../FileToFtpTempFileNameIT.java} | 4 +- ...hClientAuthAndSSLContextParametersIT.java} | 4 +- ...ileToFtpsExplicitSSLWithClientAuthIT.java} | 4 +- ...tAuthAndGlobalSSLContextParametersIT.java} | 6 +- ...tClientAuthAndSSLContextParametersIT.java} | 6 +- ...ToFtpsExplicitSSLWithoutClientAuthIT.java} | 4 +- ...hClientAuthAndSSLContextParametersIT.java} | 4 +- ...ileToFtpsExplicitTLSWithClientAuthIT.java} | 4 +- ...tClientAuthAndSSLContextParametersIT.java} | 6 +- ...ToFtpsExplicitTLSWithoutClientAuthIT.java} | 4 +- ...hClientAuthAndSSLContextParametersIT.java} | 4 +- ...ileToFtpsImplicitSSLWithClientAuthIT.java} | 4 +- ...tClientAuthAndSSLContextParametersIT.java} | 6 +- ...ToFtpsImplicitSSLWithoutClientAuthIT.java} | 4 +- ...hClientAuthAndSSLContextParametersIT.java} | 4 +- ...ileToFtpsImplicitTLSWithClientAuthIT.java} | 4 +- ...tClientAuthAndSSLContextParametersIT.java} | 6 +- ...ToFtpsImplicitTLSWithoutClientAuthIT.java} | 4 +- ...thCustomKeyAndTrustStorePropertiesIT.java} | 4 +- ...FtpsWithCustomTrustStorePropertiesIT.java} | 4 +- .../FileToFtpsWithDefaultSettingsIPV6IT.java} | 4 +- .../FileToFtpsWithDefaultSettingsIT.java} | 4 +- .../FileToFtpsWithFtpClientConfigRefIT.java} | 4 +- .../FromFilePasswordBeanRefIT.java} | 4 +- .../FromFilePasswordPropertyRefIT.java} | 4 +- .../FromFilePercentSignInPasswordIT.java} | 4 +- ...rcentSignInPasswordUserInfoEncodedIT.java} | 4 +- ...mFilePercentSignInPasswordUserInfoIT.java} | 4 +- ...FileToFtpDefaultRootRenameStrategyIT.java} | 4 +- .../FromFileToFtpDeleteIT.java} | 4 +- .../FromFileToFtpIT.java} | 4 +- .../FromFileToFtpNotStepwiseIT.java} | 4 +- .../FromFileToFtpWithChmodIT.java} | 4 +- .../FromFileTransferLoggingLevelIT.java} | 4 +- ...romFileTransferLoggingLevelVerboseIT.java} | 4 +- .../FromFtpActivePortRangeIT.java} | 4 +- .../FromFtpAsyncProcessIT.java} | 4 +- .../FromFtpClientConfigRefIT.java} | 4 +- .../FromFtpClientDataTimeoutIT.java} | 4 +- .../FromFtpClientSoTimeout2IT.java} | 4 +- .../integration/FromFtpClientSoTimeoutIT.java | 68 +++++++++++++++++ .../FromFtpConsumerTemplateIT.java} | 4 +- .../FromFtpConsumerTemplateRollbackIT.java} | 4 +- .../FromFtpDeleteFileIT.java} | 4 +- .../FromFtpDeleteFileNotStepwiseIT.java} | 4 +- .../FromFtpDeleteFileScottTigerIT.java} | 4 +- .../FromFtpDirectoryToBinaryFilesIT.java} | 4 +- ...pDirectoryToBinaryFilesNotStepwiseIT.java} | 4 +- ...omFtpDoNotDeleteFileIfProcessFailsIT.java} | 4 +- .../FromFtpExclusiveReadNoneStrategyIT.java} | 6 +- .../FromFtpFilterIT.java} | 4 +- .../FromFtpFilterNotStepwiseIT.java} | 4 +- .../FromFtpKeepLastModifiedIT.java} | 4 +- ...FromFtpKeepLastModifiedNotStepwiseIT.java} | 4 +- ...FtpMoveFileAbsoluteFolderRecursiveIT.java} | 4 +- ...AbsoluteFolderRecursiveNotStepwiseIT.java} | 4 +- .../FromFtpMoveFileIT.java} | 4 +- .../FromFtpMoveFileNotStepwiseIT.java} | 4 +- .../FromFtpMoveFilePostfixIT.java} | 4 +- .../FromFtpMoveFilePostfixNotStepwiseIT.java} | 4 +- .../FromFtpMoveFilePrefixIT.java} | 4 +- .../FromFtpMoveFilePrefixNotStepwiseIT.java} | 4 +- .../FromFtpMoveFileRecursiveIT.java} | 4 +- ...romFtpMoveFileRecursiveNotStepwiseIT.java} | 4 +- ...FtpMoveFileToHiddenFolderRecursiveIT.java} | 4 +- ...ToHiddenFolderRecursiveNotStepwiseIT.java} | 4 +- ...EndpointPathRelativeMoveToAbsoluteIT.java} | 4 +- ...hRelativeMoveToAbsoluteNotStepwiseIT.java} | 6 +- .../FromFtpNoFilesIT.java} | 4 +- .../FromFtpNoopAccountIT.java} | 4 +- .../FromFtpNoopIT.java} | 4 +- .../FromFtpNoopIdempotentFalseIT.java} | 4 +- .../FromFtpNotDownloadIT.java} | 4 +- .../FromFtpPassiveModeIT.java} | 4 +- .../FromFtpPollFileOnlyIT.java} | 4 +- .../FromFtpPreMoveDeleteIT.java} | 4 +- .../FromFtpPreMoveDeleteNotStepwiseIT.java} | 4 +- .../FromFtpPreMoveFileExpressionIT.java} | 4 +- .../FromFtpPreMoveFilePostfixIT.java} | 4 +- ...omFtpPreMoveFilePostfixNotStepwiseIT.java} | 4 +- .../FromFtpPreMoveFilePrefixIT.java} | 4 +- ...romFtpPreMoveFilePrefixNotStepwiseIT.java} | 4 +- .../FromFtpPreMoveNoopIT.java} | 4 +- .../FromFtpPreMoveNoopNotStepwiseIT.java} | 4 +- .../FromFtpRecursiveNoopIT.java} | 4 +- .../FromFtpRecursiveNoopNotStepwiseIT.java} | 4 +- ...mFtpRecursiveNotStepwiseNoBasePathIT.java} | 4 +- .../FromFtpRegexPatternIT.java} | 4 +- .../FromFtpRemoteFileFilterDirectoryIT.java} | 4 +- .../FromFtpRemoteFileFilterIT.java} | 4 +- .../FromFtpRemoteFileSortByExpressionIT.java} | 4 +- ...moteFileSortByIgnoreCaseExpressionIT.java} | 4 +- ...tpRemoteFileSortByNestedExpressionIT.java} | 4 +- .../FromFtpRemoteFileSorterIT.java} | 5 +- .../FromFtpSedaDeleteFileIT.java} | 4 +- ...romFtpServerLanguageCodeAndTimeoutIT.java} | 4 +- .../FromFtpServerLanguageCodeIT.java} | 4 +- ...romFtpSetNamesWithMultiDirectoriesIT.java} | 4 +- ...EndpointPathRelativeMoveToAbsoluteIT.java} | 4 +- ...hRelativeMoveToAbsoluteNotStepwiseIT.java} | 6 +- ...EndpointPathRelativeMoveToRelativeIT.java} | 4 +- ...hRelativeMoveToRelativeNotStepwiseIT.java} | 6 +- ...romFtpSimpleRelativeMoveToAbsoluteIT.java} | 4 +- ...eRelativeMoveToAbsoluteNotStepwiseIT.java} | 4 +- ...romFtpSimpleRelativeMoveToRelativeIT.java} | 4 +- ...eRelativeMoveToRelativeNotStepwiseIT.java} | 4 +- ...FromFtpSimulateNetworkIssueRecoverIT.java} | 5 +- ...FromFtpStartingDirAndFileNameClashIT.java} | 4 +- .../FromFtpThirdPoolOkIT.java} | 4 +- .../FromFtpToAsciiFileIT.java} | 4 +- ...FromFtpToAsciiFileNoBodyConversionIT.java} | 4 +- .../FromFtpToBinaryFileIT.java} | 4 +- .../FromFtpToBinaryFilesIT.java} | 4 +- .../FromFtpToFileNoFileNameHeaderIT.java} | 4 +- .../FromFtpToMockIT.java} | 4 +- .../FromFtpTwoSlashesIssueIT.java} | 4 +- .../FromFtpUseListFalseIT.java} | 4 +- .../FromQueueThenConsumeFtpToMockIT.java} | 4 +- .../FtpAnonymousIT.java} | 4 +- .../FtpBadLoginConnectionLeakIT.java} | 4 +- ...tpBadLoginInProducerConnectionLeakIT.java} | 4 +- .../FtpBadLoginMockNoopConnectionLeakIT.java} | 7 +- .../FtpBrowsableEndpointIT.java} | 5 +- .../FtpChangedReadLockFastExistCheckIT.java} | 4 +- .../FtpChangedReadLockIT.java} | 6 +- .../FtpChangedReadLockLoggingLevelIT.java} | 4 +- .../FtpChangedReadLockTimeoutIT.java} | 4 +- ...angedRootDirReadLockFastExistCheckIT.java} | 4 +- .../FtpChangedRootDirReadLockIT.java} | 6 +- .../FtpChangedZeroLengthReadLockIT.java} | 4 +- .../FtpConnectTimeoutIT.java} | 4 +- .../FtpConsumerAbsolutePathIT.java} | 4 +- .../FtpConsumerAsyncStressIT.java} | 4 +- .../FtpConsumerAutoCreateIT.java} | 5 +- .../FtpConsumerBodyAsStringIT.java} | 4 +- ...FtpConsumerDeleteNoWritePermissionIT.java} | 4 +- .../FtpConsumerDirectoriesNotMatchedIT.java} | 4 +- .../FtpConsumerDisconnectIT.java} | 5 +- .../FtpConsumerDoneFileNameFixedIT.java} | 4 +- ...pConsumerDoneFileNameFixedStepwiseIT.java} | 4 +- .../FtpConsumerDoneFileNameIT.java} | 4 +- .../FtpConsumerDoneFileNameStepwiseIT.java} | 4 +- .../FtpConsumerDualDoneFileNameIT.java} | 4 +- .../FtpConsumerExcludeExtIT.java} | 4 +- .../FtpConsumerExcludeNameIT.java} | 4 +- .../FtpConsumerFileSplitIT.java} | 4 +- .../FtpConsumerIPV6BodyAsStringIT.java} | 4 +- .../FtpConsumerIdempotentIT.java} | 4 +- ...pConsumerIdempotentKeyChangedIssueIT.java} | 4 +- .../FtpConsumerIdempotentMemoryRefIT.java} | 4 +- .../FtpConsumerIdempotentRefIT.java} | 4 +- .../FtpConsumerIncludeExtIT.java} | 4 +- .../FtpConsumerIncludeNameIT.java} | 4 +- ...erLocalWorkDirectoryAsAbsolutePathIT.java} | 4 +- ...tpConsumerLocalWorkDirectoryDirectIT.java} | 4 +- .../FtpConsumerLocalWorkDirectoryIT.java} | 4 +- ...merLocalWorkDirectoryWorkOnPayloadIT.java} | 4 +- .../FtpConsumerMaxMessagesPerPollIT.java} | 4 +- .../FtpConsumerMoveExpressionIT.java} | 4 +- .../FtpConsumerMultipleDirectoriesIT.java} | 5 +- ...ConsumerNotEagerMaxMessagesPerPollIT.java} | 4 +- ...ConsumerPostProcessingOnDisconnectIT.java} | 8 +- .../FtpConsumerProcessStrategyIT.java} | 4 +- .../FtpConsumerRelativeFileNameIT.java} | 4 +- .../FtpConsumerReplyStringIT.java} | 5 +- .../FtpConsumerResumeDownloadIT.java} | 4 +- .../FtpConsumerSkipDotFilesIT.java} | 4 +- .../FtpConsumerTemplateIT.java} | 4 +- .../FtpConsumerTemplateUseListFalseIT.java} | 4 +- ...onsumerThrowExceptionOnLoginFailedIT.java} | 4 +- .../FtpConsumerUsingFTPClientConfigIT.java} | 4 +- .../FtpConsumerWithCharsetIT.java} | 7 +- .../FtpConsumerWithNoFileOptionIT.java} | 5 +- .../FtpEndpointURISanitizedIT.java} | 8 +- .../FtpLoginIT.java} | 4 +- .../FtpLoginNoRetryIT.java} | 4 +- .../FtpNoReconnectAttemptUnknownHostIT.java} | 4 +- .../FtpPollEnrichBridgeErrorHandlerIT.java} | 5 +- ...richConsumeWithDisconnectAndDeleteIT.java} | 6 +- .../FtpPollingConsumerIT.java} | 4 +- .../FtpPollingConsumerIdleMessageIT.java} | 4 +- ...ducerAllowNullBodyFileAlreadyExistIT.java} | 4 +- .../FtpProducerAllowNullBodyIT.java} | 4 +- .../FtpProducerBuildDirectoryIT.java} | 4 +- .../FtpProducerBuildPartOfDirectoryIT.java} | 4 +- .../FtpProducerConcurrentIT.java} | 4 +- .../FtpProducerConnectErrorsHeaderIT.java} | 4 +- .../FtpProducerDisconnectIT.java} | 5 +- ...pProducerDisconnectOnBatchCompleteIT.java} | 5 +- .../FtpProducerDoneFileNameIT.java} | 4 +- .../FtpProducerExpressionIT.java} | 4 +- .../FtpProducerFileExistAppendIT.java} | 4 +- ...roducerFileExistAppendNoFileBeforeIT.java} | 4 +- .../FtpProducerFileExistFailIT.java} | 4 +- .../FtpProducerFileExistIgnoreIT.java} | 4 +- .../FtpProducerFileExistOverrideIT.java} | 4 +- ...ducerFileExistOverrideNoFileBeforeIT.java} | 4 +- ...eNotEagerDeleteTargetFileTwoUploadIT.java} | 6 +- ...ProducerFileExistOverrideTwoUploadIT.java} | 4 +- .../FtpProducerFileFastExistFailIT.java} | 4 +- .../FtpProducerFileWithCharsetIT.java} | 6 +- .../FtpProducerFileWithPathIT.java} | 4 +- .../FtpProducerFileWithPathNoStepwiseIT.java} | 4 +- ...ithPathPathSeparatorAutoNoStepwiseIT.java} | 4 +- ...ithPathPathSeparatorUnixNoStepwiseIT.java} | 4 +- ...PathPathSeparatorWindowsNoStepwiseIT.java} | 4 +- .../FtpProducerJailStartingDirectoryIT.java} | 4 +- .../FtpProducerMoveExistingIT.java} | 4 +- .../FtpProducerMultipleSiteCommandIT.java} | 4 +- .../FtpProducerRawPasswordIT.java} | 4 +- .../FtpProducerRawPercentPasswordIT.java} | 4 +- .../FtpProducerRecipientListIT.java} | 4 +- ...oducerRecipientListParallelTimeoutIT.java} | 4 +- .../FtpProducerReplyStringIT.java} | 5 +- .../FtpProducerRootFileExistFailIT.java} | 4 +- .../FtpProducerSendNoopFalseIT.java} | 4 +- .../FtpProducerSiteCommandIT.java} | 4 +- .../FtpProducerTempFileExistIssueIT.java} | 4 +- .../FtpProducerTempPrefixIT.java} | 4 +- .../FtpProducerToDMoveExistingIT.java} | 4 +- .../FtpReconnectAttemptServerStoppedIT.java} | 4 +- .../FtpReconnectAttemptUnknownHostIT.java} | 4 +- .../FtpRecursiveDepth2IT.java} | 4 +- .../FtpRecursiveDepth3IT.java} | 4 +- .../FtpRecursiveDepthIT.java} | 4 +- .../FtpServerTestSupport.java | 3 +- .../FtpShutdownCompleteAllTasksIT.java} | 4 +- ...FtpShutdownCompleteCurrentTaskOnlyIT.java} | 4 +- .../FtpSimpleConsumeAbsoluteIT.java} | 4 +- ...ryParseWithAbsoluteDepthNoStepwiseIT.java} | 4 +- ...pSimpleConsumeStreamingPartialReadIT.java} | 4 +- ...impleConsumeStreamingStepwiseFalseIT.java} | 4 +- .../FtpSimpleConsumeStreamingStepwiseIT.java} | 4 +- ...SimpleConsumeStreamingStepwiseTrueIT.java} | 4 +- ...eConsumeStreamingWithMultipleFilesIT.java} | 4 +- .../FtpStreamingMoveIT.java} | 4 +- ...tpThrowExceptionOnConnectionFailedIT.java} | 4 +- ...rExplicitSSLWithClientAuthTestSupport.java | 2 +- ...plicitSSLWithoutClientAuthTestSupport.java | 2 +- ...rExplicitTLSWithClientAuthTestSupport.java | 2 +- ...plicitTLSWithoutClientAuthTestSupport.java | 2 +- ...rImplicitSSLWithClientAuthTestSupport.java | 2 +- ...plicitSSLWithoutClientAuthTestSupport.java | 2 +- ...rImplicitTLSWithClientAuthTestSupport.java | 2 +- ...plicitTLSWithoutClientAuthTestSupport.java | 2 +- .../FtpsServerTestSupport.java | 4 +- .../PaddyRouteIT.java} | 4 +- .../RecipientListErrorHandlingIssueIT.java} | 4 +- .../RemoteFileProduceOverruleOnlyOnceIT.java} | 4 +- .../SftpConsumerLocalWorkDirectoryIT.java} | 6 +- ...richConsumeWithDisconnectAndDeleteIT.java} | 8 +- .../ToFtpTempFileTargetFileExistIT.java} | 4 +- ...SftpRecursiveNotStepwiseNoBasePathIT.java} | 4 +- .../SftpChangedReadLockIT.java} | 6 +- .../SftpChmodIT.java} | 4 +- .../SftpConsumeTemplateIT.java} | 4 +- .../SftpConsumerAutoCreateIT.java} | 4 +- .../SftpConsumerDisconnectIT.java} | 8 +- .../SftpConsumerProcessStrategyIT.java} | 4 +- .../SftpConsumerWithCharsetIT.java} | 6 +- .../SftpECKeyFileConsumeIT.java} | 4 +- .../SftpFromSedaDeleteFileIT.java} | 4 +- .../SftpKeyConsumeIT.java} | 4 +- .../SftpKeyFileConsumeIT.java} | 4 +- .../SftpKeyPairDSAConsumeIT.java} | 4 +- .../SftpKeyPairRSAConsumeIT.java} | 4 +- .../SftpKeyUriConsumeFromClasspathIT.java} | 4 +- .../SftpKeyUriConsumeIT.java} | 4 +- .../SftpProduceTempFileIT.java} | 4 +- .../SftpProducerFileWithPathIT.java} | 4 +- ...SftpProducerFileWithPathNoStepwiseIT.java} | 4 +- .../SftpProducerMoveExistingIT.java} | 4 +- .../SftpProducerWithCharsetIT.java} | 6 +- .../SftpServerTestSupport.java | 2 +- .../SftpSetCipherIT.java} | 4 +- .../SftpSetOperationsIT.java} | 4 +- .../SftpSimpleConsumeIT.java} | 4 +- .../SftpSimpleConsumeNoStartingDirIT.java} | 4 +- .../SftpSimpleConsumeNotStepwiseIT.java} | 4 +- .../SftpSimpleConsumeRecursiveIT.java} | 4 +- ...pSimpleConsumeRecursiveNotStepwiseIT.java} | 4 +- .../SftpSimpleConsumeStreamingIT.java} | 4 +- ...pSimpleConsumeStreamingPartialReadIT.java} | 4 +- ...eConsumeStreamingWithMultipleFilesIT.java} | 4 +- .../SftpSimpleConsumeThroughProxyIT.java} | 4 +- .../SftpSimpleIPV6ConsumeIT.java} | 4 +- .../SftpSimpleProduceDisconnectIT.java} | 4 +- .../SftpSimpleProduceIT.java} | 4 +- .../SftpSimpleProduceNotStepwiseIT.java} | 4 +- .../SftpSimpleProduceThroughProxyIT.java} | 4 +- .../SftpUseListFalseIT.java} | 4 +- 295 files changed, 740 insertions(+), 701 deletions(-) delete mode 100644 components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpClientSoTimeout3Test.java rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{ConsumerTemplateFtpShutdownTest.java => integration/ConsumerTemplateFtpShutdownIT.java} (91%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FileToFtpTempFileNameTest.java => integration/FileToFtpTempFileNameIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FileToFtpsExplicitSSLWithClientAuthAndSSLContextParametersTest.java => integration/FileToFtpsExplicitSSLWithClientAuthAndSSLContextParametersIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FileToFtpsExplicitSSLWithClientAuthTest.java => integration/FileToFtpsExplicitSSLWithClientAuthIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FileToFtpsExplicitSSLWithoutClientAuthAndGlobalSSLContextParametersTest.java => integration/FileToFtpsExplicitSSLWithoutClientAuthAndGlobalSSLContextParametersIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FileToFtpsExplicitSSLWithoutClientAuthAndSSLContextParametersTest.java => integration/FileToFtpsExplicitSSLWithoutClientAuthAndSSLContextParametersIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FileToFtpsExplicitSSLWithoutClientAuthTest.java => integration/FileToFtpsExplicitSSLWithoutClientAuthIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FileToFtpsExplicitTLSWithClientAuthAndSSLContextParametersTest.java => integration/FileToFtpsExplicitTLSWithClientAuthAndSSLContextParametersIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FileToFtpsExplicitTLSWithClientAuthTest.java => integration/FileToFtpsExplicitTLSWithClientAuthIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FileToFtpsExplicitTLSWithoutClientAuthAndSSLContextParametersTest.java => integration/FileToFtpsExplicitTLSWithoutClientAuthAndSSLContextParametersIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FileToFtpsExplicitTLSWithoutClientAuthTest.java => integration/FileToFtpsExplicitTLSWithoutClientAuthIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FileToFtpsImplicitSSLWithClientAuthAndSSLContextParametersTest.java => integration/FileToFtpsImplicitSSLWithClientAuthAndSSLContextParametersIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FileToFtpsImplicitSSLWithClientAuthTest.java => integration/FileToFtpsImplicitSSLWithClientAuthIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FileToFtpsImplicitSSLWithoutClientAuthAndSSLContextParametersTest.java => integration/FileToFtpsImplicitSSLWithoutClientAuthAndSSLContextParametersIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FileToFtpsImplicitSSLWithoutClientAuthTest.java => integration/FileToFtpsImplicitSSLWithoutClientAuthIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FileToFtpsImplicitTLSWithClientAuthAndSSLContextParametersTest.java => integration/FileToFtpsImplicitTLSWithClientAuthAndSSLContextParametersIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FileToFtpsImplicitTLSWithClientAuthTest.java => integration/FileToFtpsImplicitTLSWithClientAuthIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FileToFtpsImplicitTLSWithoutClientAuthAndSSLContextParametersTest.java => integration/FileToFtpsImplicitTLSWithoutClientAuthAndSSLContextParametersIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FileToFtpsImplicitTLSWithoutClientAuthTest.java => integration/FileToFtpsImplicitTLSWithoutClientAuthIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FileToFtpsWithCustomKeyAndTrustStorePropertiesTest.java => integration/FileToFtpsWithCustomKeyAndTrustStorePropertiesIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FileToFtpsWithCustomTrustStorePropertiesTest.java => integration/FileToFtpsWithCustomTrustStorePropertiesIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FileToFtpsWithDefaultSettingsIPV6Test.java => integration/FileToFtpsWithDefaultSettingsIPV6IT.java} (91%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FileToFtpsWithDefaultSettingsTest.java => integration/FileToFtpsWithDefaultSettingsIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FileToFtpsWithFtpClientConfigRefTest.java => integration/FileToFtpsWithFtpClientConfigRefIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFilePasswordBeanRefTest.java => integration/FromFilePasswordBeanRefIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFilePasswordPropertyRefTest.java => integration/FromFilePasswordPropertyRefIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFilePercentSignInPasswordTest.java => integration/FromFilePercentSignInPasswordIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFilePercentSignInPasswordUserInfoEncodedTest.java => integration/FromFilePercentSignInPasswordUserInfoEncodedIT.java} (85%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFilePercentSignInPasswordUserInfoTest.java => integration/FromFilePercentSignInPasswordUserInfoIT.java} (87%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFileToFtpDefaultRootRenameStrategyTest.java => integration/FromFileToFtpDefaultRootRenameStrategyIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFileToFtpDeleteTest.java => integration/FromFileToFtpDeleteIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFileToFtpTest.java => integration/FromFileToFtpIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFileToFtpNotStepwiseTest.java => integration/FromFileToFtpNotStepwiseIT.java} (88%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFileToFtpWithChmodTest.java => integration/FromFileToFtpWithChmodIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFileTransferLoggingLevelTest.java => integration/FromFileTransferLoggingLevelIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFileTransferLoggingLevelVerboseTest.java => integration/FromFileTransferLoggingLevelVerboseIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpActivePortRangeTest.java => integration/FromFtpActivePortRangeIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpAsyncProcessTest.java => integration/FromFtpAsyncProcessIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpClientConfigRefTest.java => integration/FromFtpClientConfigRefIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpClientDataTimeoutTest.java => integration/FromFtpClientDataTimeoutIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpClientSoTimeout2Test.java => integration/FromFtpClientSoTimeout2IT.java} (94%) create mode 100644 components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpClientSoTimeoutIT.java rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpConsumerTemplateTest.java => integration/FromFtpConsumerTemplateIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpConsumerTemplateRollbackTest.java => integration/FromFtpConsumerTemplateRollbackIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpDeleteFileTest.java => integration/FromFtpDeleteFileIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpDeleteFileNotStepwiseTest.java => integration/FromFtpDeleteFileNotStepwiseIT.java} (88%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpDeleteFileScottTigerTest.java => integration/FromFtpDeleteFileScottTigerIT.java} (88%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpDirectoryToBinaryFilesTest.java => integration/FromFtpDirectoryToBinaryFilesIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpDirectoryToBinaryFilesNotStepwiseTest.java => integration/FromFtpDirectoryToBinaryFilesNotStepwiseIT.java} (88%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpDoNotDeleteFileIfProcessFailsTest.java => integration/FromFtpDoNotDeleteFileIfProcessFailsIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpExclusiveReadNoneStrategyTest.java => integration/FromFtpExclusiveReadNoneStrategyIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpFilterTest.java => integration/FromFtpFilterIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpFilterNotStepwiseTest.java => integration/FromFtpFilterNotStepwiseIT.java} (89%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpKeepLastModifiedTest.java => integration/FromFtpKeepLastModifiedIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpKeepLastModifiedNotStepwiseTest.java => integration/FromFtpKeepLastModifiedNotStepwiseIT.java} (87%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpMoveFileAbsoluteFolderRecursiveTest.java => integration/FromFtpMoveFileAbsoluteFolderRecursiveIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpMoveFileAbsoluteFolderRecursiveNotStepwiseTest.java => integration/FromFtpMoveFileAbsoluteFolderRecursiveNotStepwiseIT.java} (86%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpMoveFileTest.java => integration/FromFtpMoveFileIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpMoveFileNotStepwiseTest.java => integration/FromFtpMoveFileNotStepwiseIT.java} (89%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpMoveFilePostfixTest.java => integration/FromFtpMoveFilePostfixIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpMoveFilePostfixNotStepwiseTest.java => integration/FromFtpMoveFilePostfixNotStepwiseIT.java} (88%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpMoveFilePrefixTest.java => integration/FromFtpMoveFilePrefixIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpMoveFilePrefixNotStepwiseTest.java => integration/FromFtpMoveFilePrefixNotStepwiseIT.java} (88%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpMoveFileRecursiveTest.java => integration/FromFtpMoveFileRecursiveIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpMoveFileRecursiveNotStepwiseTest.java => integration/FromFtpMoveFileRecursiveNotStepwiseIT.java} (88%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpMoveFileToHiddenFolderRecursiveTest.java => integration/FromFtpMoveFileToHiddenFolderRecursiveIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpMoveFileToHiddenFolderRecursiveNotStepwiseTest.java => integration/FromFtpMoveFileToHiddenFolderRecursiveNotStepwiseIT.java} (86%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpNoEndpointPathRelativeMoveToAbsoluteTest.java => integration/FromFtpNoEndpointPathRelativeMoveToAbsoluteIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpNoEndpointPathRelativeMoveToAbsoluteNotStepwiseTest.java => integration/FromFtpNoEndpointPathRelativeMoveToAbsoluteNotStepwiseIT.java} (89%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpNoFilesTest.java => integration/FromFtpNoFilesIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpNoopAccountTest.java => integration/FromFtpNoopAccountIT.java} (89%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpNoopTest.java => integration/FromFtpNoopIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpNoopIdempotentFalseTest.java => integration/FromFtpNoopIdempotentFalseIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpNotDownloadTest.java => integration/FromFtpNotDownloadIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpPassiveModeTest.java => integration/FromFtpPassiveModeIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpPollFileOnlyTest.java => integration/FromFtpPollFileOnlyIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpPreMoveDeleteTest.java => integration/FromFtpPreMoveDeleteIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpPreMoveDeleteNotStepwiseTest.java => integration/FromFtpPreMoveDeleteNotStepwiseIT.java} (88%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpPreMoveFileExpressionTest.java => integration/FromFtpPreMoveFileExpressionIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpPreMoveFilePostfixTest.java => integration/FromFtpPreMoveFilePostfixIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpPreMoveFilePostfixNotStepwiseTest.java => integration/FromFtpPreMoveFilePostfixNotStepwiseIT.java} (87%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpPreMoveFilePrefixTest.java => integration/FromFtpPreMoveFilePrefixIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpPreMoveFilePrefixNotStepwiseTest.java => integration/FromFtpPreMoveFilePrefixNotStepwiseIT.java} (88%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpPreMoveNoopTest.java => integration/FromFtpPreMoveNoopIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpPreMoveNoopNotStepwiseTest.java => integration/FromFtpPreMoveNoopNotStepwiseIT.java} (88%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpRecursiveNoopTest.java => integration/FromFtpRecursiveNoopIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpRecursiveNoopNotStepwiseTest.java => integration/FromFtpRecursiveNoopNotStepwiseIT.java} (88%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpRecursiveNotStepwiseNoBasePathTest.java => integration/FromFtpRecursiveNotStepwiseNoBasePathIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpRegexPatternTest.java => integration/FromFtpRegexPatternIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpRemoteFileFilterDirectoryTest.java => integration/FromFtpRemoteFileFilterDirectoryIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpRemoteFileFilterTest.java => integration/FromFtpRemoteFileFilterIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpRemoteFileSortByExpressionTest.java => integration/FromFtpRemoteFileSortByExpressionIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpRemoteFileSortByIgnoreCaseExpressionTest.java => integration/FromFtpRemoteFileSortByIgnoreCaseExpressionIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpRemoteFileSortByNestedExpressionTest.java => integration/FromFtpRemoteFileSortByNestedExpressionIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpRemoteFileSorterTest.java => integration/FromFtpRemoteFileSorterIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpSedaDeleteFileTest.java => integration/FromFtpSedaDeleteFileIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpServerLanguageCodeAndTimeoutTest.java => integration/FromFtpServerLanguageCodeAndTimeoutIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpServerLanguageCodeTest.java => integration/FromFtpServerLanguageCodeIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpSetNamesWithMultiDirectoriesTest.java => integration/FromFtpSetNamesWithMultiDirectoriesIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpSimpleNoEndpointPathRelativeMoveToAbsoluteTest.java => integration/FromFtpSimpleNoEndpointPathRelativeMoveToAbsoluteIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpSimpleNoEndpointPathRelativeMoveToAbsoluteNotStepwiseTest.java => integration/FromFtpSimpleNoEndpointPathRelativeMoveToAbsoluteNotStepwiseIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpSimpleNoEndpointPathRelativeMoveToRelativeTest.java => integration/FromFtpSimpleNoEndpointPathRelativeMoveToRelativeIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpSimpleNoEndpointPathRelativeMoveToRelativeNotStepwiseTest.java => integration/FromFtpSimpleNoEndpointPathRelativeMoveToRelativeNotStepwiseIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpSimpleRelativeMoveToAbsoluteTest.java => integration/FromFtpSimpleRelativeMoveToAbsoluteIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpSimpleRelativeMoveToAbsoluteNotStepwiseTest.java => integration/FromFtpSimpleRelativeMoveToAbsoluteNotStepwiseIT.java} (86%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpSimpleRelativeMoveToRelativeTest.java => integration/FromFtpSimpleRelativeMoveToRelativeIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpSimpleRelativeMoveToRelativeNotStepwiseTest.java => integration/FromFtpSimpleRelativeMoveToRelativeNotStepwiseIT.java} (86%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpSimulateNetworkIssueRecoverTest.java => integration/FromFtpSimulateNetworkIssueRecoverIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpStartingDirAndFileNameClashTest.java => integration/FromFtpStartingDirAndFileNameClashIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpThirdPoolOkTest.java => integration/FromFtpThirdPoolOkIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpToAsciiFileTest.java => integration/FromFtpToAsciiFileIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpToAsciiFileNoBodyConversionTest.java => integration/FromFtpToAsciiFileNoBodyConversionIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpToBinaryFileTest.java => integration/FromFtpToBinaryFileIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpToBinaryFilesTest.java => integration/FromFtpToBinaryFilesIT.java} (97%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpToFileNoFileNameHeaderTest.java => integration/FromFtpToFileNoFileNameHeaderIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpToMockTest.java => integration/FromFtpToMockIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpTwoSlashesIssueTest.java => integration/FromFtpTwoSlashesIssueIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromFtpUseListFalseTest.java => integration/FromFtpUseListFalseIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FromQueueThenConsumeFtpToMockTest.java => integration/FromQueueThenConsumeFtpToMockIT.java} (97%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpAnonymousTest.java => integration/FtpAnonymousIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpBadLoginConnectionLeakTest.java => integration/FtpBadLoginConnectionLeakIT.java} (97%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpBadLoginInProducerConnectionLeakTest.java => integration/FtpBadLoginInProducerConnectionLeakIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpBadLoginMockNoopConnectionLeakTest.java => integration/FtpBadLoginMockNoopConnectionLeakIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpBrowsableEndpointTest.java => integration/FtpBrowsableEndpointIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpChangedReadLockFastExistCheckTest.java => integration/FtpChangedReadLockFastExistCheckIT.java} (88%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpChangedReadLockTest.java => integration/FtpChangedReadLockIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpChangedReadLockLoggingLevelTest.java => integration/FtpChangedReadLockLoggingLevelIT.java} (87%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpChangedReadLockTimeoutTest.java => integration/FtpChangedReadLockTimeoutIT.java} (88%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpChangedRootDirReadLockFastExistCheckTest.java => integration/FtpChangedRootDirReadLockFastExistCheckIT.java} (87%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpChangedRootDirReadLockTest.java => integration/FtpChangedRootDirReadLockIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpChangedZeroLengthReadLockTest.java => integration/FtpChangedZeroLengthReadLockIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConnectTimeoutTest.java => integration/FtpConnectTimeoutIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerAbsolutePathTest.java => integration/FtpConsumerAbsolutePathIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerAsyncStressTest.java => integration/FtpConsumerAsyncStressIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerAutoCreateTest.java => integration/FtpConsumerAutoCreateIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerBodyAsStringTest.java => integration/FtpConsumerBodyAsStringIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerDeleteNoWritePermissionTest.java => integration/FtpConsumerDeleteNoWritePermissionIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerDirectoriesNotMatchedTest.java => integration/FtpConsumerDirectoriesNotMatchedIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerDisconnectTest.java => integration/FtpConsumerDisconnectIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerDoneFileNameFixedTest.java => integration/FtpConsumerDoneFileNameFixedIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerDoneFileNameFixedStepwiseTest.java => integration/FtpConsumerDoneFileNameFixedStepwiseIT.java} (86%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerDoneFileNameTest.java => integration/FtpConsumerDoneFileNameIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerDoneFileNameStepwiseTest.java => integration/FtpConsumerDoneFileNameStepwiseIT.java} (87%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerDualDoneFileNameTest.java => integration/FtpConsumerDualDoneFileNameIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerExcludeExtTest.java => integration/FtpConsumerExcludeExtIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerExcludeNameTest.java => integration/FtpConsumerExcludeNameIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerFileSplitTest.java => integration/FtpConsumerFileSplitIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerIPV6BodyAsStringTest.java => integration/FtpConsumerIPV6BodyAsStringIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerIdempotentTest.java => integration/FtpConsumerIdempotentIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerIdempotentKeyChangedIssueTest.java => integration/FtpConsumerIdempotentKeyChangedIssueIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerIdempotentMemoryRefTest.java => integration/FtpConsumerIdempotentMemoryRefIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerIdempotentRefTest.java => integration/FtpConsumerIdempotentRefIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerIncludeExtTest.java => integration/FtpConsumerIncludeExtIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerIncludeNameTest.java => integration/FtpConsumerIncludeNameIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerLocalWorkDirectoryAsAbsolutePathTest.java => integration/FtpConsumerLocalWorkDirectoryAsAbsolutePathIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerLocalWorkDirectoryDirectTest.java => integration/FtpConsumerLocalWorkDirectoryDirectIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerLocalWorkDirectoryTest.java => integration/FtpConsumerLocalWorkDirectoryIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerLocalWorkDirectoryWorkOnPayloadTest.java => integration/FtpConsumerLocalWorkDirectoryWorkOnPayloadIT.java} (90%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerMaxMessagesPerPollTest.java => integration/FtpConsumerMaxMessagesPerPollIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerMoveExpressionTest.java => integration/FtpConsumerMoveExpressionIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerMultipleDirectoriesTest.java => integration/FtpConsumerMultipleDirectoriesIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerNotEagerMaxMessagesPerPollTest.java => integration/FtpConsumerNotEagerMaxMessagesPerPollIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerPostProcessingOnDisconnect.java => integration/FtpConsumerPostProcessingOnDisconnectIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerProcessStrategyTest.java => integration/FtpConsumerProcessStrategyIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerRelativeFileNameTest.java => integration/FtpConsumerRelativeFileNameIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerReplyStringTest.java => integration/FtpConsumerReplyStringIT.java} (90%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerResumeDownloadTest.java => integration/FtpConsumerResumeDownloadIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerSkipDotFilesTest.java => integration/FtpConsumerSkipDotFilesIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerTemplateTest.java => integration/FtpConsumerTemplateIT.java} (97%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerTemplateUseListFalseTest.java => integration/FtpConsumerTemplateUseListFalseIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerThrowExceptionOnLoginFailedTest.java => integration/FtpConsumerThrowExceptionOnLoginFailedIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerUsingFTPClientConfigTest.java => integration/FtpConsumerUsingFTPClientConfigIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerWithCharsetTest.java => integration/FtpConsumerWithCharsetIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpConsumerWithNoFileOptionTest.java => integration/FtpConsumerWithNoFileOptionIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpEndpointURISanitizedTest.java => integration/FtpEndpointURISanitizedIT.java} (85%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpLoginTest.java => integration/FtpLoginIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpLoginNoRetryTest.java => integration/FtpLoginNoRetryIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpNoReconnectAttemptUnknownHostTest.java => integration/FtpNoReconnectAttemptUnknownHostIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpPollEnrichBridgeErrorHandlerTest.java => integration/FtpPollEnrichBridgeErrorHandlerIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpPollEnrichConsumeWithDisconnectAndDeleteTest.java => integration/FtpPollEnrichConsumeWithDisconnectAndDeleteIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpPollingConsumerTest.java => integration/FtpPollingConsumerIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpPollingConsumerIdleMessageTest.java => integration/FtpPollingConsumerIdleMessageIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerAllowNullBodyFileAlreadyExistTest.java => integration/FtpProducerAllowNullBodyFileAlreadyExistIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerAllowNullBodyTest.java => integration/FtpProducerAllowNullBodyIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerBuildDirectoryTest.java => integration/FtpProducerBuildDirectoryIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerBuildPartOfDirectoryTest.java => integration/FtpProducerBuildPartOfDirectoryIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerConcurrentTest.java => integration/FtpProducerConcurrentIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerConnectErrorsHeaderTest.java => integration/FtpProducerConnectErrorsHeaderIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerDisconnectTest.java => integration/FtpProducerDisconnectIT.java} (91%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerDisconnectOnBatchCompleteTest.java => integration/FtpProducerDisconnectOnBatchCompleteIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerDoneFileNameTest.java => integration/FtpProducerDoneFileNameIT.java} (97%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerExpressionTest.java => integration/FtpProducerExpressionIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerFileExistAppendTest.java => integration/FtpProducerFileExistAppendIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerFileExistAppendNoFileBeforeTest.java => integration/FtpProducerFileExistAppendNoFileBeforeIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerFileExistFailTest.java => integration/FtpProducerFileExistFailIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerFileExistIgnoreTest.java => integration/FtpProducerFileExistIgnoreIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerFileExistOverrideTest.java => integration/FtpProducerFileExistOverrideIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerFileExistOverrideNoFileBeforeTest.java => integration/FtpProducerFileExistOverrideNoFileBeforeIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerFileExistOverrideNotEagerDeleteTargetFileTwoUploadTest.java => integration/FtpProducerFileExistOverrideNotEagerDeleteTargetFileTwoUploadIT.java} (89%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerFileExistOverrideTwoUploadTest.java => integration/FtpProducerFileExistOverrideTwoUploadIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerFileFastExistFailTest.java => integration/FtpProducerFileFastExistFailIT.java} (87%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerFileWithCharsetTest.java => integration/FtpProducerFileWithCharsetIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerFileWithPathTest.java => integration/FtpProducerFileWithPathIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerFileWithPathNoStepwiseTest.java => integration/FtpProducerFileWithPathNoStepwiseIT.java} (91%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerFileWithPathPathSeparatorAutoNoStepwiseTest.java => integration/FtpProducerFileWithPathPathSeparatorAutoNoStepwiseIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerFileWithPathPathSeparatorUnixNoStepwiseTest.java => integration/FtpProducerFileWithPathPathSeparatorUnixNoStepwiseIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerFileWithPathPathSeparatorWindowsNoStepwiseTest.java => integration/FtpProducerFileWithPathPathSeparatorWindowsNoStepwiseIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerJailStartingDirectoryTest.java => integration/FtpProducerJailStartingDirectoryIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerMoveExistingTest.java => integration/FtpProducerMoveExistingIT.java} (98%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerMultipleSiteCommandTest.java => integration/FtpProducerMultipleSiteCommandIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerRawPasswordTest.java => integration/FtpProducerRawPasswordIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerRawPercentPasswordTest.java => integration/FtpProducerRawPercentPasswordIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerRecipientListTest.java => integration/FtpProducerRecipientListIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerRecipientListParallelTimeoutTest.java => integration/FtpProducerRecipientListParallelTimeoutIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerReplyStringTest.java => integration/FtpProducerReplyStringIT.java} (90%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerRootFileExistFailTest.java => integration/FtpProducerRootFileExistFailIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerSendNoopFalseTest.java => integration/FtpProducerSendNoopFalseIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerSiteCommandTest.java => integration/FtpProducerSiteCommandIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerTempFileExistIssueTest.java => integration/FtpProducerTempFileExistIssueIT.java} (97%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerTempPrefixTest.java => integration/FtpProducerTempPrefixIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpProducerToDMoveExistingTest.java => integration/FtpProducerToDMoveExistingIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpReconnectAttemptServerStoppedTest.java => integration/FtpReconnectAttemptServerStoppedIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpReconnectAttemptUnknownHostTest.java => integration/FtpReconnectAttemptUnknownHostIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpRecursiveDepth2Test.java => integration/FtpRecursiveDepth2IT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpRecursiveDepth3Test.java => integration/FtpRecursiveDepth3IT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpRecursiveDepthTest.java => integration/FtpRecursiveDepthIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{ => integration}/FtpServerTestSupport.java (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpShutdownCompleteAllTasksTest.java => integration/FtpShutdownCompleteAllTasksIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpShutdownCompleteCurrentTaskOnlyTest.java => integration/FtpShutdownCompleteCurrentTaskOnlyIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpSimpleConsumeAbsoluteTest.java => integration/FtpSimpleConsumeAbsoluteIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpSimpleConsumeDirectoryParseWithAbsoluteDepthNoStepwiseTest.java => integration/FtpSimpleConsumeDirectoryParseWithAbsoluteDepthNoStepwiseIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpSimpleConsumeStreamingPartialReadTest.java => integration/FtpSimpleConsumeStreamingPartialReadIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpSimpleConsumeStreamingStepwiseFalseTest.java => integration/FtpSimpleConsumeStreamingStepwiseFalseIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpSimpleConsumeStreamingStepwiseTest.java => integration/FtpSimpleConsumeStreamingStepwiseIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpSimpleConsumeStreamingStepwiseTrueTest.java => integration/FtpSimpleConsumeStreamingStepwiseTrueIT.java} (87%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpSimpleConsumeStreamingWithMultipleFilesTest.java => integration/FtpSimpleConsumeStreamingWithMultipleFilesIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpStreamingMoveTest.java => integration/FtpStreamingMoveIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{FtpThrowExceptionOnConnectionFailedTest.java => integration/FtpThrowExceptionOnConnectionFailedIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{ => integration}/FtpsServerExplicitSSLWithClientAuthTestSupport.java (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{ => integration}/FtpsServerExplicitSSLWithoutClientAuthTestSupport.java (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{ => integration}/FtpsServerExplicitTLSWithClientAuthTestSupport.java (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{ => integration}/FtpsServerExplicitTLSWithoutClientAuthTestSupport.java (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{ => integration}/FtpsServerImplicitSSLWithClientAuthTestSupport.java (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{ => integration}/FtpsServerImplicitSSLWithoutClientAuthTestSupport.java (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{ => integration}/FtpsServerImplicitTLSWithClientAuthTestSupport.java (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{ => integration}/FtpsServerImplicitTLSWithoutClientAuthTestSupport.java (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{ => integration}/FtpsServerTestSupport.java (89%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{PaddyRouteTest.java => integration/PaddyRouteIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{RecipientListErrorHandlingIssueTest.java => integration/RecipientListErrorHandlingIssueIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{RemoteFileProduceOverruleOnlyOnceTest.java => integration/RemoteFileProduceOverruleOnlyOnceIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{SftpConsumerLocalWorkDirectoryTest.java => integration/SftpConsumerLocalWorkDirectoryIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{SftpPollEnrichConsumeWithDisconnectAndDeleteTest.java => integration/SftpPollEnrichConsumeWithDisconnectAndDeleteIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/{ToFtpTempFileTargetFileExistTest.java => integration/ToFtpTempFileTargetFileExistIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{FromSftpRecursiveNotStepwiseNoBasePathTest.java => integration/FromSftpRecursiveNotStepwiseNoBasePathIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpChangedReadLockTest.java => integration/SftpChangedReadLockIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpChmodTest.java => integration/SftpChmodIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpConsumeTemplateTest.java => integration/SftpConsumeTemplateIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpConsumerAutoCreateTest.java => integration/SftpConsumerAutoCreateIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpConsumerDisconnectTest.java => integration/SftpConsumerDisconnectIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpConsumerProcessStrategyTest.java => integration/SftpConsumerProcessStrategyIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpConsumerWithCharsetTest.java => integration/SftpConsumerWithCharsetIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpECKeyFileConsumeTest.java => integration/SftpECKeyFileConsumeIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpFromSedaDeleteFileTest.java => integration/SftpFromSedaDeleteFileIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpKeyConsumeTest.java => integration/SftpKeyConsumeIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpKeyFileConsumeTest.java => integration/SftpKeyFileConsumeIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpKeyPairDSAConsumeTest.java => integration/SftpKeyPairDSAConsumeIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpKeyPairRSAConsumeTest.java => integration/SftpKeyPairRSAConsumeIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpKeyUriConsumeFromClasspathTest.java => integration/SftpKeyUriConsumeFromClasspathIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpKeyUriConsumeTest.java => integration/SftpKeyUriConsumeIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpProduceTempFileTest.java => integration/SftpProduceTempFileIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpProducerFileWithPathTest.java => integration/SftpProducerFileWithPathIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpProducerFileWithPathNoStepwiseTest.java => integration/SftpProducerFileWithPathNoStepwiseIT.java} (92%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpProducerMoveExistingTest.java => integration/SftpProducerMoveExistingIT.java} (98%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpProducerWithCharsetTest.java => integration/SftpProducerWithCharsetIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{ => integration}/SftpServerTestSupport.java (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpSetCipherTest.java => integration/SftpSetCipherIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpSetOperationsTest.java => integration/SftpSetOperationsIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpSimpleConsumeTest.java => integration/SftpSimpleConsumeIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpSimpleConsumeNoStartingDirTest.java => integration/SftpSimpleConsumeNoStartingDirIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpSimpleConsumeNotStepwiseTest.java => integration/SftpSimpleConsumeNotStepwiseIT.java} (91%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpSimpleConsumeRecursiveTest.java => integration/SftpSimpleConsumeRecursiveIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpSimpleConsumeRecursiveNotStepwiseTest.java => integration/SftpSimpleConsumeRecursiveNotStepwiseIT.java} (89%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpSimpleConsumeStreamingTest.java => integration/SftpSimpleConsumeStreamingIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpSimpleConsumeStreamingPartialReadTest.java => integration/SftpSimpleConsumeStreamingPartialReadIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpSimpleConsumeStreamingWithMultipleFilesTest.java => integration/SftpSimpleConsumeStreamingWithMultipleFilesIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpSimpleConsumeThroughProxyTest.java => integration/SftpSimpleConsumeThroughProxyIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpSimpleIPV6ConsumeTest.java => integration/SftpSimpleIPV6ConsumeIT.java} (94%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpSimpleProduceDisconnectTest.java => integration/SftpSimpleProduceDisconnectIT.java} (93%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpSimpleProduceTest.java => integration/SftpSimpleProduceIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpSimpleProduceNotStepwiseTest.java => integration/SftpSimpleProduceNotStepwiseIT.java} (95%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpSimpleProduceThroughProxyTest.java => integration/SftpSimpleProduceThroughProxyIT.java} (96%) rename components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/{SftpUseListFalseTest.java => integration/SftpUseListFalseIT.java} (94%) diff --git a/components/camel-ftp/pom.xml b/components/camel-ftp/pom.xml index 84a078b27ee1a..36be1d9504094 100644 --- a/components/camel-ftp/pom.xml +++ b/components/camel-ftp/pom.xml @@ -39,6 +39,11 @@ 4 1800 false + + + ${camel.surefire.forkCount} + ${camel.surefire.forkTimeout} + ${camel.surefire.parallel} @@ -196,4 +201,19 @@ + + + + org.apache.maven.plugins + maven-failsafe-plugin + + + ${camel.failsafe.forkCount} + ${camel.failsafe.parallel} + ${camel.failsafe.forkTimeout} + + + + + diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpClientSoTimeout3Test.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpClientSoTimeout3Test.java deleted file mode 100644 index 4131afc41e91f..0000000000000 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpClientSoTimeout3Test.java +++ /dev/null @@ -1,74 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.camel.component.file.remote; - -import java.util.HashMap; -import java.util.Map; - -import org.apache.camel.builder.RouteBuilder; -import org.apache.camel.test.AvailablePortFinder; -import org.apache.camel.test.junit5.CamelTestSupport; -import org.apache.commons.net.ftp.FTPFile; -import org.junit.jupiter.api.Test; - -import static org.junit.jupiter.api.Assertions.assertEquals; - -/** - * Test re-creating operations - * - * @see {org.apache.camel.component.file.remote.RemoteFileConsumer#recoverableConnectIfNecessary} - */ -public class FromFtpClientSoTimeout3Test extends CamelTestSupport { - - int port = AvailablePortFinder.getNextAvailable(); - - private String getFtpUrl() { - return "ftp://admin@localhost:" + port + "/timeout/?soTimeout=5000"; - } - - @Test - public void test() throws Exception { - @SuppressWarnings("unchecked") - FtpEndpoint ftpEndpoint = context.getEndpoint(getFtpUrl(), FtpEndpoint.class); - - // set "ftp://admin@localhost:21/timeout/?ftpClient.soTimeout=10" - Map ftpClientParameters = new HashMap<>(); - ftpClientParameters.put("soTimeout", "10"); - ftpEndpoint.setFtpClientParameters(ftpClientParameters); - - // test RemoteFileConsumer#buildConsumer - assertEquals("10", ftpClientParameters.get("soTimeout")); - ftpEndpoint.createRemoteFileOperations(); - - // test RemoteFileConsumer#recoverableConnectIfNecessary - // recover by re-creating operations which should most likely be able to - // recover - assertEquals("10", ftpClientParameters.get("soTimeout")); - ftpEndpoint.createRemoteFileOperations(); - } - - @Override - protected RouteBuilder createRouteBuilder() throws Exception { - return new RouteBuilder() { - - @Override - public void configure() throws Exception { - from(getFtpUrl()).to("mock:result"); - } - }; - } -} diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpClientSoTimeoutTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpClientSoTimeoutTest.java index 9112faa06499a..ac9e0fc751ff7 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpClientSoTimeoutTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpClientSoTimeoutTest.java @@ -16,50 +16,56 @@ */ package org.apache.camel.component.file.remote; -import org.apache.camel.Endpoint; -import org.apache.camel.Exchange; -import org.apache.camel.Producer; +import java.util.HashMap; +import java.util.Map; + import org.apache.camel.builder.RouteBuilder; -import org.apache.camel.component.mock.MockEndpoint; -import org.junit.jupiter.api.BeforeEach; +import org.apache.camel.test.AvailablePortFinder; +import org.apache.camel.test.junit5.CamelTestSupport; +import org.apache.commons.net.ftp.FTPFile; import org.junit.jupiter.api.Test; -public class FromFtpClientSoTimeoutTest extends FtpServerTestSupport { +import static org.junit.jupiter.api.Assertions.assertEquals; - private String getFtpUrl() { - return "ftp://admin@localhost:{{ftp.server.port}}/timeout/?password=admin&ftpClient.soTimeout=5000"; - } +/** + * Test re-creating operations + * + * @see {org.apache.camel.component.file.remote.RemoteFileConsumer#recoverableConnectIfNecessary} + */ +public class FromFtpClientSoTimeoutTest extends CamelTestSupport { - @Override - @BeforeEach - public void setUp() throws Exception { - super.setUp(); - prepareFtpServer(); + int port = AvailablePortFinder.getNextAvailable(); + + private String getFtpUrl() { + return "ftp://admin@localhost:" + port + "/timeout/?soTimeout=5000"; } @Test - public void testTimeout() throws Exception { - MockEndpoint mock = getMockEndpoint("mock:result"); - mock.expectedBodiesReceived("Hello World"); + public void test() throws Exception { + @SuppressWarnings("unchecked") + FtpEndpoint ftpEndpoint = context.getEndpoint(getFtpUrl(), FtpEndpoint.class); - mock.assertIsSatisfied(); - } + // set "ftp://admin@localhost:21/timeout/?ftpClient.soTimeout=10" + Map ftpClientParameters = new HashMap<>(); + ftpClientParameters.put("soTimeout", "10"); + ftpEndpoint.setFtpClientParameters(ftpClientParameters); - private void prepareFtpServer() throws Exception { - // prepares the FTP Server by creating a file on the server - Endpoint endpoint = context.getEndpoint(getFtpUrl()); - Exchange exchange = endpoint.createExchange(); - exchange.getIn().setBody("Hello World"); - exchange.getIn().setHeader(Exchange.FILE_NAME, "hello.txt"); - Producer producer = endpoint.createProducer(); - producer.start(); - producer.process(exchange); - producer.stop(); + // test RemoteFileConsumer#buildConsumer + assertEquals("10", ftpClientParameters.get("soTimeout")); + ftpEndpoint.createRemoteFileOperations(); + + // test RemoteFileConsumer#recoverableConnectIfNecessary + // recover by re-creating operations which should most likely be able to + // recover + assertEquals("10", ftpClientParameters.get("soTimeout")); + ftpEndpoint.createRemoteFileOperations(); } @Override protected RouteBuilder createRouteBuilder() throws Exception { return new RouteBuilder() { + + @Override public void configure() throws Exception { from(getFtpUrl()).to("mock:result"); } diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/ConsumerTemplateFtpShutdownTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/ConsumerTemplateFtpShutdownIT.java similarity index 91% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/ConsumerTemplateFtpShutdownTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/ConsumerTemplateFtpShutdownIT.java index c55afef80cec8..d84de07aa9980 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/ConsumerTemplateFtpShutdownTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/ConsumerTemplateFtpShutdownIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.junit.jupiter.api.Test; @@ -24,7 +24,7 @@ /** * */ -public class ConsumerTemplateFtpShutdownTest extends FtpServerTestSupport { +public class ConsumerTemplateFtpShutdownIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/template?password=admin"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpTempFileNameTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpTempFileNameIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpTempFileNameTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpTempFileNameIT.java index 7557972e712b5..329302c804af1 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpTempFileNameTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpTempFileNameIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -28,7 +28,7 @@ /** * */ -public class FileToFtpTempFileNameTest extends FtpServerTestSupport { +public class FileToFtpTempFileNameIT extends FtpServerTestSupport { @Test public void testFileToFtp() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitSSLWithClientAuthAndSSLContextParametersTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithClientAuthAndSSLContextParametersIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitSSLWithClientAuthAndSSLContextParametersTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithClientAuthAndSSLContextParametersIT.java index 4fd3a43e8188a..848d062e41416 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitSSLWithClientAuthAndSSLContextParametersTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithClientAuthAndSSLContextParametersIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.BindToRegistry; import org.apache.camel.support.jsse.KeyManagersParameters; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.TestInstance; @TestInstance(TestInstance.Lifecycle.PER_CLASS) -public class FileToFtpsExplicitSSLWithClientAuthAndSSLContextParametersTest extends FileToFtpsExplicitSSLWithClientAuthTest { +public class FileToFtpsExplicitSSLWithClientAuthAndSSLContextParametersIT extends FileToFtpsExplicitSSLWithClientAuthIT { @BindToRegistry("sslContextParameters") public SSLContextParameters createSslContextParams() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitSSLWithClientAuthTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithClientAuthIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitSSLWithClientAuthTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithClientAuthIT.java index e58d0b5f9c521..67ca6d9608b72 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitSSLWithClientAuthTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithClientAuthIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; @@ -23,7 +23,7 @@ /** * Test the ftps component over SSL (explicit) with client authentication */ -public class FileToFtpsExplicitSSLWithClientAuthTest extends FtpsServerExplicitSSLWithClientAuthTestSupport { +public class FileToFtpsExplicitSSLWithClientAuthIT extends FtpsServerExplicitSSLWithClientAuthTestSupport { protected String getFtpUrl() { return "ftps://admin@localhost:{{ftp.server.port}}" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitSSLWithoutClientAuthAndGlobalSSLContextParametersTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithoutClientAuthAndGlobalSSLContextParametersIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitSSLWithoutClientAuthAndGlobalSSLContextParametersTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithoutClientAuthAndGlobalSSLContextParametersIT.java index b8224bc24557c..75a5593664169 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitSSLWithoutClientAuthAndGlobalSSLContextParametersTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithoutClientAuthAndGlobalSSLContextParametersIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.CamelContext; import org.apache.camel.SSLContextParametersAware; @@ -22,8 +22,8 @@ import org.apache.camel.support.jsse.SSLContextParameters; import org.apache.camel.support.jsse.TrustManagersParameters; -public class FileToFtpsExplicitSSLWithoutClientAuthAndGlobalSSLContextParametersTest - extends FileToFtpsExplicitSSLWithoutClientAuthTest { +public class FileToFtpsExplicitSSLWithoutClientAuthAndGlobalSSLContextParametersIT + extends FileToFtpsExplicitSSLWithoutClientAuthIT { @Override protected CamelContext createCamelContext() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitSSLWithoutClientAuthAndSSLContextParametersTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithoutClientAuthAndSSLContextParametersIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitSSLWithoutClientAuthAndSSLContextParametersTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithoutClientAuthAndSSLContextParametersIT.java index ea8071a565bef..900f72fcf9707 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitSSLWithoutClientAuthAndSSLContextParametersTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithoutClientAuthAndSSLContextParametersIT.java @@ -14,15 +14,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.BindToRegistry; import org.apache.camel.support.jsse.KeyStoreParameters; import org.apache.camel.support.jsse.SSLContextParameters; import org.apache.camel.support.jsse.TrustManagersParameters; -public class FileToFtpsExplicitSSLWithoutClientAuthAndSSLContextParametersTest - extends FileToFtpsExplicitSSLWithoutClientAuthTest { +public class FileToFtpsExplicitSSLWithoutClientAuthAndSSLContextParametersIT + extends FileToFtpsExplicitSSLWithoutClientAuthIT { @BindToRegistry("sslContextParameters") public SSLContextParameters createSslContextParams() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitSSLWithoutClientAuthTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithoutClientAuthIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitSSLWithoutClientAuthTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithoutClientAuthIT.java index 77940d8acb917..4e15a2d20bba7 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitSSLWithoutClientAuthTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitSSLWithoutClientAuthIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; @@ -25,7 +25,7 @@ * Test the ftps component over SSL (explicit) without client authentication */ @EnabledIf(value = "org.apache.camel.component.file.remote.services.FtpsEmbeddedService#hasRequiredAlgorithms") -public class FileToFtpsExplicitSSLWithoutClientAuthTest extends FtpsServerExplicitSSLWithoutClientAuthTestSupport { +public class FileToFtpsExplicitSSLWithoutClientAuthIT extends FtpsServerExplicitSSLWithoutClientAuthTestSupport { protected String getFtpUrl() { return "ftps://admin@localhost:{{ftp.server.port}}" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitTLSWithClientAuthAndSSLContextParametersTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitTLSWithClientAuthAndSSLContextParametersIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitTLSWithClientAuthAndSSLContextParametersTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitTLSWithClientAuthAndSSLContextParametersIT.java index 515264bc2b73b..7ee9e7807985b 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitTLSWithClientAuthAndSSLContextParametersTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitTLSWithClientAuthAndSSLContextParametersIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.BindToRegistry; import org.apache.camel.support.jsse.KeyManagersParameters; @@ -22,7 +22,7 @@ import org.apache.camel.support.jsse.SSLContextParameters; import org.apache.camel.support.jsse.TrustManagersParameters; -public class FileToFtpsExplicitTLSWithClientAuthAndSSLContextParametersTest extends FileToFtpsExplicitTLSWithClientAuthTest { +public class FileToFtpsExplicitTLSWithClientAuthAndSSLContextParametersIT extends FileToFtpsExplicitTLSWithClientAuthIT { @BindToRegistry("sslContextParameters") public SSLContextParameters createSslContextParams() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitTLSWithClientAuthTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitTLSWithClientAuthIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitTLSWithClientAuthTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitTLSWithClientAuthIT.java index 3b183c3f2dbfc..6739f44c928f1 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitTLSWithClientAuthTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitTLSWithClientAuthIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; @@ -25,7 +25,7 @@ * Test the ftps component over TLS (explicit) with client authentication */ @EnabledIf(value = "org.apache.camel.component.file.remote.services.FtpsEmbeddedService#hasRequiredAlgorithms") -public class FileToFtpsExplicitTLSWithClientAuthTest extends FtpsServerExplicitTLSWithClientAuthTestSupport { +public class FileToFtpsExplicitTLSWithClientAuthIT extends FtpsServerExplicitTLSWithClientAuthTestSupport { protected String getFtpUrl() { return "ftps://admin@localhost:{{ftp.server.port}}" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitTLSWithoutClientAuthAndSSLContextParametersTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitTLSWithoutClientAuthAndSSLContextParametersIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitTLSWithoutClientAuthAndSSLContextParametersTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitTLSWithoutClientAuthAndSSLContextParametersIT.java index 854a8399bfce4..54b5dab54d968 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitTLSWithoutClientAuthAndSSLContextParametersTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitTLSWithoutClientAuthAndSSLContextParametersIT.java @@ -14,15 +14,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.BindToRegistry; import org.apache.camel.support.jsse.KeyStoreParameters; import org.apache.camel.support.jsse.SSLContextParameters; import org.apache.camel.support.jsse.TrustManagersParameters; -public class FileToFtpsExplicitTLSWithoutClientAuthAndSSLContextParametersTest - extends FileToFtpsExplicitTLSWithoutClientAuthTest { +public class FileToFtpsExplicitTLSWithoutClientAuthAndSSLContextParametersIT + extends FileToFtpsExplicitTLSWithoutClientAuthIT { @BindToRegistry("sslContextParameters") public SSLContextParameters createSslContextParams() throws Exception { KeyStoreParameters ksp = new KeyStoreParameters(); diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitTLSWithoutClientAuthTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitTLSWithoutClientAuthIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitTLSWithoutClientAuthTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitTLSWithoutClientAuthIT.java index ca4675f2a1a41..2d38d8117f16d 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsExplicitTLSWithoutClientAuthTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsExplicitTLSWithoutClientAuthIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; @@ -25,7 +25,7 @@ * Test the ftps component over TLS (explicit) without client authentication */ @EnabledIf(value = "org.apache.camel.component.file.remote.services.FtpsEmbeddedService#hasRequiredAlgorithms") -public class FileToFtpsExplicitTLSWithoutClientAuthTest extends FtpsServerExplicitTLSWithoutClientAuthTestSupport { +public class FileToFtpsExplicitTLSWithoutClientAuthIT extends FtpsServerExplicitTLSWithoutClientAuthTestSupport { protected String getFtpUrl() { return "ftps://admin@localhost:{{ftp.server.port}}" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitSSLWithClientAuthAndSSLContextParametersTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitSSLWithClientAuthAndSSLContextParametersIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitSSLWithClientAuthAndSSLContextParametersTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitSSLWithClientAuthAndSSLContextParametersIT.java index 014e72033e970..10ef248a752f1 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitSSLWithClientAuthAndSSLContextParametersTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitSSLWithClientAuthAndSSLContextParametersIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.BindToRegistry; import org.apache.camel.support.jsse.KeyManagersParameters; @@ -22,7 +22,7 @@ import org.apache.camel.support.jsse.SSLContextParameters; import org.apache.camel.support.jsse.TrustManagersParameters; -public class FileToFtpsImplicitSSLWithClientAuthAndSSLContextParametersTest extends FileToFtpsImplicitSSLWithClientAuthTest { +public class FileToFtpsImplicitSSLWithClientAuthAndSSLContextParametersIT extends FileToFtpsImplicitSSLWithClientAuthIT { @BindToRegistry("sslContextParameters") public SSLContextParameters createSslContextParams() throws Exception { KeyStoreParameters ksp = new KeyStoreParameters(); diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitSSLWithClientAuthTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitSSLWithClientAuthIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitSSLWithClientAuthTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitSSLWithClientAuthIT.java index 085d427eb5aca..22b2498510261 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitSSLWithClientAuthTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitSSLWithClientAuthIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; @@ -25,7 +25,7 @@ * Test the ftps component over SSL (implicit) with client authentication */ @EnabledIf(value = "org.apache.camel.component.file.remote.services.FtpsEmbeddedService#hasRequiredAlgorithms") -public class FileToFtpsImplicitSSLWithClientAuthTest extends FtpsServerImplicitSSLWithClientAuthTestSupport { +public class FileToFtpsImplicitSSLWithClientAuthIT extends FtpsServerImplicitSSLWithClientAuthTestSupport { protected String getFtpUrl() { return "ftps://admin@localhost:{{ftp.server.port}}" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitSSLWithoutClientAuthAndSSLContextParametersTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitSSLWithoutClientAuthAndSSLContextParametersIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitSSLWithoutClientAuthAndSSLContextParametersTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitSSLWithoutClientAuthAndSSLContextParametersIT.java index 8f8f66308ac9c..52d6a9cdfb07a 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitSSLWithoutClientAuthAndSSLContextParametersTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitSSLWithoutClientAuthAndSSLContextParametersIT.java @@ -14,15 +14,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.BindToRegistry; import org.apache.camel.support.jsse.KeyStoreParameters; import org.apache.camel.support.jsse.SSLContextParameters; import org.apache.camel.support.jsse.TrustManagersParameters; -public class FileToFtpsImplicitSSLWithoutClientAuthAndSSLContextParametersTest - extends FileToFtpsImplicitSSLWithoutClientAuthTest { +public class FileToFtpsImplicitSSLWithoutClientAuthAndSSLContextParametersIT + extends FileToFtpsImplicitSSLWithoutClientAuthIT { @BindToRegistry("sslContextParameters") public SSLContextParameters createSslContextParams() throws Exception { KeyStoreParameters ksp = new KeyStoreParameters(); diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitSSLWithoutClientAuthTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitSSLWithoutClientAuthIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitSSLWithoutClientAuthTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitSSLWithoutClientAuthIT.java index ad382d6ace208..e42fdb93a326c 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitSSLWithoutClientAuthTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitSSLWithoutClientAuthIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; @@ -25,7 +25,7 @@ * Test the ftps component over SSL (implicit) without client authentication */ @EnabledIf(value = "org.apache.camel.component.file.remote.services.FtpsEmbeddedService#hasRequiredAlgorithms") -public class FileToFtpsImplicitSSLWithoutClientAuthTest extends FtpsServerImplicitSSLWithoutClientAuthTestSupport { +public class FileToFtpsImplicitSSLWithoutClientAuthIT extends FtpsServerImplicitSSLWithoutClientAuthTestSupport { protected String getFtpUrl() { return "ftps://admin@localhost:{{ftp.server.port}}" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitTLSWithClientAuthAndSSLContextParametersTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitTLSWithClientAuthAndSSLContextParametersIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitTLSWithClientAuthAndSSLContextParametersTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitTLSWithClientAuthAndSSLContextParametersIT.java index c2d49cbdfdf07..1248bfbd0824b 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitTLSWithClientAuthAndSSLContextParametersTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitTLSWithClientAuthAndSSLContextParametersIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.BindToRegistry; import org.apache.camel.support.jsse.KeyManagersParameters; @@ -22,7 +22,7 @@ import org.apache.camel.support.jsse.SSLContextParameters; import org.apache.camel.support.jsse.TrustManagersParameters; -public class FileToFtpsImplicitTLSWithClientAuthAndSSLContextParametersTest extends FileToFtpsImplicitTLSWithClientAuthTest { +public class FileToFtpsImplicitTLSWithClientAuthAndSSLContextParametersIT extends FileToFtpsImplicitTLSWithClientAuthIT { @BindToRegistry("sslContextParameters") public SSLContextParameters createSslContextParams() throws Exception { KeyStoreParameters ksp = new KeyStoreParameters(); diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitTLSWithClientAuthTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitTLSWithClientAuthIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitTLSWithClientAuthTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitTLSWithClientAuthIT.java index ea97d7985ebe3..2d2761361fa66 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitTLSWithClientAuthTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitTLSWithClientAuthIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; @@ -25,7 +25,7 @@ * Test the ftps component over TLS (implicit) with client authentication */ @EnabledIf(value = "org.apache.camel.component.file.remote.services.FtpsEmbeddedService#hasRequiredAlgorithms") -public class FileToFtpsImplicitTLSWithClientAuthTest extends FtpsServerImplicitTLSWithClientAuthTestSupport { +public class FileToFtpsImplicitTLSWithClientAuthIT extends FtpsServerImplicitTLSWithClientAuthTestSupport { protected String getFtpUrl() { return "ftps://admin@localhost:{{ftp.server.port}}" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitTLSWithoutClientAuthAndSSLContextParametersTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitTLSWithoutClientAuthAndSSLContextParametersIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitTLSWithoutClientAuthAndSSLContextParametersTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitTLSWithoutClientAuthAndSSLContextParametersIT.java index c79943312b589..1c6a3b1a8c2e0 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitTLSWithoutClientAuthAndSSLContextParametersTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitTLSWithoutClientAuthAndSSLContextParametersIT.java @@ -14,15 +14,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.BindToRegistry; import org.apache.camel.support.jsse.KeyStoreParameters; import org.apache.camel.support.jsse.SSLContextParameters; import org.apache.camel.support.jsse.TrustManagersParameters; -public class FileToFtpsImplicitTLSWithoutClientAuthAndSSLContextParametersTest - extends FileToFtpsImplicitTLSWithoutClientAuthTest { +public class FileToFtpsImplicitTLSWithoutClientAuthAndSSLContextParametersIT + extends FileToFtpsImplicitTLSWithoutClientAuthIT { @BindToRegistry("sslContextParameters") public SSLContextParameters createSslContextParams() throws Exception { KeyStoreParameters ksp = new KeyStoreParameters(); diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitTLSWithoutClientAuthTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitTLSWithoutClientAuthIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitTLSWithoutClientAuthTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitTLSWithoutClientAuthIT.java index adbe10fe29fc7..cc894cfd3579e 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsImplicitTLSWithoutClientAuthTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsImplicitTLSWithoutClientAuthIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; @@ -25,7 +25,7 @@ * Test the ftps component over TLS (implicit) without client authentication */ @EnabledIf(value = "org.apache.camel.component.file.remote.services.FtpsEmbeddedService#hasRequiredAlgorithms") -public class FileToFtpsImplicitTLSWithoutClientAuthTest extends FtpsServerImplicitTLSWithoutClientAuthTestSupport { +public class FileToFtpsImplicitTLSWithoutClientAuthIT extends FtpsServerImplicitTLSWithoutClientAuthTestSupport { protected String getFtpUrl() { return "ftps://admin@localhost:{{ftp.server.port}}" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithCustomKeyAndTrustStorePropertiesTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithCustomKeyAndTrustStorePropertiesIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithCustomKeyAndTrustStorePropertiesTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithCustomKeyAndTrustStorePropertiesIT.java index 3cbd96a351116..fee0804286800 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithCustomKeyAndTrustStorePropertiesTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithCustomKeyAndTrustStorePropertiesIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; @@ -25,7 +25,7 @@ * Test the ftps component over SSL (explicit) and without client authentication */ @EnabledIf(value = "org.apache.camel.component.file.remote.services.FtpsEmbeddedService#hasRequiredAlgorithms") -public class FileToFtpsWithCustomKeyAndTrustStorePropertiesTest extends FtpsServerExplicitSSLWithClientAuthTestSupport { +public class FileToFtpsWithCustomKeyAndTrustStorePropertiesIT extends FtpsServerExplicitSSLWithClientAuthTestSupport { private String getFtpUrl() { return "ftps://admin@localhost:{{ftp.server.port}}" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithCustomTrustStorePropertiesTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithCustomTrustStorePropertiesIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithCustomTrustStorePropertiesTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithCustomTrustStorePropertiesIT.java index af4ee4db69b3b..cf28827826bd8 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithCustomTrustStorePropertiesTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithCustomTrustStorePropertiesIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; @@ -25,7 +25,7 @@ * Test the ftps component over SSL (explicit) and without client authentication */ @EnabledIf(value = "org.apache.camel.component.file.remote.services.FtpsEmbeddedService#hasRequiredAlgorithms") -public class FileToFtpsWithCustomTrustStorePropertiesTest extends FtpsServerExplicitSSLWithoutClientAuthTestSupport { +public class FileToFtpsWithCustomTrustStorePropertiesIT extends FtpsServerExplicitSSLWithoutClientAuthTestSupport { private String getFtpUrl() { return "ftps://admin@localhost:{{ftp.server.port}}" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithDefaultSettingsIPV6Test.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithDefaultSettingsIPV6IT.java similarity index 91% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithDefaultSettingsIPV6Test.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithDefaultSettingsIPV6IT.java index 0c5ed81442378..b5e9fcdea03f4 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithDefaultSettingsIPV6Test.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithDefaultSettingsIPV6IT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; @@ -25,7 +25,7 @@ * Test the ftps component over TLS (explicit) and without client authentication */ @Disabled -public class FileToFtpsWithDefaultSettingsIPV6Test extends FtpsServerExplicitTLSWithoutClientAuthTestSupport { +public class FileToFtpsWithDefaultSettingsIPV6IT extends FtpsServerExplicitTLSWithoutClientAuthTestSupport { private String getFtpUrl() { return "ftps://admin@[::1]:{{ftp.server.port}}" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithDefaultSettingsTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithDefaultSettingsIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithDefaultSettingsTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithDefaultSettingsIT.java index b1855a88abcee..61a04fc1a21aa 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithDefaultSettingsTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithDefaultSettingsIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; @@ -25,7 +25,7 @@ * Test the ftps component over TLS (explicit) and without client authentication */ @EnabledIf(value = "org.apache.camel.component.file.remote.services.FtpsEmbeddedService#hasRequiredAlgorithms") -public class FileToFtpsWithDefaultSettingsTest extends FtpsServerExplicitTLSWithoutClientAuthTestSupport { +public class FileToFtpsWithDefaultSettingsIT extends FtpsServerExplicitTLSWithoutClientAuthTestSupport { private String getFtpUrl() { return "ftps://admin@localhost:{{ftp.server.port}}" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithFtpClientConfigRefTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithFtpClientConfigRefIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithFtpClientConfigRefTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithFtpClientConfigRefIT.java index a2690ac094149..1f2f8e9849993 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FileToFtpsWithFtpClientConfigRefTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FileToFtpsWithFtpClientConfigRefIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.BindToRegistry; import org.apache.camel.builder.RouteBuilder; @@ -27,7 +27,7 @@ * Test the ftps component over SSL (explicit) and without client authentication */ @EnabledIf(value = "org.apache.camel.component.file.remote.services.FtpsEmbeddedService#hasRequiredAlgorithms") -public class FileToFtpsWithFtpClientConfigRefTest extends FtpsServerExplicitSSLWithoutClientAuthTestSupport { +public class FileToFtpsWithFtpClientConfigRefIT extends FtpsServerExplicitSSLWithoutClientAuthTestSupport { @BindToRegistry("ftpsClient") private FTPSClient client = new FTPSClient("SSLv3"); diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFilePasswordBeanRefTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFilePasswordBeanRefIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFilePasswordBeanRefTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFilePasswordBeanRefIT.java index bcfd0c2991aa6..aa27371c1cb96 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFilePasswordBeanRefTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFilePasswordBeanRefIT.java @@ -14,14 +14,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.BindToRegistry; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.Test; -public class FromFilePasswordBeanRefTest extends FtpServerTestSupport { +public class FromFilePasswordBeanRefIT extends FtpServerTestSupport { @BindToRegistry("myPass") private String somename = "t%st"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFilePasswordPropertyRefTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFilePasswordPropertyRefIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFilePasswordPropertyRefTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFilePasswordPropertyRefIT.java index 07f0952e5834a..4970b03105d61 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFilePasswordPropertyRefTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFilePasswordPropertyRefIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.util.Properties; @@ -23,7 +23,7 @@ import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.Test; -public class FromFilePasswordPropertyRefTest extends FtpServerTestSupport { +public class FromFilePasswordPropertyRefIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://localhost:{{ftp.server.port}}/tmp3/camel?username=us@r&password=#property:myPass&initialDelay=3000"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFilePercentSignInPasswordTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFilePercentSignInPasswordIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFilePercentSignInPasswordTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFilePercentSignInPasswordIT.java index e749dbaa3ea3a..f719081cb458d 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFilePercentSignInPasswordTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFilePercentSignInPasswordIT.java @@ -14,13 +14,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.Test; -public class FromFilePercentSignInPasswordTest extends FtpServerTestSupport { +public class FromFilePercentSignInPasswordIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://localhost:{{ftp.server.port}}/tmp3/camel?username=us@r&password=t%25st&initialDelay=3000"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFilePercentSignInPasswordUserInfoEncodedTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFilePercentSignInPasswordUserInfoEncodedIT.java similarity index 85% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFilePercentSignInPasswordUserInfoEncodedTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFilePercentSignInPasswordUserInfoEncodedIT.java index 3103b9a67508b..385911b7dc6ab 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFilePercentSignInPasswordUserInfoEncodedTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFilePercentSignInPasswordUserInfoEncodedIT.java @@ -14,9 +14,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; -public class FromFilePercentSignInPasswordUserInfoEncodedTest extends FromFilePercentSignInPasswordTest { +public class FromFilePercentSignInPasswordUserInfoEncodedIT extends FromFilePercentSignInPasswordIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFilePercentSignInPasswordUserInfoTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFilePercentSignInPasswordUserInfoIT.java similarity index 87% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFilePercentSignInPasswordUserInfoTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFilePercentSignInPasswordUserInfoIT.java index dc3895a4c5f10..eeac674d95212 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFilePercentSignInPasswordUserInfoTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFilePercentSignInPasswordUserInfoIT.java @@ -14,9 +14,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; -public class FromFilePercentSignInPasswordUserInfoTest extends FromFilePercentSignInPasswordTest { +public class FromFilePercentSignInPasswordUserInfoIT extends FromFilePercentSignInPasswordIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFileToFtpDefaultRootRenameStrategyTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileToFtpDefaultRootRenameStrategyIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFileToFtpDefaultRootRenameStrategyTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileToFtpDefaultRootRenameStrategyIT.java index 01a489fec0264..c0c54356b33fd 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFileToFtpDefaultRootRenameStrategyTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileToFtpDefaultRootRenameStrategyIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -29,7 +29,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; -public class FromFileToFtpDefaultRootRenameStrategyTest extends FtpServerTestSupport { +public class FromFileToFtpDefaultRootRenameStrategyIT extends FtpServerTestSupport { @Override @BeforeEach diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFileToFtpDeleteTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileToFtpDeleteIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFileToFtpDeleteTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileToFtpDeleteIT.java index a0f1ef964ef42..c6db0019bdb87 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFileToFtpDeleteTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileToFtpDeleteIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.NotifyBuilder; @@ -26,7 +26,7 @@ import static org.apache.camel.test.junit5.TestSupport.assertFileNotExists; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FromFileToFtpDeleteTest extends FtpServerTestSupport { +public class FromFileToFtpDeleteIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}?password=admin"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFileToFtpTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileToFtpIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFileToFtpTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileToFtpIT.java index 71ab8e5fbdb77..d2cbb00ae7c2c 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFileToFtpTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileToFtpIT.java @@ -14,13 +14,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.Test; -public class FromFileToFtpTest extends FtpServerTestSupport { +public class FromFileToFtpIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/tmp2/camel?password=admin&initialDelay=3000"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFileToFtpNotStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileToFtpNotStepwiseIT.java similarity index 88% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFileToFtpNotStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileToFtpNotStepwiseIT.java index 3ddc7510e3abd..1a6782ee82f27 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFileToFtpNotStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileToFtpNotStepwiseIT.java @@ -14,9 +14,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; -public class FromFileToFtpNotStepwiseTest extends FromFileToFtpTest { +public class FromFileToFtpNotStepwiseIT extends FromFileToFtpIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFileToFtpWithChmodTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileToFtpWithChmodIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFileToFtpWithChmodTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileToFtpWithChmodIT.java index 46779ae63948e..3f2413e2e967d 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFileToFtpWithChmodTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileToFtpWithChmodIT.java @@ -14,13 +14,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.Test; -public class FromFileToFtpWithChmodTest extends FtpServerTestSupport { +public class FromFileToFtpWithChmodIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/tmp2/camel?password=admin&initialDelay=3000&chmod=777"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFileTransferLoggingLevelTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileTransferLoggingLevelIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFileTransferLoggingLevelTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileTransferLoggingLevelIT.java index 68165cee1066c..356486654915e 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFileTransferLoggingLevelTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileTransferLoggingLevelIT.java @@ -14,13 +14,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.Test; -public class FromFileTransferLoggingLevelTest extends FtpServerTestSupport { +public class FromFileTransferLoggingLevelIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/tmp2/camel?password=admin&transferLoggingLevel=INFO"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFileTransferLoggingLevelVerboseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileTransferLoggingLevelVerboseIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFileTransferLoggingLevelVerboseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileTransferLoggingLevelVerboseIT.java index b4f0ff8158a9f..bf42c878bb812 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFileTransferLoggingLevelVerboseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFileTransferLoggingLevelVerboseIT.java @@ -14,13 +14,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.Test; -public class FromFileTransferLoggingLevelVerboseTest extends FtpServerTestSupport { +public class FromFileTransferLoggingLevelVerboseIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpActivePortRangeTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpActivePortRangeIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpActivePortRangeTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpActivePortRangeIT.java index 55015848dd3f1..a44d1b7bfbd91 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpActivePortRangeTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpActivePortRangeIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Endpoint; import org.apache.camel.Exchange; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -public class FromFtpActivePortRangeTest extends FtpServerTestSupport { +public class FromFtpActivePortRangeIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/portrange/?password=admin&activePortRange=10000-19999"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpAsyncProcessTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpAsyncProcessIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpAsyncProcessTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpAsyncProcessIT.java index 01301effcf552..1cd1328afad84 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpAsyncProcessTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpAsyncProcessIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; import java.util.concurrent.ExecutorService; @@ -31,7 +31,7 @@ /** * */ -public class FromFtpAsyncProcessTest extends FtpServerTestSupport { +public class FromFtpAsyncProcessIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/async/?password=admin&delete=true"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpClientConfigRefTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpClientConfigRefIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpClientConfigRefTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpClientConfigRefIT.java index 62eed9d016b85..fe57087dd944c 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpClientConfigRefTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpClientConfigRefIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.BindToRegistry; import org.apache.camel.Endpoint; @@ -26,7 +26,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -public class FromFtpClientConfigRefTest extends FtpServerTestSupport { +public class FromFtpClientConfigRefIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/timeout/?password=admin&ftpClientConfig=#myConfig"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpClientDataTimeoutTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpClientDataTimeoutIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpClientDataTimeoutTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpClientDataTimeoutIT.java index 137e9eeab5a73..c8491d76ff765 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpClientDataTimeoutTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpClientDataTimeoutIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Endpoint; import org.apache.camel.Exchange; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -public class FromFtpClientDataTimeoutTest extends FtpServerTestSupport { +public class FromFtpClientDataTimeoutIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/timeout/?password=admin&ftpClient.dataTimeout=5000"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpClientSoTimeout2Test.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpClientSoTimeout2IT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpClientSoTimeout2Test.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpClientSoTimeout2IT.java index baf64f572b904..740fb24591950 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpClientSoTimeout2Test.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpClientSoTimeout2IT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Endpoint; import org.apache.camel.Exchange; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -public class FromFtpClientSoTimeout2Test extends FtpServerTestSupport { +public class FromFtpClientSoTimeout2IT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/timeout/?password=admin&soTimeout=5000"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpClientSoTimeoutIT.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpClientSoTimeoutIT.java new file mode 100644 index 0000000000000..8bd1e0293a863 --- /dev/null +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpClientSoTimeoutIT.java @@ -0,0 +1,68 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.camel.component.file.remote.integration; + +import org.apache.camel.Endpoint; +import org.apache.camel.Exchange; +import org.apache.camel.Producer; +import org.apache.camel.builder.RouteBuilder; +import org.apache.camel.component.mock.MockEndpoint; +import org.junit.jupiter.api.BeforeEach; +import org.junit.jupiter.api.Test; + +public class FromFtpClientSoTimeoutIT extends FtpServerTestSupport { + + private String getFtpUrl() { + return "ftp://admin@localhost:{{ftp.server.port}}/timeout/?password=admin&ftpClient.soTimeout=5000"; + } + + @Override + @BeforeEach + public void setUp() throws Exception { + super.setUp(); + prepareFtpServer(); + } + + @Test + public void testTimeout() throws Exception { + MockEndpoint mock = getMockEndpoint("mock:result"); + mock.expectedBodiesReceived("Hello World"); + + mock.assertIsSatisfied(); + } + + private void prepareFtpServer() throws Exception { + // prepares the FTP Server by creating a file on the server + Endpoint endpoint = context.getEndpoint(getFtpUrl()); + Exchange exchange = endpoint.createExchange(); + exchange.getIn().setBody("Hello World"); + exchange.getIn().setHeader(Exchange.FILE_NAME, "hello.txt"); + Producer producer = endpoint.createProducer(); + producer.start(); + producer.process(exchange); + producer.stop(); + } + + @Override + protected RouteBuilder createRouteBuilder() throws Exception { + return new RouteBuilder() { + public void configure() throws Exception { + from(getFtpUrl()).to("mock:result"); + } + }; + } +} diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpConsumerTemplateTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpConsumerTemplateIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpConsumerTemplateTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpConsumerTemplateIT.java index 4ed7c8ab69f8c..6757f248b8673 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpConsumerTemplateTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpConsumerTemplateIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -28,7 +28,7 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FromFtpConsumerTemplateTest extends FtpServerTestSupport { +public class FromFtpConsumerTemplateIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/deletefile?password=admin&binary=false&delete=true"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpConsumerTemplateRollbackTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpConsumerTemplateRollbackIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpConsumerTemplateRollbackTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpConsumerTemplateRollbackIT.java index 20f602771ea5f..6a0e02fdc7460 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpConsumerTemplateRollbackTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpConsumerTemplateRollbackIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -30,7 +30,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; import static org.junit.jupiter.api.Assertions.fail; -public class FromFtpConsumerTemplateRollbackTest extends FtpServerTestSupport { +public class FromFtpConsumerTemplateRollbackIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/deletefile?password=admin&binary=false&delete=true"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpDeleteFileTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpDeleteFileIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpDeleteFileTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpDeleteFileIT.java index 07887123f67e3..c0142e04df795 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpDeleteFileTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpDeleteFileIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -32,7 +32,7 @@ /** * Unit test to test delete option. */ -public class FromFtpDeleteFileTest extends FtpServerTestSupport { +public class FromFtpDeleteFileIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/deletefile?password=admin&binary=false&delete=true"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpDeleteFileNotStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpDeleteFileNotStepwiseIT.java similarity index 88% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpDeleteFileNotStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpDeleteFileNotStepwiseIT.java index 406ba696bd9f1..36c34982aab91 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpDeleteFileNotStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpDeleteFileNotStepwiseIT.java @@ -14,12 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; /** * Unit test to test delete option. */ -public class FromFtpDeleteFileNotStepwiseTest extends FromFtpDeleteFileTest { +public class FromFtpDeleteFileNotStepwiseIT extends FromFtpDeleteFileIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpDeleteFileScottTigerTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpDeleteFileScottTigerIT.java similarity index 88% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpDeleteFileScottTigerTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpDeleteFileScottTigerIT.java index 64015c6ee95d3..452a3d2f47637 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpDeleteFileScottTigerTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpDeleteFileScottTigerIT.java @@ -14,12 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; /** * Unit test to test delete option. */ -public class FromFtpDeleteFileScottTigerTest extends FromFtpDeleteFileTest { +public class FromFtpDeleteFileScottTigerIT extends FromFtpDeleteFileIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpDirectoryToBinaryFilesTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpDirectoryToBinaryFilesIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpDirectoryToBinaryFilesTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpDirectoryToBinaryFilesIT.java index fa760cfb7f164..c9e3a18facf50 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpDirectoryToBinaryFilesTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpDirectoryToBinaryFilesIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -33,7 +33,7 @@ * Unit test to verify that we can pool a BINARY file in a directory from the FTP Server and store it on a local file * path. Based on CAMEL-834. */ -public class FromFtpDirectoryToBinaryFilesTest extends FtpServerTestSupport { +public class FromFtpDirectoryToBinaryFilesIT extends FtpServerTestSupport { private static File logoFile; private static long logoFileSize; private static File logo1File; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpDirectoryToBinaryFilesNotStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpDirectoryToBinaryFilesNotStepwiseIT.java similarity index 88% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpDirectoryToBinaryFilesNotStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpDirectoryToBinaryFilesNotStepwiseIT.java index 7cf3a586bf085..266a71d3b6642 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpDirectoryToBinaryFilesNotStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpDirectoryToBinaryFilesNotStepwiseIT.java @@ -14,13 +14,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; /** * Unit test to verify that we can pool a BINARY file in a directory from the FTP Server and store it on a local file * path. Based on CAMEL-834. */ -public class FromFtpDirectoryToBinaryFilesNotStepwiseTest extends FromFtpDirectoryToBinaryFilesTest { +public class FromFtpDirectoryToBinaryFilesNotStepwiseIT extends FromFtpDirectoryToBinaryFilesIT { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/incoming/?password=admin" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpDoNotDeleteFileIfProcessFailsTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpDoNotDeleteFileIfProcessFailsIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpDoNotDeleteFileIfProcessFailsTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpDoNotDeleteFileIfProcessFailsIT.java index 69ce9062e32ca..701cdc70394b1 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpDoNotDeleteFileIfProcessFailsTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpDoNotDeleteFileIfProcessFailsIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -29,7 +29,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; -public class FromFtpDoNotDeleteFileIfProcessFailsTest extends FtpServerTestSupport { +public class FromFtpDoNotDeleteFileIfProcessFailsIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/deletefile/?password=admin&delete=true"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpExclusiveReadNoneStrategyTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpExclusiveReadNoneStrategyIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpExclusiveReadNoneStrategyTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpExclusiveReadNoneStrategyIT.java index e95d2b1d1b428..107624817ef32 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpExclusiveReadNoneStrategyTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpExclusiveReadNoneStrategyIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; import java.io.FileOutputStream; @@ -37,9 +37,9 @@ /** * Unit test to verify *NON* exclusive read. */ -public class FromFtpExclusiveReadNoneStrategyTest extends FtpServerTestSupport { +public class FromFtpExclusiveReadNoneStrategyIT extends FtpServerTestSupport { - private static final Logger LOG = LoggerFactory.getLogger(FromFtpExclusiveReadNoneStrategyTest.class); + private static final Logger LOG = LoggerFactory.getLogger(FromFtpExclusiveReadNoneStrategyIT.class); private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/slowfile?password=admin" + "&readLock=none&delay=500"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpFilterTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpFilterIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpFilterTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpFilterIT.java index 4082b60b24f79..e5506136749d6 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpFilterTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpFilterIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.BindToRegistry; import org.apache.camel.builder.RouteBuilder; @@ -26,7 +26,7 @@ /** * Unit test to test filter option. */ -public class FromFtpFilterTest extends FtpServerTestSupport { +public class FromFtpFilterIT extends FtpServerTestSupport { @BindToRegistry("myFilter") private MyFileFilter filter = new MyFileFilter<>(); diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpFilterNotStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpFilterNotStepwiseIT.java similarity index 89% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpFilterNotStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpFilterNotStepwiseIT.java index bf5030a55a580..77a6346d04808 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpFilterNotStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpFilterNotStepwiseIT.java @@ -14,12 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; /** * Unit test to test filter option. */ -public class FromFtpFilterNotStepwiseTest extends FromFtpFilterTest { +public class FromFtpFilterNotStepwiseIT extends FromFtpFilterIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpKeepLastModifiedTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpKeepLastModifiedIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpKeepLastModifiedTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpKeepLastModifiedIT.java index 3f197b48312d2..640adfbe7be61 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpKeepLastModifiedTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpKeepLastModifiedIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; @@ -28,7 +28,7 @@ /** * Unit test to test keepLastModified option. */ -public class FromFtpKeepLastModifiedTest extends FtpServerTestSupport { +public class FromFtpKeepLastModifiedIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/keep?password=admin&binary=false&noop=true"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpKeepLastModifiedNotStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpKeepLastModifiedNotStepwiseIT.java similarity index 87% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpKeepLastModifiedNotStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpKeepLastModifiedNotStepwiseIT.java index 24f140997274a..ba8d18c560fc2 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpKeepLastModifiedNotStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpKeepLastModifiedNotStepwiseIT.java @@ -14,12 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; /** * Unit test to test keepLastModified option. */ -public class FromFtpKeepLastModifiedNotStepwiseTest extends FromFtpKeepLastModifiedTest { +public class FromFtpKeepLastModifiedNotStepwiseIT extends FromFtpKeepLastModifiedIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFileAbsoluteFolderRecursiveTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFileAbsoluteFolderRecursiveIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFileAbsoluteFolderRecursiveTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFileAbsoluteFolderRecursiveIT.java index 597d48843c1c2..5d7e89382d067 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFileAbsoluteFolderRecursiveTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFileAbsoluteFolderRecursiveIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; @@ -25,7 +25,7 @@ /** * Unit test based on end user problem with SFTP on Windows */ -public class FromFtpMoveFileAbsoluteFolderRecursiveTest extends FtpServerTestSupport { +public class FromFtpMoveFileAbsoluteFolderRecursiveIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/movefile?password=admin&recursive=true&binary=false" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFileAbsoluteFolderRecursiveNotStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFileAbsoluteFolderRecursiveNotStepwiseIT.java similarity index 86% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFileAbsoluteFolderRecursiveNotStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFileAbsoluteFolderRecursiveNotStepwiseIT.java index ad36f8a4b5c99..a6a58fb979cc1 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFileAbsoluteFolderRecursiveNotStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFileAbsoluteFolderRecursiveNotStepwiseIT.java @@ -14,12 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; /** * Unit test based on end user problem with SFTP on Windows */ -public class FromFtpMoveFileAbsoluteFolderRecursiveNotStepwiseTest extends FromFtpMoveFileAbsoluteFolderRecursiveTest { +public class FromFtpMoveFileAbsoluteFolderRecursiveNotStepwiseIT extends FromFtpMoveFileAbsoluteFolderRecursiveIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFileTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFileIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFileTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFileIT.java index bd32041d05cd3..d8bd3ed1cdaac 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFileTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFileIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -31,7 +31,7 @@ /** * Unit test to test both consumer.moveNamePrefix and consumer.moveNamePostfix options. */ -public class FromFtpMoveFileTest extends FtpServerTestSupport { +public class FromFtpMoveFileIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/movefile?password=admin&binary=false" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFileNotStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFileNotStepwiseIT.java similarity index 89% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFileNotStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFileNotStepwiseIT.java index 7bfe4a97bb074..7b0afb3de9aef 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFileNotStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFileNotStepwiseIT.java @@ -14,12 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; /** * Unit test to test both consumer.moveNamePrefix and consumer.moveNamePostfix options. */ -public class FromFtpMoveFileNotStepwiseTest extends FromFtpMoveFileTest { +public class FromFtpMoveFileNotStepwiseIT extends FromFtpMoveFileIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFilePostfixTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFilePostfixIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFilePostfixTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFilePostfixIT.java index fb83df59a85ae..d33f17c33654d 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFilePostfixTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFilePostfixIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -31,7 +31,7 @@ /** * Unit test to test consumer.moveNamePostfix option. */ -public class FromFtpMoveFilePostfixTest extends FtpServerTestSupport { +public class FromFtpMoveFilePostfixIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/movefile?password=admin&binary=false" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFilePostfixNotStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFilePostfixNotStepwiseIT.java similarity index 88% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFilePostfixNotStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFilePostfixNotStepwiseIT.java index d62742ec1b09a..ff8f1b62231e5 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFilePostfixNotStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFilePostfixNotStepwiseIT.java @@ -14,12 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; /** * Unit test to test consumer.moveNamePostfix option. */ -public class FromFtpMoveFilePostfixNotStepwiseTest extends FromFtpMoveFilePostfixTest { +public class FromFtpMoveFilePostfixNotStepwiseIT extends FromFtpMoveFilePostfixIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFilePrefixTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFilePrefixIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFilePrefixTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFilePrefixIT.java index 1166b8cad44c5..6b6cb3dfc9328 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFilePrefixTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFilePrefixIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -31,7 +31,7 @@ /** * Unit test to test consumer.moveNamePrefix option. */ -public class FromFtpMoveFilePrefixTest extends FtpServerTestSupport { +public class FromFtpMoveFilePrefixIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/movefile?password=admin&binary=false&delay=5000" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFilePrefixNotStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFilePrefixNotStepwiseIT.java similarity index 88% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFilePrefixNotStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFilePrefixNotStepwiseIT.java index f1990a0a8661a..40a48ca54bf0b 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFilePrefixNotStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFilePrefixNotStepwiseIT.java @@ -14,12 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; /** * Unit test to test consumer.moveNamePrefix option. */ -public class FromFtpMoveFilePrefixNotStepwiseTest extends FromFtpMoveFilePrefixTest { +public class FromFtpMoveFilePrefixNotStepwiseIT extends FromFtpMoveFilePrefixIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFileRecursiveTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFileRecursiveIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFileRecursiveTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFileRecursiveIT.java index 2957948477e24..e74fb62052d5f 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFileRecursiveTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFileRecursiveIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; @@ -25,7 +25,7 @@ /** * Unit test based on end user problem with SFTP on Windows */ -public class FromFtpMoveFileRecursiveTest extends FtpServerTestSupport { +public class FromFtpMoveFileRecursiveIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/movefile?password=admin&recursive=true&binary=false" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFileRecursiveNotStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFileRecursiveNotStepwiseIT.java similarity index 88% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFileRecursiveNotStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFileRecursiveNotStepwiseIT.java index fe719f9224219..23507d31381ea 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFileRecursiveNotStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFileRecursiveNotStepwiseIT.java @@ -14,12 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; /** * Unit test based on end user problem with SFTP on Windows */ -public class FromFtpMoveFileRecursiveNotStepwiseTest extends FromFtpMoveFileRecursiveTest { +public class FromFtpMoveFileRecursiveNotStepwiseIT extends FromFtpMoveFileRecursiveIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFileToHiddenFolderRecursiveTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFileToHiddenFolderRecursiveIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFileToHiddenFolderRecursiveTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFileToHiddenFolderRecursiveIT.java index 85771748b50c7..3344cfff0f2c8 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFileToHiddenFolderRecursiveTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFileToHiddenFolderRecursiveIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; @@ -25,7 +25,7 @@ /** * Unit test based on end user problem with SFTP on Windows */ -public class FromFtpMoveFileToHiddenFolderRecursiveTest extends FtpServerTestSupport { +public class FromFtpMoveFileToHiddenFolderRecursiveIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}?password=admin&recursive=true&binary=false" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFileToHiddenFolderRecursiveNotStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFileToHiddenFolderRecursiveNotStepwiseIT.java similarity index 86% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFileToHiddenFolderRecursiveNotStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFileToHiddenFolderRecursiveNotStepwiseIT.java index 586d0172c304f..c6c68b7d28f24 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpMoveFileToHiddenFolderRecursiveNotStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpMoveFileToHiddenFolderRecursiveNotStepwiseIT.java @@ -14,12 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; /** * Unit test based on end user problem with SFTP on Windows */ -public class FromFtpMoveFileToHiddenFolderRecursiveNotStepwiseTest extends FromFtpMoveFileToHiddenFolderRecursiveTest { +public class FromFtpMoveFileToHiddenFolderRecursiveNotStepwiseIT extends FromFtpMoveFileToHiddenFolderRecursiveIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpNoEndpointPathRelativeMoveToAbsoluteTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpNoEndpointPathRelativeMoveToAbsoluteIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpNoEndpointPathRelativeMoveToAbsoluteTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpNoEndpointPathRelativeMoveToAbsoluteIT.java index 899adc223c94f..771709d4ce303 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpNoEndpointPathRelativeMoveToAbsoluteTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpNoEndpointPathRelativeMoveToAbsoluteIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; @@ -22,7 +22,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -public class FromFtpNoEndpointPathRelativeMoveToAbsoluteTest extends FtpServerTestSupport { +public class FromFtpNoEndpointPathRelativeMoveToAbsoluteIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}?password=admin&recursive=true&binary=false" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpNoEndpointPathRelativeMoveToAbsoluteNotStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpNoEndpointPathRelativeMoveToAbsoluteNotStepwiseIT.java similarity index 89% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpNoEndpointPathRelativeMoveToAbsoluteNotStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpNoEndpointPathRelativeMoveToAbsoluteNotStepwiseIT.java index 241892ed1b896..a7c6b240b7bab 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpNoEndpointPathRelativeMoveToAbsoluteNotStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpNoEndpointPathRelativeMoveToAbsoluteNotStepwiseIT.java @@ -14,10 +14,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; -public class FromFtpNoEndpointPathRelativeMoveToAbsoluteNotStepwiseTest - extends FromFtpNoEndpointPathRelativeMoveToAbsoluteTest { +public class FromFtpNoEndpointPathRelativeMoveToAbsoluteNotStepwiseIT + extends FromFtpNoEndpointPathRelativeMoveToAbsoluteIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpNoFilesTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpNoFilesIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpNoFilesTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpNoFilesIT.java index 4924af8098fab..c4335c8ad6c40 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpNoFilesTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpNoFilesIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; @@ -26,7 +26,7 @@ /** * Unit test to verify polling a server with no files to poll. */ -public class FromFtpNoFilesTest extends FtpServerTestSupport { +public class FromFtpNoFilesIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/slowfile?password=admin&binary=false&readLock=rename&delay=2000"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpNoopAccountTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpNoopAccountIT.java similarity index 89% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpNoopAccountTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpNoopAccountIT.java index 20a20bffea058..612e99b37f5d1 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpNoopAccountTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpNoopAccountIT.java @@ -14,12 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; /** * Unit test to test account option. */ -public class FromFtpNoopAccountTest extends FromFtpNoopTest { +public class FromFtpNoopAccountIT extends FromFtpNoopIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpNoopTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpNoopIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpNoopTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpNoopIT.java index 8bc796d0375c9..31625f00503bf 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpNoopTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpNoopIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -31,7 +31,7 @@ /** * Unit test to test noop option. */ -public class FromFtpNoopTest extends FtpServerTestSupport { +public class FromFtpNoopIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/noop?password=admin&binary=false&noop=true"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpNoopIdempotentFalseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpNoopIdempotentFalseIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpNoopIdempotentFalseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpNoopIdempotentFalseIT.java index 8d106b00145bb..ca190d2862b00 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpNoopIdempotentFalseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpNoopIdempotentFalseIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -31,7 +31,7 @@ /** * Unit test to test noop and idempotent option. */ -public class FromFtpNoopIdempotentFalseTest extends FtpServerTestSupport { +public class FromFtpNoopIdempotentFalseIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/noop?password=admin&binary=false&noop=true&idempotent=false"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpNotDownloadTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpNotDownloadIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpNotDownloadTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpNotDownloadIT.java index eff4715b52bdf..987bcd657c56d 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpNotDownloadTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpNotDownloadIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Endpoint; import org.apache.camel.Exchange; @@ -31,7 +31,7 @@ /** * */ -public class FromFtpNotDownloadTest extends FtpServerTestSupport { +public class FromFtpNotDownloadIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/download?password=admin&noop=true&download=false"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPassiveModeTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPassiveModeIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPassiveModeTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPassiveModeIT.java index 9d0f9cfda57d4..a37a634a3039e 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPassiveModeTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPassiveModeIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Endpoint; import org.apache.camel.Exchange; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -public class FromFtpPassiveModeTest extends FtpServerTestSupport { +public class FromFtpPassiveModeIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/passive/?password=admin&passiveMode=true"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPollFileOnlyTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPollFileOnlyIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPollFileOnlyTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPollFileOnlyIT.java index 1342a0d4e6dd7..3ab459f0f25fc 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPollFileOnlyTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPollFileOnlyIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Endpoint; import org.apache.camel.Exchange; @@ -27,7 +27,7 @@ /** * Unit test to poll a file from the FTP server and not a folder as most test is. */ -public class FromFtpPollFileOnlyTest extends FtpServerTestSupport { +public class FromFtpPollFileOnlyIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/fileonly/?password=admin"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPreMoveDeleteTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPreMoveDeleteIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPreMoveDeleteTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPreMoveDeleteIT.java index 8e7ea1ee672a9..a127a4cf15563 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPreMoveDeleteTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPreMoveDeleteIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -33,7 +33,7 @@ /** * Unit test to test preMove with delete option. */ -public class FromFtpPreMoveDeleteTest extends FtpServerTestSupport { +public class FromFtpPreMoveDeleteIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/movefile?password=admin&preMove=work&delete=true"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPreMoveDeleteNotStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPreMoveDeleteNotStepwiseIT.java similarity index 88% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPreMoveDeleteNotStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPreMoveDeleteNotStepwiseIT.java index e321a456f99c9..df936d07c1e05 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPreMoveDeleteNotStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPreMoveDeleteNotStepwiseIT.java @@ -14,12 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; /** * Unit test to test preMove with delete option. */ -public class FromFtpPreMoveDeleteNotStepwiseTest extends FromFtpPreMoveDeleteTest { +public class FromFtpPreMoveDeleteNotStepwiseIT extends FromFtpPreMoveDeleteIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPreMoveFileExpressionTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPreMoveFileExpressionIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPreMoveFileExpressionTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPreMoveFileExpressionIT.java index e0a6eff0ab2a9..ef606f0c2f99d 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPreMoveFileExpressionTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPreMoveFileExpressionIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -32,7 +32,7 @@ /** * Unit test to test preMove option. */ -public class FromFtpPreMoveFileExpressionTest extends FtpServerTestSupport { +public class FromFtpPreMoveFileExpressionIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/movefile?password=admin&binary=false&delay=5000" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPreMoveFilePostfixTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPreMoveFilePostfixIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPreMoveFilePostfixTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPreMoveFilePostfixIT.java index 51ec379f6638e..4ea56a6e5a793 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPreMoveFilePostfixTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPreMoveFilePostfixIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -31,7 +31,7 @@ /** * Unit test to test preMoveNamePostfix option. */ -public class FromFtpPreMoveFilePostfixTest extends FtpServerTestSupport { +public class FromFtpPreMoveFilePostfixIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/movefile?password=admin&binary=false&preMove=${file:name}.old"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPreMoveFilePostfixNotStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPreMoveFilePostfixNotStepwiseIT.java similarity index 87% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPreMoveFilePostfixNotStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPreMoveFilePostfixNotStepwiseIT.java index 40a7c4f593898..1857ea9ce7b2c 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPreMoveFilePostfixNotStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPreMoveFilePostfixNotStepwiseIT.java @@ -14,12 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; /** * Unit test to test preMoveNamePostfix option. */ -public class FromFtpPreMoveFilePostfixNotStepwiseTest extends FromFtpPreMoveFilePostfixTest { +public class FromFtpPreMoveFilePostfixNotStepwiseIT extends FromFtpPreMoveFilePostfixIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPreMoveFilePrefixTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPreMoveFilePrefixIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPreMoveFilePrefixTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPreMoveFilePrefixIT.java index b77b8d653bd05..a5d7769f7cbde 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPreMoveFilePrefixTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPreMoveFilePrefixIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -31,7 +31,7 @@ /** * Unit test to test preMoveNamePrefix option. */ -public class FromFtpPreMoveFilePrefixTest extends FtpServerTestSupport { +public class FromFtpPreMoveFilePrefixIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/movefile?password=admin&binary=false&delay=5000" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPreMoveFilePrefixNotStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPreMoveFilePrefixNotStepwiseIT.java similarity index 88% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPreMoveFilePrefixNotStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPreMoveFilePrefixNotStepwiseIT.java index 9d0bad15e2d84..b87de30dada9d 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPreMoveFilePrefixNotStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPreMoveFilePrefixNotStepwiseIT.java @@ -14,12 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; /** * Unit test to test preMoveNamePrefix option. */ -public class FromFtpPreMoveFilePrefixNotStepwiseTest extends FromFtpPreMoveFilePrefixTest { +public class FromFtpPreMoveFilePrefixNotStepwiseIT extends FromFtpPreMoveFilePrefixIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPreMoveNoopTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPreMoveNoopIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPreMoveNoopTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPreMoveNoopIT.java index f61e6f28a7f40..ed997c79ba366 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPreMoveNoopTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPreMoveNoopIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -32,7 +32,7 @@ /** * Unit test to test preMove with noop option. */ -public class FromFtpPreMoveNoopTest extends FtpServerTestSupport { +public class FromFtpPreMoveNoopIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/movefile?password=admin&preMove=work&noop=true"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPreMoveNoopNotStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPreMoveNoopNotStepwiseIT.java similarity index 88% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPreMoveNoopNotStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPreMoveNoopNotStepwiseIT.java index 557d54361b23c..6d3f21b26eaba 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpPreMoveNoopNotStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpPreMoveNoopNotStepwiseIT.java @@ -14,12 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; /** * Unit test to test preMove with noop option. */ -public class FromFtpPreMoveNoopNotStepwiseTest extends FromFtpPreMoveNoopTest { +public class FromFtpPreMoveNoopNotStepwiseIT extends FromFtpPreMoveNoopIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRecursiveNoopTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRecursiveNoopIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRecursiveNoopTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRecursiveNoopIT.java index 208888bd092ec..4fdd45e3389cd 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRecursiveNoopTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRecursiveNoopIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; @@ -22,7 +22,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -public class FromFtpRecursiveNoopTest extends FtpServerTestSupport { +public class FromFtpRecursiveNoopIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/noop?password=admin&binary=false&initialDelay=3000" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRecursiveNoopNotStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRecursiveNoopNotStepwiseIT.java similarity index 88% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRecursiveNoopNotStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRecursiveNoopNotStepwiseIT.java index 3cdccbb748577..a1a1e6554b784 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRecursiveNoopNotStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRecursiveNoopNotStepwiseIT.java @@ -14,9 +14,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; -public class FromFtpRecursiveNoopNotStepwiseTest extends FromFtpRecursiveNoopTest { +public class FromFtpRecursiveNoopNotStepwiseIT extends FromFtpRecursiveNoopIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRecursiveNotStepwiseNoBasePathTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRecursiveNotStepwiseNoBasePathIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRecursiveNotStepwiseNoBasePathTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRecursiveNotStepwiseNoBasePathIT.java index d274b7e0069cb..e242446c648fd 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRecursiveNotStepwiseNoBasePathTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRecursiveNotStepwiseNoBasePathIT.java @@ -14,14 +14,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -public class FromFtpRecursiveNotStepwiseNoBasePathTest extends FtpServerTestSupport { +public class FromFtpRecursiveNotStepwiseNoBasePathIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}?password=admin&initialDelay=3000&stepwise=false&recursive=true"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRegexPatternTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRegexPatternIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRegexPatternTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRegexPatternIT.java index f4bbfcffe6590..5c56269a8c3e3 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRegexPatternTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRegexPatternIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; @@ -25,7 +25,7 @@ /** * Unit test to verify regexPattern option. */ -public class FromFtpRegexPatternTest extends FtpServerTestSupport { +public class FromFtpRegexPatternIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/regexp?password=admin&include=report.*"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRemoteFileFilterDirectoryTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRemoteFileFilterDirectoryIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRemoteFileFilterDirectoryTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRemoteFileFilterDirectoryIT.java index c9838d00eee01..c1cebec302864 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRemoteFileFilterDirectoryTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRemoteFileFilterDirectoryIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.BindToRegistry; import org.apache.camel.builder.RouteBuilder; @@ -29,7 +29,7 @@ /** * Unit test to verify FTP filter option. */ -public class FromFtpRemoteFileFilterDirectoryTest extends FtpServerTestSupport { +public class FromFtpRemoteFileFilterDirectoryIT extends FtpServerTestSupport { @BindToRegistry("myFilter") private MyFileFilter filter = new MyFileFilter<>(); diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRemoteFileFilterTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRemoteFileFilterIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRemoteFileFilterTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRemoteFileFilterIT.java index bb84cc95a6190..42ac3af63fb41 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRemoteFileFilterTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRemoteFileFilterIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.BindToRegistry; import org.apache.camel.builder.RouteBuilder; @@ -29,7 +29,7 @@ /** * Unit test to verify FTP filter option. */ -public class FromFtpRemoteFileFilterTest extends FtpServerTestSupport { +public class FromFtpRemoteFileFilterIT extends FtpServerTestSupport { @BindToRegistry("myFilter") private MyFileFilter filter = new MyFileFilter<>(); diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRemoteFileSortByExpressionTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRemoteFileSortByExpressionIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRemoteFileSortByExpressionTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRemoteFileSortByExpressionIT.java index 97604e464f523..179e5c2120943 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRemoteFileSortByExpressionTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRemoteFileSortByExpressionIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; @@ -24,7 +24,7 @@ /** * Unit test to verify remotefile sortby option. */ -public class FromFtpRemoteFileSortByExpressionTest extends FtpServerTestSupport { +public class FromFtpRemoteFileSortByExpressionIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/sortby?password=admin&delay=5000"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRemoteFileSortByIgnoreCaseExpressionTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRemoteFileSortByIgnoreCaseExpressionIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRemoteFileSortByIgnoreCaseExpressionTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRemoteFileSortByIgnoreCaseExpressionIT.java index 3654d83d00637..f44149bf90a9a 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRemoteFileSortByIgnoreCaseExpressionTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRemoteFileSortByIgnoreCaseExpressionIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; @@ -26,7 +26,7 @@ * Unit test to verify remotefile sortby option. */ @TestInstance(TestInstance.Lifecycle.PER_CLASS) -public class FromFtpRemoteFileSortByIgnoreCaseExpressionTest extends FtpServerTestSupport { +public class FromFtpRemoteFileSortByIgnoreCaseExpressionIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/sortbyignore?password=admin&delay=5000"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRemoteFileSortByNestedExpressionTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRemoteFileSortByNestedExpressionIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRemoteFileSortByNestedExpressionTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRemoteFileSortByNestedExpressionIT.java index 9cd93c2f78040..ed5cfac2ff65d 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRemoteFileSortByNestedExpressionTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRemoteFileSortByNestedExpressionIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; @@ -24,7 +24,7 @@ /** * Unit test to verify remotefile sort by option. */ -public class FromFtpRemoteFileSortByNestedExpressionTest extends FtpServerTestSupport { +public class FromFtpRemoteFileSortByNestedExpressionIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/sortbynested?password=admin&delay=5000"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRemoteFileSorterTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRemoteFileSorterIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRemoteFileSorterTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRemoteFileSorterIT.java index 4d639849ec5fc..1dc5f6d3ef8eb 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpRemoteFileSorterTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpRemoteFileSorterIT.java @@ -14,12 +14,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.util.Comparator; import org.apache.camel.BindToRegistry; import org.apache.camel.builder.RouteBuilder; +import org.apache.camel.component.file.remote.RemoteFile; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; @@ -27,7 +28,7 @@ /** * Unit test to verify remotefile sorter option. */ -public class FromFtpRemoteFileSorterTest extends FtpServerTestSupport { +public class FromFtpRemoteFileSorterIT extends FtpServerTestSupport { @BindToRegistry("mySorter") private MyRemoteFileSorter sorter = new MyRemoteFileSorter(); diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSedaDeleteFileTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSedaDeleteFileIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSedaDeleteFileTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSedaDeleteFileIT.java index a1d47f31c232e..44fae134facd5 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSedaDeleteFileTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSedaDeleteFileIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -32,7 +32,7 @@ /** * Unit test to test delete option. */ -public class FromFtpSedaDeleteFileTest extends FtpServerTestSupport { +public class FromFtpSedaDeleteFileIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/deletefile?password=admin&binary=false&delete=true"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpServerLanguageCodeAndTimeoutTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpServerLanguageCodeAndTimeoutIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpServerLanguageCodeAndTimeoutTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpServerLanguageCodeAndTimeoutIT.java index ca52a28fd635c..9c9d26cf71da0 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpServerLanguageCodeAndTimeoutTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpServerLanguageCodeAndTimeoutIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Endpoint; import org.apache.camel.Exchange; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -public class FromFtpServerLanguageCodeAndTimeoutTest extends FtpServerTestSupport { +public class FromFtpServerLanguageCodeAndTimeoutIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpServerLanguageCodeTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpServerLanguageCodeIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpServerLanguageCodeTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpServerLanguageCodeIT.java index 1db5a00742a53..32886a1fe1bf1 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpServerLanguageCodeTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpServerLanguageCodeIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Endpoint; import org.apache.camel.Exchange; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -public class FromFtpServerLanguageCodeTest extends FtpServerTestSupport { +public class FromFtpServerLanguageCodeIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/code/?password=admin&ftpClientConfig.serverLanguageCode=fr"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSetNamesWithMultiDirectoriesTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSetNamesWithMultiDirectoriesIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSetNamesWithMultiDirectoriesTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSetNamesWithMultiDirectoriesIT.java index 7d368870aec87..af4eca4115bc3 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSetNamesWithMultiDirectoriesTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSetNamesWithMultiDirectoriesIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -33,7 +33,7 @@ * Unit test to verify that using option setNames and having multi remote directories the files are stored locally in * the same directory layout. */ -public class FromFtpSetNamesWithMultiDirectoriesTest extends FtpServerTestSupport { +public class FromFtpSetNamesWithMultiDirectoriesIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSimpleNoEndpointPathRelativeMoveToAbsoluteTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSimpleNoEndpointPathRelativeMoveToAbsoluteIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSimpleNoEndpointPathRelativeMoveToAbsoluteTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSimpleNoEndpointPathRelativeMoveToAbsoluteIT.java index c365094fdfac6..36da5557498ec 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSimpleNoEndpointPathRelativeMoveToAbsoluteTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSimpleNoEndpointPathRelativeMoveToAbsoluteIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; @@ -22,7 +22,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -public class FromFtpSimpleNoEndpointPathRelativeMoveToAbsoluteTest extends FtpServerTestSupport { +public class FromFtpSimpleNoEndpointPathRelativeMoveToAbsoluteIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}?password=admin&recursive=true&binary=false" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSimpleNoEndpointPathRelativeMoveToAbsoluteNotStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSimpleNoEndpointPathRelativeMoveToAbsoluteNotStepwiseIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSimpleNoEndpointPathRelativeMoveToAbsoluteNotStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSimpleNoEndpointPathRelativeMoveToAbsoluteNotStepwiseIT.java index 2bd39c2009dd4..5607801f5514f 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSimpleNoEndpointPathRelativeMoveToAbsoluteNotStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSimpleNoEndpointPathRelativeMoveToAbsoluteNotStepwiseIT.java @@ -14,10 +14,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; -public class FromFtpSimpleNoEndpointPathRelativeMoveToAbsoluteNotStepwiseTest - extends FromFtpSimpleNoEndpointPathRelativeMoveToAbsoluteTest { +public class FromFtpSimpleNoEndpointPathRelativeMoveToAbsoluteNotStepwiseIT + extends FromFtpSimpleNoEndpointPathRelativeMoveToAbsoluteIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSimpleNoEndpointPathRelativeMoveToRelativeTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSimpleNoEndpointPathRelativeMoveToRelativeIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSimpleNoEndpointPathRelativeMoveToRelativeTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSimpleNoEndpointPathRelativeMoveToRelativeIT.java index f73aa1940163f..d9fcbed21f829 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSimpleNoEndpointPathRelativeMoveToRelativeTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSimpleNoEndpointPathRelativeMoveToRelativeIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; @@ -22,7 +22,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -public class FromFtpSimpleNoEndpointPathRelativeMoveToRelativeTest extends FtpServerTestSupport { +public class FromFtpSimpleNoEndpointPathRelativeMoveToRelativeIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}?password=admin&recursive=true&binary=false" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSimpleNoEndpointPathRelativeMoveToRelativeNotStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSimpleNoEndpointPathRelativeMoveToRelativeNotStepwiseIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSimpleNoEndpointPathRelativeMoveToRelativeNotStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSimpleNoEndpointPathRelativeMoveToRelativeNotStepwiseIT.java index cb7f5b5586add..bc0e1a99eaf26 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSimpleNoEndpointPathRelativeMoveToRelativeNotStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSimpleNoEndpointPathRelativeMoveToRelativeNotStepwiseIT.java @@ -14,10 +14,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; -public class FromFtpSimpleNoEndpointPathRelativeMoveToRelativeNotStepwiseTest - extends FromFtpSimpleNoEndpointPathRelativeMoveToRelativeTest { +public class FromFtpSimpleNoEndpointPathRelativeMoveToRelativeNotStepwiseIT + extends FromFtpSimpleNoEndpointPathRelativeMoveToRelativeIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSimpleRelativeMoveToAbsoluteTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSimpleRelativeMoveToAbsoluteIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSimpleRelativeMoveToAbsoluteTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSimpleRelativeMoveToAbsoluteIT.java index 11fea9fb7fcda..fe94c318d3cf4 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSimpleRelativeMoveToAbsoluteTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSimpleRelativeMoveToAbsoluteIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; @@ -22,7 +22,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -public class FromFtpSimpleRelativeMoveToAbsoluteTest extends FtpServerTestSupport { +public class FromFtpSimpleRelativeMoveToAbsoluteIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/movefile?password=admin&recursive=true&binary=false" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSimpleRelativeMoveToAbsoluteNotStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSimpleRelativeMoveToAbsoluteNotStepwiseIT.java similarity index 86% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSimpleRelativeMoveToAbsoluteNotStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSimpleRelativeMoveToAbsoluteNotStepwiseIT.java index 6f8bb98a5f83d..0c1722b79b6de 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSimpleRelativeMoveToAbsoluteNotStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSimpleRelativeMoveToAbsoluteNotStepwiseIT.java @@ -14,9 +14,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; -public class FromFtpSimpleRelativeMoveToAbsoluteNotStepwiseTest extends FromFtpSimpleRelativeMoveToAbsoluteTest { +public class FromFtpSimpleRelativeMoveToAbsoluteNotStepwiseIT extends FromFtpSimpleRelativeMoveToAbsoluteIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSimpleRelativeMoveToRelativeTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSimpleRelativeMoveToRelativeIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSimpleRelativeMoveToRelativeTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSimpleRelativeMoveToRelativeIT.java index d7121e2eee325..dc8eb91c5bbfb 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSimpleRelativeMoveToRelativeTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSimpleRelativeMoveToRelativeIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; @@ -22,7 +22,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -public class FromFtpSimpleRelativeMoveToRelativeTest extends FtpServerTestSupport { +public class FromFtpSimpleRelativeMoveToRelativeIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/movefile?password=admin&recursive=true&binary=false" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSimpleRelativeMoveToRelativeNotStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSimpleRelativeMoveToRelativeNotStepwiseIT.java similarity index 86% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSimpleRelativeMoveToRelativeNotStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSimpleRelativeMoveToRelativeNotStepwiseIT.java index ea60c036f3468..6a52d5151c099 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSimpleRelativeMoveToRelativeNotStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSimpleRelativeMoveToRelativeNotStepwiseIT.java @@ -14,9 +14,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; -public class FromFtpSimpleRelativeMoveToRelativeNotStepwiseTest extends FromFtpSimpleRelativeMoveToRelativeTest { +public class FromFtpSimpleRelativeMoveToRelativeNotStepwiseIT extends FromFtpSimpleRelativeMoveToRelativeIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSimulateNetworkIssueRecoverTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSimulateNetworkIssueRecoverIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSimulateNetworkIssueRecoverTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSimulateNetworkIssueRecoverIT.java index 7ccf9a2918ee1..a48455316d812 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpSimulateNetworkIssueRecoverTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpSimulateNetworkIssueRecoverIT.java @@ -14,12 +14,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.BindToRegistry; import org.apache.camel.Consumer; import org.apache.camel.Endpoint; import org.apache.camel.builder.RouteBuilder; +import org.apache.camel.component.file.remote.RemoteFilePollingConsumerPollStrategy; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.Test; @@ -29,7 +30,7 @@ /** * Simulate network issues by using a custom poll strategy to force exceptions occurring during poll. */ -public class FromFtpSimulateNetworkIssueRecoverTest extends FtpServerTestSupport { +public class FromFtpSimulateNetworkIssueRecoverIT extends FtpServerTestSupport { private static int counter; private static int rollback; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpStartingDirAndFileNameClashTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpStartingDirAndFileNameClashIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpStartingDirAndFileNameClashTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpStartingDirAndFileNameClashIT.java index c338a289c1f52..2a26bddc7e983 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpStartingDirAndFileNameClashTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpStartingDirAndFileNameClashIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Endpoint; import org.apache.camel.Exchange; @@ -24,7 +24,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -public class FromFtpStartingDirAndFileNameClashTest extends FtpServerTestSupport { +public class FromFtpStartingDirAndFileNameClashIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/hello/?password=admin"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpThirdPoolOkTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpThirdPoolOkIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpThirdPoolOkTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpThirdPoolOkIT.java index 90d271d8d8116..c22a57351de9c 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpThirdPoolOkTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpThirdPoolOkIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -27,7 +27,7 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FromFtpThirdPoolOkTest extends FtpServerTestSupport { +public class FromFtpThirdPoolOkIT extends FtpServerTestSupport { private static int counter; private String body = "Hello World this file will be deleted"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpToAsciiFileTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpToAsciiFileIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpToAsciiFileTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpToAsciiFileIT.java index 1431fcbb3af47..2e9c2d721597f 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpToAsciiFileTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpToAsciiFileIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -31,7 +31,7 @@ /** * Unit test to verify that we can pool an ASCII file from the FTP Server and store it on a local file path */ -public class FromFtpToAsciiFileTest extends FtpServerTestSupport { +public class FromFtpToAsciiFileIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/tmp3/camel?password=admin&binary=false&fileExist=Override"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpToAsciiFileNoBodyConversionTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpToAsciiFileNoBodyConversionIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpToAsciiFileNoBodyConversionTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpToAsciiFileNoBodyConversionIT.java index 5d2bc78609022..711cb6e854a7f 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpToAsciiFileNoBodyConversionTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpToAsciiFileNoBodyConversionIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Endpoint; import org.apache.camel.Exchange; @@ -27,7 +27,7 @@ /** * Unit testing a FTP ASCII transfer that Camel provides the needed conversion to String from the input stream. */ -public class FromFtpToAsciiFileNoBodyConversionTest extends FtpServerTestSupport { +public class FromFtpToAsciiFileNoBodyConversionIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/tmp5/camel?password=admin&binary=false"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpToBinaryFileTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpToBinaryFileIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpToBinaryFileTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpToBinaryFileIT.java index 2cbe8cfbdfc8e..188eaffbb8488 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpToBinaryFileTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpToBinaryFileIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -32,7 +32,7 @@ /** * Unit test to verify that we can pool a BINARY file from the FTP Server and store it on a local file path */ -public class FromFtpToBinaryFileTest extends FtpServerTestSupport { +public class FromFtpToBinaryFileIT extends FtpServerTestSupport { // must user "consumer." prefix on the parameters to the file component private String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpToBinaryFilesTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpToBinaryFilesIT.java similarity index 97% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpToBinaryFilesTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpToBinaryFilesIT.java index 287abbdac78a0..baa39264199e7 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpToBinaryFilesTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpToBinaryFilesIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -32,7 +32,7 @@ /** * Unit test to verify that we can pool a BINARY file from the FTP Server and store it on a local file path */ -public class FromFtpToBinaryFilesTest extends FtpServerTestSupport { +public class FromFtpToBinaryFilesIT extends FtpServerTestSupport { // must user "consumer." prefix on the parameters to the file component private String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpToFileNoFileNameHeaderTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpToFileNoFileNameHeaderIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpToFileNoFileNameHeaderTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpToFileNoFileNameHeaderIT.java index 57c207a76a516..901f9ff8214b8 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpToFileNoFileNameHeaderTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpToFileNoFileNameHeaderIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Endpoint; import org.apache.camel.Exchange; @@ -28,7 +28,7 @@ * Unit test for consuming files from a FTP Server to files where we want to use the filename from the FTPServer instead * of explicit setting a filename using the file headername option. */ -public class FromFtpToFileNoFileNameHeaderTest extends FtpServerTestSupport { +public class FromFtpToFileNoFileNameHeaderIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/tmp3/camel?password=admin&binary=false"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpToMockTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpToMockIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpToMockTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpToMockIT.java index 7191ad574586b..c92a3e08d932a 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpToMockTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpToMockIT.java @@ -14,13 +14,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.Test; -public class FromFtpToMockTest extends FtpServerTestSupport { +public class FromFtpToMockIT extends FtpServerTestSupport { protected String expectedBody = "Hello there!"; private String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpTwoSlashesIssueTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpTwoSlashesIssueIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpTwoSlashesIssueTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpTwoSlashesIssueIT.java index b8ecd99c7707f..79475a1c63927 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpTwoSlashesIssueTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpTwoSlashesIssueIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -31,7 +31,7 @@ /** * Issue with using 2 slashes */ -public class FromFtpTwoSlashesIssueTest extends FtpServerTestSupport { +public class FromFtpTwoSlashesIssueIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}//?password=admin"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpUseListFalseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpUseListFalseIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpUseListFalseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpUseListFalseIT.java index 3a3be81f1c5c8..0491fc67f5ada 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromFtpUseListFalseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromFtpUseListFalseIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Endpoint; import org.apache.camel.Exchange; @@ -27,7 +27,7 @@ /** * Unit test to poll a fixed file from the FTP server without using the list command. */ -public class FromFtpUseListFalseTest extends FtpServerTestSupport { +public class FromFtpUseListFalseIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/nolist/?password=admin" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromQueueThenConsumeFtpToMockTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromQueueThenConsumeFtpToMockIT.java similarity index 97% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromQueueThenConsumeFtpToMockTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromQueueThenConsumeFtpToMockIT.java index a2ca13d71c48e..86dbf60b2d13a 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FromQueueThenConsumeFtpToMockTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FromQueueThenConsumeFtpToMockIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Endpoint; import org.apache.camel.Exchange; @@ -29,7 +29,7 @@ /** * Unit test based on user forum question */ -public class FromQueueThenConsumeFtpToMockTest extends FtpServerTestSupport { +public class FromQueueThenConsumeFtpToMockIT extends FtpServerTestSupport { // START SNIPPET: e1 // we use delay=5000 to use 5 sec delay between pools to avoid polling a diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpAnonymousTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpAnonymousIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpAnonymousTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpAnonymousIT.java index 6572e852d6d9a..5208f07ac2f0d 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpAnonymousTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpAnonymousIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; @@ -24,7 +24,7 @@ /** * Unit test that ftp consumer for anonymous login */ -public class FtpAnonymousTest extends FtpServerTestSupport { +public class FtpAnonymousIT extends FtpServerTestSupport { private String getFtpUrl(String user, String password) { StringBuilder url = new StringBuilder("ftp://"); diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpBadLoginConnectionLeakTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpBadLoginConnectionLeakIT.java similarity index 97% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpBadLoginConnectionLeakTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpBadLoginConnectionLeakIT.java index c2511addd6a70..70701388a2478 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpBadLoginConnectionLeakTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpBadLoginConnectionLeakIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.IOException; import java.net.InetAddress; @@ -33,7 +33,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpBadLoginConnectionLeakTest extends FtpServerTestSupport { +public class FtpBadLoginConnectionLeakIT extends FtpServerTestSupport { /** * Mapping of socket hashcode to two element tab ([connect() called, close() called]) diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpBadLoginInProducerConnectionLeakTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpBadLoginInProducerConnectionLeakIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpBadLoginInProducerConnectionLeakTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpBadLoginInProducerConnectionLeakIT.java index 07bec36835c15..9bf64c3269e7c 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpBadLoginInProducerConnectionLeakTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpBadLoginInProducerConnectionLeakIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.IOException; import java.net.InetAddress; @@ -31,7 +31,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpBadLoginInProducerConnectionLeakTest extends FtpServerTestSupport { +public class FtpBadLoginInProducerConnectionLeakIT extends FtpServerTestSupport { /** * Mapping of socket hashcode to two element tab ([connect() called, close() called]) diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpBadLoginMockNoopConnectionLeakTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpBadLoginMockNoopConnectionLeakIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpBadLoginMockNoopConnectionLeakTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpBadLoginMockNoopConnectionLeakIT.java index 325c8fa2ca9e6..d37427354c681 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpBadLoginMockNoopConnectionLeakTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpBadLoginMockNoopConnectionLeakIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.IOException; import java.net.InetAddress; @@ -27,6 +27,7 @@ import org.apache.camel.BindToRegistry; import org.apache.camel.builder.RouteBuilder; +import org.apache.camel.component.file.remote.FtpEndpoint; import org.apache.camel.component.mock.MockEndpoint; import org.apache.commons.net.ftp.FTPClient; import org.junit.jupiter.api.BeforeEach; @@ -40,9 +41,9 @@ /** * Test which checks leaking connections when FTP server returns correct status for NOOP operation. */ -public class FtpBadLoginMockNoopConnectionLeakTest extends FtpServerTestSupport { +public class FtpBadLoginMockNoopConnectionLeakIT extends FtpServerTestSupport { - private static final Logger LOG = LoggerFactory.getLogger(FtpBadLoginMockNoopConnectionLeakTest.class); + private static final Logger LOG = LoggerFactory.getLogger(FtpBadLoginMockNoopConnectionLeakIT.class); /** * Mapping of socket hashcode to two element tab ([connect() called, close() called]) diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpBrowsableEndpointTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpBrowsableEndpointIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpBrowsableEndpointTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpBrowsableEndpointIT.java index a832cdca07ce1..3ce89806629fc 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpBrowsableEndpointTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpBrowsableEndpointIT.java @@ -14,12 +14,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.nio.file.Path; import java.util.List; import org.apache.camel.Exchange; +import org.apache.camel.component.file.remote.FtpEndpoint; import org.apache.camel.spi.BrowsableEndpoint; import org.apache.camel.support.processor.idempotent.MemoryIdempotentRepository; import org.junit.jupiter.api.BeforeEach; @@ -33,7 +34,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; @TestInstance(TestInstance.Lifecycle.PER_CLASS) -public class FtpBrowsableEndpointTest extends FtpServerTestSupport { +public class FtpBrowsableEndpointIT extends FtpServerTestSupport { private Path browseDir; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpChangedReadLockFastExistCheckTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpChangedReadLockFastExistCheckIT.java similarity index 88% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpChangedReadLockFastExistCheckTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpChangedReadLockFastExistCheckIT.java index 991ee4387197e..7b662c454a269 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpChangedReadLockFastExistCheckTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpChangedReadLockFastExistCheckIT.java @@ -14,12 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; /** * */ -public class FtpChangedReadLockFastExistCheckTest extends FtpChangedReadLockTest { +public class FtpChangedReadLockFastExistCheckIT extends FtpChangedReadLockIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpChangedReadLockTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpChangedReadLockIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpChangedReadLockTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpChangedReadLockIT.java index 0e6412b2e6cce..fc8ed0593e6e4 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpChangedReadLockTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpChangedReadLockIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.FileOutputStream; @@ -30,9 +30,9 @@ /** * */ -public class FtpChangedReadLockTest extends FtpServerTestSupport { +public class FtpChangedReadLockIT extends FtpServerTestSupport { - private static final Logger LOG = LoggerFactory.getLogger(FtpChangedReadLockTest.class); + private static final Logger LOG = LoggerFactory.getLogger(FtpChangedReadLockIT.class); protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpChangedReadLockLoggingLevelTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpChangedReadLockLoggingLevelIT.java similarity index 87% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpChangedReadLockLoggingLevelTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpChangedReadLockLoggingLevelIT.java index 97939d63f6336..b255fc46ac733 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpChangedReadLockLoggingLevelTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpChangedReadLockLoggingLevelIT.java @@ -14,12 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; /** * */ -public class FtpChangedReadLockLoggingLevelTest extends FtpChangedReadLockTest { +public class FtpChangedReadLockLoggingLevelIT extends FtpChangedReadLockIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpChangedReadLockTimeoutTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpChangedReadLockTimeoutIT.java similarity index 88% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpChangedReadLockTimeoutTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpChangedReadLockTimeoutIT.java index fdc3ad6972ad8..b1f9b2597ce59 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpChangedReadLockTimeoutTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpChangedReadLockTimeoutIT.java @@ -14,12 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; /** * */ -public class FtpChangedReadLockTimeoutTest extends FtpChangedReadLockTest { +public class FtpChangedReadLockTimeoutIT extends FtpChangedReadLockIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpChangedRootDirReadLockFastExistCheckTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpChangedRootDirReadLockFastExistCheckIT.java similarity index 87% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpChangedRootDirReadLockFastExistCheckTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpChangedRootDirReadLockFastExistCheckIT.java index dea82299f8fc0..615867d5807ae 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpChangedRootDirReadLockFastExistCheckTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpChangedRootDirReadLockFastExistCheckIT.java @@ -14,12 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; /** * */ -public class FtpChangedRootDirReadLockFastExistCheckTest extends FtpChangedRootDirReadLockTest { +public class FtpChangedRootDirReadLockFastExistCheckIT extends FtpChangedRootDirReadLockIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpChangedRootDirReadLockTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpChangedRootDirReadLockIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpChangedRootDirReadLockTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpChangedRootDirReadLockIT.java index 6a2b027654624..f77c01640e79b 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpChangedRootDirReadLockTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpChangedRootDirReadLockIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.FileOutputStream; import java.nio.file.Files; @@ -32,9 +32,9 @@ /** * */ -public class FtpChangedRootDirReadLockTest extends FtpServerTestSupport { +public class FtpChangedRootDirReadLockIT extends FtpServerTestSupport { - private static final Logger LOG = LoggerFactory.getLogger(FtpChangedRootDirReadLockTest.class); + private static final Logger LOG = LoggerFactory.getLogger(FtpChangedRootDirReadLockIT.class); protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpChangedZeroLengthReadLockTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpChangedZeroLengthReadLockIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpChangedZeroLengthReadLockTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpChangedZeroLengthReadLockIT.java index 3f1ddd9b99dcc..69e3c460acf4f 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpChangedZeroLengthReadLockTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpChangedZeroLengthReadLockIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.FileOutputStream; @@ -27,7 +27,7 @@ /** * */ -public class FtpChangedZeroLengthReadLockTest extends FtpServerTestSupport { +public class FtpChangedZeroLengthReadLockIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConnectTimeoutTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConnectTimeoutIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConnectTimeoutTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConnectTimeoutIT.java index 46b18632e4d44..b8b40721add81 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConnectTimeoutTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConnectTimeoutIT.java @@ -14,13 +14,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.Test; -public class FtpConnectTimeoutTest extends FtpServerTestSupport { +public class FtpConnectTimeoutIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/timeout/?password=admin&connectTimeout=2000"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerAbsolutePathTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerAbsolutePathIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerAbsolutePathTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerAbsolutePathIT.java index 1c677aa6b2d00..b967f644acba8 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerAbsolutePathTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerAbsolutePathIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Endpoint; import org.apache.camel.Exchange; @@ -27,7 +27,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals; -public class FtpConsumerAbsolutePathTest extends FtpServerTestSupport { +public class FtpConsumerAbsolutePathIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}///foo?password=admin&delay=5000"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerAsyncStressTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerAsyncStressIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerAsyncStressTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerAsyncStressIT.java index f5f2611dcd525..a0803d0de9ce2 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerAsyncStressTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerAsyncStressIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.security.SecureRandom; @@ -25,7 +25,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -public class FtpConsumerAsyncStressTest extends FtpServerTestSupport { +public class FtpConsumerAsyncStressIT extends FtpServerTestSupport { private int files = 100; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerAutoCreateTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerAutoCreateIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerAutoCreateTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerAutoCreateIT.java index 39aa1d307fa98..0fbb37dea5159 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerAutoCreateTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerAutoCreateIT.java @@ -14,9 +14,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.component.file.GenericFileOperationFailedException; +import org.apache.camel.component.file.remote.FtpEndpoint; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.TestInstance; @@ -26,7 +27,7 @@ import static org.junit.jupiter.api.Assertions.fail; @TestInstance(TestInstance.Lifecycle.PER_CLASS) -public class FtpConsumerAutoCreateTest extends FtpServerTestSupport { +public class FtpConsumerAutoCreateIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}///foo/bar/baz/xxx?password=admin"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerBodyAsStringTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerBodyAsStringIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerBodyAsStringTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerBodyAsStringIT.java index 378c3e19811dc..e5f818609452c 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerBodyAsStringTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerBodyAsStringIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Endpoint; import org.apache.camel.Exchange; @@ -28,7 +28,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; -public class FtpConsumerBodyAsStringTest extends FtpServerTestSupport { +public class FtpConsumerBodyAsStringIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/tmp4/camel?password=admin&delay=5000"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDeleteNoWritePermissionTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerDeleteNoWritePermissionIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDeleteNoWritePermissionTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerDeleteNoWritePermissionIT.java index d8b821aba38cd..884d5afe72afd 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDeleteNoWritePermissionTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerDeleteNoWritePermissionIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.PollingConsumer; @@ -27,7 +27,7 @@ /** * User does not have write permissions so can't deleted consumed file. */ -public class FtpConsumerDeleteNoWritePermissionTest extends FtpServerTestSupport { +public class FtpConsumerDeleteNoWritePermissionIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://dummy@localhost:{{ftp.server.port}}/deletenoperm?password=foo" + "&delete=true&delay=5000"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDirectoriesNotMatchedTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerDirectoriesNotMatchedIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDirectoriesNotMatchedTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerDirectoriesNotMatchedIT.java index 14fc2bb11073e..7b36fe19b9c04 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDirectoriesNotMatchedTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerDirectoriesNotMatchedIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; @@ -24,7 +24,7 @@ /** * Unit test that ftp consumer will not match directories (CAMEL-920) */ -public class FtpConsumerDirectoriesNotMatchedTest extends FtpServerTestSupport { +public class FtpConsumerDirectoriesNotMatchedIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/dirnotmatched/?password=admin" + "&recursive=true&include=^.*txt$"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDisconnectTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerDisconnectIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDisconnectTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerDisconnectIT.java index be847a41b91e9..c26ce51c68004 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDisconnectTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerDisconnectIT.java @@ -14,9 +14,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; +import org.apache.camel.component.file.remote.FtpEndpoint; import org.apache.commons.net.ftp.FTPClient; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; @@ -24,7 +25,7 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpConsumerDisconnectTest extends FtpServerTestSupport { +public class FtpConsumerDisconnectIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/done?password=admin&disconnect=true&delay=5000"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDoneFileNameFixedTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerDoneFileNameFixedIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDoneFileNameFixedTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerDoneFileNameFixedIT.java index f4b1e08d32708..fd9a6d705911a 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDoneFileNameFixedTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerDoneFileNameFixedIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -24,7 +24,7 @@ import static org.junit.jupiter.api.Assertions.assertFalse; -public class FtpConsumerDoneFileNameFixedTest extends FtpServerTestSupport { +public class FtpConsumerDoneFileNameFixedIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/done?password=admin&initialDelay=0&delay=100&stepwise=false"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDoneFileNameFixedStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerDoneFileNameFixedStepwiseIT.java similarity index 86% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDoneFileNameFixedStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerDoneFileNameFixedStepwiseIT.java index ef54a033ddbc6..d1247d7b3afc4 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDoneFileNameFixedStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerDoneFileNameFixedStepwiseIT.java @@ -14,9 +14,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; -public class FtpConsumerDoneFileNameFixedStepwiseTest extends FtpConsumerDoneFileNameFixedTest { +public class FtpConsumerDoneFileNameFixedStepwiseIT extends FtpConsumerDoneFileNameFixedIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDoneFileNameTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerDoneFileNameIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDoneFileNameTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerDoneFileNameIT.java index 117f953171226..ad468ba7b5079 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDoneFileNameTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerDoneFileNameIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -24,7 +24,7 @@ import static org.junit.jupiter.api.Assertions.assertFalse; -public class FtpConsumerDoneFileNameTest extends FtpServerTestSupport { +public class FtpConsumerDoneFileNameIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/done?password=admin&initialDelay=0&delay=100&stepwise=false"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDoneFileNameStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerDoneFileNameStepwiseIT.java similarity index 87% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDoneFileNameStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerDoneFileNameStepwiseIT.java index 13c55aac42af1..fcefb0d02ff6d 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDoneFileNameStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerDoneFileNameStepwiseIT.java @@ -14,9 +14,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; -public class FtpConsumerDoneFileNameStepwiseTest extends FtpConsumerDoneFileNameTest { +public class FtpConsumerDoneFileNameStepwiseIT extends FtpConsumerDoneFileNameIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDualDoneFileNameTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerDualDoneFileNameIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDualDoneFileNameTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerDualDoneFileNameIT.java index 55f6626472727..d5434224130fb 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerDualDoneFileNameTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerDualDoneFileNameIT.java @@ -14,13 +14,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; import org.junit.jupiter.api.Test; -public class FtpConsumerDualDoneFileNameTest extends FtpServerTestSupport { +public class FtpConsumerDualDoneFileNameIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/done?password=admin&initialDelay=0&delay=100&stepwise=false"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerExcludeExtTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerExcludeExtIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerExcludeExtTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerExcludeExtIT.java index 8a9d552b68b57..b69d298ff711a 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerExcludeExtTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerExcludeExtIT.java @@ -14,14 +14,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -public class FtpConsumerExcludeExtTest extends FtpServerTestSupport { +public class FtpConsumerExcludeExtIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/includename?password=admin" + "&excludeExt=xml"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerExcludeNameTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerExcludeNameIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerExcludeNameTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerExcludeNameIT.java index 7c083ef09d7cc..60d4419f25535 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerExcludeNameTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerExcludeNameIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; @@ -24,7 +24,7 @@ /** * Unit test that ftp consumer will exclude pre and postfixes */ -public class FtpConsumerExcludeNameTest extends FtpServerTestSupport { +public class FtpConsumerExcludeNameIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/excludename?password=admin" + "&exclude=secret.*|.*xml"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerFileSplitTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerFileSplitIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerFileSplitTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerFileSplitIT.java index b61507a0b827e..31c3eccf19a0c 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerFileSplitTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerFileSplitIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -23,7 +23,7 @@ import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.Test; -public class FtpConsumerFileSplitTest extends FtpServerTestSupport { +public class FtpConsumerFileSplitIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/incoming/?password=admin&delete=true"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIPV6BodyAsStringTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerIPV6BodyAsStringIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIPV6BodyAsStringTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerIPV6BodyAsStringIT.java index cc3bbc354ebfb..d62a5c43d8768 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIPV6BodyAsStringTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerIPV6BodyAsStringIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Endpoint; import org.apache.camel.Exchange; @@ -30,7 +30,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; @Disabled -public class FtpConsumerIPV6BodyAsStringTest extends FtpServerTestSupport { +public class FtpConsumerIPV6BodyAsStringIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@[::1]:{{ftp.server.port}}/tmp4/camel?password=admin&delay=5000"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIdempotentTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerIdempotentIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIdempotentTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerIdempotentIT.java index 80d3ab2418720..fa715e427da11 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIdempotentTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerIdempotentIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; @@ -23,7 +23,7 @@ /** * Unit test for the idempotent=true option. */ -public class FtpConsumerIdempotentTest extends FtpServerTestSupport { +public class FtpConsumerIdempotentIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIdempotentKeyChangedIssueTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerIdempotentKeyChangedIssueIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIdempotentKeyChangedIssueTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerIdempotentKeyChangedIssueIT.java index b5a0ad544bfbe..de8d610af33e2 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIdempotentKeyChangedIssueTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerIdempotentKeyChangedIssueIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.util.concurrent.TimeUnit; @@ -24,7 +24,7 @@ import org.apache.camel.builder.RouteBuilder; import org.junit.jupiter.api.Test; -public class FtpConsumerIdempotentKeyChangedIssueTest extends FtpServerTestSupport { +public class FtpConsumerIdempotentKeyChangedIssueIT extends FtpServerTestSupport { private Endpoint endpoint; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIdempotentMemoryRefTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerIdempotentMemoryRefIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIdempotentMemoryRefTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerIdempotentMemoryRefIT.java index ba19f760b2ad5..f76dbd8cc3beb 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIdempotentMemoryRefTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerIdempotentMemoryRefIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.BindToRegistry; import org.apache.camel.builder.NotifyBuilder; @@ -28,7 +28,7 @@ /** * Memory repo test */ -public class FtpConsumerIdempotentMemoryRefTest extends FtpServerTestSupport { +public class FtpConsumerIdempotentMemoryRefIT extends FtpServerTestSupport { private MemoryIdempotentRepository repo; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIdempotentRefTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerIdempotentRefIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIdempotentRefTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerIdempotentRefIT.java index b3eb2c3e6af69..96720e9225a5b 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIdempotentRefTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerIdempotentRefIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.BindToRegistry; import org.apache.camel.builder.RouteBuilder; @@ -28,7 +28,7 @@ /** * Unit test for the idempotentRepository # option. */ -public class FtpConsumerIdempotentRefTest extends FtpServerTestSupport { +public class FtpConsumerIdempotentRefIT extends FtpServerTestSupport { private static boolean invoked; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIncludeExtTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerIncludeExtIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIncludeExtTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerIncludeExtIT.java index 288db89f81c37..39e1c587a6ed5 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIncludeExtTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerIncludeExtIT.java @@ -14,14 +14,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -public class FtpConsumerIncludeExtTest extends FtpServerTestSupport { +public class FtpConsumerIncludeExtIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/includename?password=admin" + "&includeExt=txt,dat"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIncludeNameTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerIncludeNameIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIncludeNameTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerIncludeNameIT.java index 36b1a2acbbeae..e29f9ebbefef1 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerIncludeNameTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerIncludeNameIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; @@ -24,7 +24,7 @@ /** * Unit test that ftp consumer will include pre and postfixes */ -public class FtpConsumerIncludeNameTest extends FtpServerTestSupport { +public class FtpConsumerIncludeNameIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/includename?password=admin" + "&include=report.*&exclude=.*xml"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerLocalWorkDirectoryAsAbsolutePathTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerLocalWorkDirectoryAsAbsolutePathIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerLocalWorkDirectoryAsAbsolutePathTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerLocalWorkDirectoryAsAbsolutePathIT.java index 2da5c75db9e2f..4b2aa4e8a44ac 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerLocalWorkDirectoryAsAbsolutePathTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerLocalWorkDirectoryAsAbsolutePathIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; import java.nio.file.Path; @@ -35,7 +35,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpConsumerLocalWorkDirectoryAsAbsolutePathTest extends FtpServerTestSupport { +public class FtpConsumerLocalWorkDirectoryAsAbsolutePathIT extends FtpServerTestSupport { private Path base; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerLocalWorkDirectoryDirectTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerLocalWorkDirectoryDirectIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerLocalWorkDirectoryDirectTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerLocalWorkDirectoryDirectIT.java index 8f7ff7ca42f23..d1db59c9c5d9c 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerLocalWorkDirectoryDirectTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerLocalWorkDirectoryDirectIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Endpoint; import org.apache.camel.Exchange; @@ -28,7 +28,7 @@ import static org.apache.camel.test.junit5.TestSupport.assertFileNotExists; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpConsumerLocalWorkDirectoryDirectTest extends FtpServerTestSupport { +public class FtpConsumerLocalWorkDirectoryDirectIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/lwd/?password=admin&delay=5000" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerLocalWorkDirectoryTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerLocalWorkDirectoryIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerLocalWorkDirectoryTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerLocalWorkDirectoryIT.java index 5c94e19ab4ad2..e1ef761dc17ac 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerLocalWorkDirectoryTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerLocalWorkDirectoryIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -35,7 +35,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpConsumerLocalWorkDirectoryTest extends FtpServerTestSupport { +public class FtpConsumerLocalWorkDirectoryIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/lwd/?password=admin" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerLocalWorkDirectoryWorkOnPayloadTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerLocalWorkDirectoryWorkOnPayloadIT.java similarity index 90% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerLocalWorkDirectoryWorkOnPayloadTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerLocalWorkDirectoryWorkOnPayloadIT.java index d8a51e7309e54..aa3e6095002aa 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerLocalWorkDirectoryWorkOnPayloadTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerLocalWorkDirectoryWorkOnPayloadIT.java @@ -14,13 +14,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.Processor; import org.apache.camel.builder.RouteBuilder; -public class FtpConsumerLocalWorkDirectoryWorkOnPayloadTest extends FtpConsumerLocalWorkDirectoryTest { +public class FtpConsumerLocalWorkDirectoryWorkOnPayloadIT extends FtpConsumerLocalWorkDirectoryIT { @Override protected RouteBuilder createRouteBuilder() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerMaxMessagesPerPollTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerMaxMessagesPerPollIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerMaxMessagesPerPollTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerMaxMessagesPerPollIT.java index 3b2ecb3db7861..2d5d5fa0709c9 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerMaxMessagesPerPollTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerMaxMessagesPerPollIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; @@ -22,7 +22,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -public class FtpConsumerMaxMessagesPerPollTest extends FtpServerTestSupport { +public class FtpConsumerMaxMessagesPerPollIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/poll/?password=admin&delay=6000&delete=true&sortBy=file:name&maxMessagesPerPoll=2"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerMoveExpressionTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerMoveExpressionIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerMoveExpressionTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerMoveExpressionIT.java index 35ebb17ae38b9..b3d84683aa8df 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerMoveExpressionTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerMoveExpressionIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.text.SimpleDateFormat; import java.util.Date; @@ -29,7 +29,7 @@ /** * Unit test for FTP using expression (file language) */ -public class FtpConsumerMoveExpressionTest extends FtpServerTestSupport { +public class FtpConsumerMoveExpressionIT extends FtpServerTestSupport { @BindToRegistry("myguidgenerator") private MyGuidGenerator guid = new MyGuidGenerator(); diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerMultipleDirectoriesTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerMultipleDirectoriesIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerMultipleDirectoriesTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerMultipleDirectoriesIT.java index f5744a4901238..c8090588b7193 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerMultipleDirectoriesTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerMultipleDirectoriesIT.java @@ -14,11 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.file.FileComponent; +import org.apache.camel.component.file.remote.RemoteFile; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; @@ -27,7 +28,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertNotNull; -public class FtpConsumerMultipleDirectoriesTest extends FtpServerTestSupport { +public class FtpConsumerMultipleDirectoriesIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/multidir/?password=admin&recursive=true&delay=5000&sortBy=file:path"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerNotEagerMaxMessagesPerPollTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerNotEagerMaxMessagesPerPollIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerNotEagerMaxMessagesPerPollTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerNotEagerMaxMessagesPerPollIT.java index 85b8622439ffc..bbc836c5b86f6 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerNotEagerMaxMessagesPerPollTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerNotEagerMaxMessagesPerPollIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; @@ -22,7 +22,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -public class FtpConsumerNotEagerMaxMessagesPerPollTest extends FtpServerTestSupport { +public class FtpConsumerNotEagerMaxMessagesPerPollIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/poll/?password=admin&delay=6000&delete=true" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerPostProcessingOnDisconnect.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerPostProcessingOnDisconnectIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerPostProcessingOnDisconnect.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerPostProcessingOnDisconnectIT.java index 4bf8fc284a6d4..24e48d5b93729 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerPostProcessingOnDisconnect.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerPostProcessingOnDisconnectIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.IOException; import java.nio.file.Files; @@ -27,11 +27,11 @@ import static org.apache.camel.test.junit5.TestSupport.assertFileNotExists; -public class FtpConsumerPostProcessingOnDisconnect extends FtpServerTestSupport { +public class FtpConsumerPostProcessingOnDisconnectIT extends FtpServerTestSupport { private static final String SAMPLE_FILE_NAME_1 = String.format("sample-1-%s.txt", - FtpConsumerPostProcessingOnDisconnect.class.getSimpleName()); + FtpConsumerPostProcessingOnDisconnectIT.class.getSimpleName()); private static final String SAMPLE_FILE_NAME_2 = String.format("sample-2-%s.txt", - FtpConsumerPostProcessingOnDisconnect.class.getSimpleName()); + FtpConsumerPostProcessingOnDisconnectIT.class.getSimpleName()); private static final String SAMPLE_FILE_CHARSET = "iso-8859-1"; private static final String SAMPLE_FILE_PAYLOAD = "abc"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerProcessStrategyTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerProcessStrategyIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerProcessStrategyTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerProcessStrategyIT.java index b860cb335f2a6..ad24d6fba74b1 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerProcessStrategyTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerProcessStrategyIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.BindToRegistry; import org.apache.camel.Exchange; @@ -28,7 +28,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpConsumerProcessStrategyTest extends FtpServerTestSupport { +public class FtpConsumerProcessStrategyIT extends FtpServerTestSupport { @BindToRegistry("myStrategy") private MyStrategy myStrategy = new MyStrategy(); diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerRelativeFileNameTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerRelativeFileNameIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerRelativeFileNameTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerRelativeFileNameIT.java index 1b0f81ec19e76..12502d37995fa 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerRelativeFileNameTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerRelativeFileNameIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; @@ -24,7 +24,7 @@ import static org.apache.camel.test.junit5.TestSupport.assertDirectoryEquals; -public class FtpConsumerRelativeFileNameTest extends FtpServerTestSupport { +public class FtpConsumerRelativeFileNameIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerReplyStringTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerReplyStringIT.java similarity index 90% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerReplyStringTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerReplyStringIT.java index 4f8f915afd59b..a0511fc59ad24 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerReplyStringTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerReplyStringIT.java @@ -14,14 +14,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; +import org.apache.camel.component.file.remote.FtpConstants; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.Test; -public class FtpConsumerReplyStringTest extends FtpServerTestSupport { +public class FtpConsumerReplyStringIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/reply?password=admin"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerResumeDownloadTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerResumeDownloadIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerResumeDownloadTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerResumeDownloadIT.java index d4f85b3b38bc9..21b50877c9ed9 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerResumeDownloadTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerResumeDownloadIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.nio.file.Files; import java.nio.file.Path; @@ -30,7 +30,7 @@ import static org.apache.camel.test.junit5.TestSupport.createDirectory; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpConsumerResumeDownloadTest extends FtpServerTestSupport { +public class FtpConsumerResumeDownloadIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/myserver/?password=admin&localWorkDirectory=" + testDirectory("lwd") diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerSkipDotFilesTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerSkipDotFilesIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerSkipDotFilesTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerSkipDotFilesIT.java index cd4d209827730..0296a76afb218 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerSkipDotFilesTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerSkipDotFilesIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; @@ -24,7 +24,7 @@ /** * Unit test that ftp consumer will skip any files starting with a dot */ -public class FtpConsumerSkipDotFilesTest extends FtpServerTestSupport { +public class FtpConsumerSkipDotFilesIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/dotfiles?password=admin"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerTemplateTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerTemplateIT.java similarity index 97% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerTemplateTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerTemplateIT.java index 6e9e93522410c..60113771b318b 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerTemplateTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerTemplateIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -29,7 +29,7 @@ import static org.junit.jupiter.api.Assertions.assertNull; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpConsumerTemplateTest extends FtpServerTestSupport { +public class FtpConsumerTemplateIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/template?password=admin"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerTemplateUseListFalseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerTemplateUseListFalseIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerTemplateUseListFalseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerTemplateUseListFalseIT.java index 1ed7b8503f802..075534fec0ad6 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerTemplateUseListFalseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerTemplateUseListFalseIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Endpoint; import org.apache.camel.Exchange; @@ -28,7 +28,7 @@ /** * Unit test to poll a fixed file from the FTP server without using the list command. */ -public class FtpConsumerTemplateUseListFalseTest extends FtpServerTestSupport { +public class FtpConsumerTemplateUseListFalseIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/nolist/?password=admin" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerThrowExceptionOnLoginFailedTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerThrowExceptionOnLoginFailedIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerThrowExceptionOnLoginFailedTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerThrowExceptionOnLoginFailedIT.java index dde60f9ced129..67e7a2f9c1866 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerThrowExceptionOnLoginFailedTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerThrowExceptionOnLoginFailedIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.util.concurrent.CountDownLatch; import java.util.concurrent.TimeUnit; @@ -35,7 +35,7 @@ /** * Unit test for login failure due bad password and no re connect attempts allowed */ -public class FtpConsumerThrowExceptionOnLoginFailedTest extends FtpServerTestSupport { +public class FtpConsumerThrowExceptionOnLoginFailedIT extends FtpServerTestSupport { private CountDownLatch latch = new CountDownLatch(1); diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerUsingFTPClientConfigTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerUsingFTPClientConfigIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerUsingFTPClientConfigTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerUsingFTPClientConfigIT.java index 1e06bf68fb99b..3c18f139d258a 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerUsingFTPClientConfigTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerUsingFTPClientConfigIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.BindToRegistry; import org.apache.camel.builder.RouteBuilder; @@ -26,7 +26,7 @@ /** * Unit test for ftpClientConfig option. */ -public class FtpConsumerUsingFTPClientConfigTest extends FtpServerTestSupport { +public class FtpConsumerUsingFTPClientConfigIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/clientconfig?password=admin&ftpClientConfig=#myConfig"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerWithCharsetTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerWithCharsetIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerWithCharsetTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerWithCharsetIT.java index 03f7beceef381..7a1a1475e0152 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerWithCharsetTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerWithCharsetIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; import java.io.FileInputStream; @@ -24,6 +24,7 @@ import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.file.FileComponent; +import org.apache.camel.component.file.remote.RemoteFile; import org.apache.camel.component.mock.MockEndpoint; import org.apache.camel.util.IOHelper; import org.junit.jupiter.api.BeforeEach; @@ -36,9 +37,9 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpConsumerWithCharsetTest extends FtpServerTestSupport { +public class FtpConsumerWithCharsetIT extends FtpServerTestSupport { - private static final Logger LOG = LoggerFactory.getLogger(FtpConsumerWithCharsetTest.class); + private static final Logger LOG = LoggerFactory.getLogger(FtpConsumerWithCharsetIT.class); private final String payload = "\u00e6\u00f8\u00e5 \u00a9"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerWithNoFileOptionTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerWithNoFileOptionIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerWithNoFileOptionTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerWithNoFileOptionIT.java index ff78f4afcc4f5..1c9a06a9b5ccb 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpConsumerWithNoFileOptionTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpConsumerWithNoFileOptionIT.java @@ -14,11 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.file.FileComponent; +import org.apache.camel.component.file.remote.RemoteFile; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; @@ -29,7 +30,7 @@ /** * Unit test CAMEL-1247 */ -public class FtpConsumerWithNoFileOptionTest extends FtpServerTestSupport { +public class FtpConsumerWithNoFileOptionIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}?password=admin&delay=5000"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpEndpointURISanitizedTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpEndpointURISanitizedIT.java similarity index 85% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpEndpointURISanitizedTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpEndpointURISanitizedIT.java index b8f6293bc990d..2d591a7f99fd1 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpEndpointURISanitizedTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpEndpointURISanitizedIT.java @@ -14,11 +14,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Consumer; import org.apache.camel.Endpoint; import org.apache.camel.Producer; +import org.apache.camel.component.file.remote.FtpEndpoint; +import org.hamcrest.MatcherAssert; import org.junit.jupiter.api.Test; import static org.hamcrest.CoreMatchers.equalTo; @@ -28,7 +30,7 @@ /** * Test to ensure the FtpEndpoint URI is sanitized. */ -public class FtpEndpointURISanitizedTest extends FtpServerTestSupport { +public class FtpEndpointURISanitizedIT extends FtpServerTestSupport { private String password = "secret"; @@ -39,7 +41,7 @@ protected String getFtpUrl() { @Test public void testFtpDirectoryRelative() throws Exception { Endpoint endpoint = context.getEndpoint(getFtpUrl()); - assertThat(((FtpEndpoint) endpoint).getConfiguration().getDirectoryName(), equalTo("foo")); + MatcherAssert.assertThat(((FtpEndpoint) endpoint).getConfiguration().getDirectoryName(), equalTo("foo")); } @Test diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpLoginTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpLoginIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpLoginTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpLoginIT.java index 4c4badf498dce..3a6be93a0e719 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpLoginTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpLoginIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -32,7 +32,7 @@ /** * Unit test for login failure due bad password and login with accepted password */ -public class FtpLoginTest extends FtpServerTestSupport { +public class FtpLoginIT extends FtpServerTestSupport { @Test public void testBadLogin() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpLoginNoRetryTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpLoginNoRetryIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpLoginNoRetryTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpLoginNoRetryIT.java index 178f7578204b1..909c9761a5d8e 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpLoginNoRetryTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpLoginNoRetryIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -31,7 +31,7 @@ /** * Unit test for login failure due bad password and no re connect attempts */ -public class FtpLoginNoRetryTest extends FtpServerTestSupport { +public class FtpLoginNoRetryIT extends FtpServerTestSupport { @Test public void testBadLogin() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpNoReconnectAttemptUnknownHostTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpNoReconnectAttemptUnknownHostIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpNoReconnectAttemptUnknownHostTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpNoReconnectAttemptUnknownHostIT.java index aa34695ba98f2..33fbea4c51138 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpNoReconnectAttemptUnknownHostTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpNoReconnectAttemptUnknownHostIT.java @@ -14,13 +14,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.Test; -public class FtpNoReconnectAttemptUnknownHostTest extends FtpServerTestSupport { +public class FtpNoReconnectAttemptUnknownHostIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@doesnotexisthost:{{ftp.server.port}}/reconnect?maximumReconnectAttempts=0&password=admin"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpPollEnrichBridgeErrorHandlerTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpPollEnrichBridgeErrorHandlerIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpPollEnrichBridgeErrorHandlerTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpPollEnrichBridgeErrorHandlerIT.java index d15c6700fcaf6..f4fa4e4f2a4df 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpPollEnrichBridgeErrorHandlerTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpPollEnrichBridgeErrorHandlerIT.java @@ -14,12 +14,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.AggregationStrategy; import org.apache.camel.Exchange; import org.apache.camel.RoutesBuilder; import org.apache.camel.builder.RouteBuilder; +import org.apache.camel.component.file.remote.BaseServerTestSupport; import org.apache.camel.component.file.remote.services.FtpEmbeddedService; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.RegisterExtension; @@ -27,7 +28,7 @@ import static org.apache.camel.support.ExchangeHelper.copyResultsPreservePattern; import static org.junit.jupiter.api.Assertions.assertNotNull; -public class FtpPollEnrichBridgeErrorHandlerTest extends BaseServerTestSupport { +public class FtpPollEnrichBridgeErrorHandlerIT extends BaseServerTestSupport { @RegisterExtension static FtpEmbeddedService service = new FtpEmbeddedService(); diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpPollEnrichConsumeWithDisconnectAndDeleteTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpPollEnrichConsumeWithDisconnectAndDeleteIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpPollEnrichConsumeWithDisconnectAndDeleteTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpPollEnrichConsumeWithDisconnectAndDeleteIT.java index 580001419bc3f..926c8e3d71a17 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpPollEnrichConsumeWithDisconnectAndDeleteTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpPollEnrichConsumeWithDisconnectAndDeleteIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -28,9 +28,9 @@ import static org.junit.jupiter.api.Assertions.assertFalse; -public class FtpPollEnrichConsumeWithDisconnectAndDeleteTest extends FtpServerTestSupport { +public class FtpPollEnrichConsumeWithDisconnectAndDeleteIT extends FtpServerTestSupport { - private static final Logger LOG = LoggerFactory.getLogger(FtpPollEnrichConsumeWithDisconnectAndDeleteTest.class); + private static final Logger LOG = LoggerFactory.getLogger(FtpPollEnrichConsumeWithDisconnectAndDeleteIT.class); @Test public void testFtpSimpleConsume() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpPollingConsumerTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpPollingConsumerIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpPollingConsumerTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpPollingConsumerIT.java index 408b3902e750f..83e1c5a5cda60 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpPollingConsumerTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpPollingConsumerIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -29,7 +29,7 @@ /** * */ -public class FtpPollingConsumerTest extends FtpServerTestSupport { +public class FtpPollingConsumerIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/polling?password=admin"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpPollingConsumerIdleMessageTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpPollingConsumerIdleMessageIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpPollingConsumerIdleMessageTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpPollingConsumerIdleMessageIT.java index 9be4e6cded8d3..0b6cadb296d4d 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpPollingConsumerIdleMessageTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpPollingConsumerIdleMessageIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; @@ -27,7 +27,7 @@ * Test to verify that the polling consumer delivers an empty Exchange when the sendEmptyMessageWhenIdle property is set * and a polling event yields no results. */ -public class FtpPollingConsumerIdleMessageTest extends FtpServerTestSupport { +public class FtpPollingConsumerIdleMessageIT extends FtpServerTestSupport { @Test public void testConsumeIdleMessages() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerAllowNullBodyFileAlreadyExistTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerAllowNullBodyFileAlreadyExistIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerAllowNullBodyFileAlreadyExistTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerAllowNullBodyFileAlreadyExistIT.java index 9cd00a7fcb641..5b09681e99cf6 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerAllowNullBodyFileAlreadyExistTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerAllowNullBodyFileAlreadyExistIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; @@ -22,7 +22,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -public class FtpProducerAllowNullBodyFileAlreadyExistTest extends FtpServerTestSupport { +public class FtpProducerAllowNullBodyFileAlreadyExistIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/allow?password=admin"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerAllowNullBodyTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerAllowNullBodyIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerAllowNullBodyTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerAllowNullBodyIT.java index e6c9b67f0a3d1..c49ff30caf723 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerAllowNullBodyTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerAllowNullBodyIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.CamelExecutionException; import org.apache.camel.component.file.GenericFileOperationFailedException; @@ -26,7 +26,7 @@ import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpProducerAllowNullBodyTest extends FtpServerTestSupport { +public class FtpProducerAllowNullBodyIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/allownull?password=admin&fileName=allowNullBody.txt"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerBuildDirectoryTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerBuildDirectoryIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerBuildDirectoryTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerBuildDirectoryIT.java index 6ec34a060ae52..006cfb377077c 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerBuildDirectoryTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerBuildDirectoryIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -27,7 +27,7 @@ /** * Unit test to verify that Camel can build remote directory on FTP server if missing (full or part of). */ -public class FtpProducerBuildDirectoryTest extends FtpServerTestSupport { +public class FtpProducerBuildDirectoryIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/upload/user/claus?binary=false&password=admin"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerBuildPartOfDirectoryTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerBuildPartOfDirectoryIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerBuildPartOfDirectoryTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerBuildPartOfDirectoryIT.java index 1f574caa5b2c1..323089203821b 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerBuildPartOfDirectoryTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerBuildPartOfDirectoryIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -27,7 +27,7 @@ /** * Unit test to verify that Camel can build remote directory on FTP server if missing (full or part of). */ -public class FtpProducerBuildPartOfDirectoryTest extends FtpServerTestSupport { +public class FtpProducerBuildPartOfDirectoryIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/upload/user/claus?binary=false&password=admin"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerConcurrentTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerConcurrentIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerConcurrentTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerConcurrentIT.java index 046782d5822e1..7cb019df1096f 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerConcurrentTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerConcurrentIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.util.concurrent.Callable; import java.util.concurrent.ExecutorService; @@ -28,7 +28,7 @@ * Concurrent producers test. */ @Disabled("TODO: investigate for Camel 3.0") -public class FtpProducerConcurrentTest extends FtpServerTestSupport { +public class FtpProducerConcurrentIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/concurrent?binary=false&password=admin"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerConnectErrorsHeaderTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerConnectErrorsHeaderIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerConnectErrorsHeaderTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerConnectErrorsHeaderIT.java index 24aca804ff035..964aa97fd2523 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerConnectErrorsHeaderTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerConnectErrorsHeaderIT.java @@ -14,13 +14,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.Test; -public class FtpProducerConnectErrorsHeaderTest extends FtpServerTestSupport { +public class FtpProducerConnectErrorsHeaderIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://xxx@localhost:{{ftp.server.port}}/tmp4/camel?password=xxx&delay=5000"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerDisconnectTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerDisconnectIT.java similarity index 91% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerDisconnectTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerDisconnectIT.java index 1244568db3f1d..52d3f9393c357 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerDisconnectTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerDisconnectIT.java @@ -14,8 +14,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; +import org.apache.camel.component.file.remote.FtpEndpoint; import org.apache.commons.net.ftp.FTPClient; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; @@ -23,7 +24,7 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpProducerDisconnectTest extends FtpServerTestSupport { +public class FtpProducerDisconnectIT extends FtpServerTestSupport { @Override @BeforeEach diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerDisconnectOnBatchCompleteTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerDisconnectOnBatchCompleteIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerDisconnectOnBatchCompleteTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerDisconnectOnBatchCompleteIT.java index 5391faec8aed4..750307b2e1fc8 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerDisconnectOnBatchCompleteTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerDisconnectOnBatchCompleteIT.java @@ -14,10 +14,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.Processor; +import org.apache.camel.component.file.remote.FtpEndpoint; import org.apache.commons.net.ftp.FTPClient; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; @@ -26,7 +27,7 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpProducerDisconnectOnBatchCompleteTest extends FtpServerTestSupport { +public class FtpProducerDisconnectOnBatchCompleteIT extends FtpServerTestSupport { @Override @BeforeEach diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerDoneFileNameTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerDoneFileNameIT.java similarity index 97% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerDoneFileNameTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerDoneFileNameIT.java index 09a2011557963..0f210998b23f7 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerDoneFileNameTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerDoneFileNameIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -28,7 +28,7 @@ import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpProducerDoneFileNameTest extends FtpServerTestSupport { +public class FtpProducerDoneFileNameIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/done?password=admin"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerExpressionTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerExpressionIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerExpressionTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerExpressionIT.java index e9240d5d41f57..3a4c4b09a83c2 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerExpressionTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerExpressionIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.text.SimpleDateFormat; import java.util.Calendar; @@ -28,7 +28,7 @@ /** * Unit test for FTP using expression (file language) */ -public class FtpProducerExpressionTest extends FtpServerTestSupport { +public class FtpProducerExpressionIT extends FtpServerTestSupport { @BindToRegistry("myguidgenerator") private MyGuidGenerator guid = new MyGuidGenerator(); diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileExistAppendTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileExistAppendIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileExistAppendTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileExistAppendIT.java index 700cba3157def..59a2d374ea258 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileExistAppendTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileExistAppendIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; @@ -22,7 +22,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -public class FtpProducerFileExistAppendTest extends FtpServerTestSupport { +public class FtpProducerFileExistAppendIT extends FtpServerTestSupport { private static final boolean ON_WINDOWS = System.getProperty("os.name").startsWith("Windows"); private String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileExistAppendNoFileBeforeTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileExistAppendNoFileBeforeIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileExistAppendNoFileBeforeTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileExistAppendNoFileBeforeIT.java index b1c49c4ddd7f3..67b3171598115 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileExistAppendNoFileBeforeTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileExistAppendNoFileBeforeIT.java @@ -14,14 +14,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.Test; -public class FtpProducerFileExistAppendNoFileBeforeTest extends FtpServerTestSupport { +public class FtpProducerFileExistAppendNoFileBeforeIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/exist?password=admin&delay=2000&noop=true&fileExist=Append"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileExistFailTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileExistFailIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileExistFailTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileExistFailIT.java index 66ffc46159033..9a560d51f5b45 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileExistFailTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileExistFailIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.CamelExecutionException; import org.apache.camel.Exchange; @@ -28,7 +28,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; -public class FtpProducerFileExistFailTest extends FtpServerTestSupport { +public class FtpProducerFileExistFailIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/exist?password=admin&delay=2000&noop=true&fileExist=Fail"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileExistIgnoreTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileExistIgnoreIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileExistIgnoreTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileExistIgnoreIT.java index 980a3ace086e3..14521d2bf31f8 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileExistIgnoreTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileExistIgnoreIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; @@ -22,7 +22,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -public class FtpProducerFileExistIgnoreTest extends FtpServerTestSupport { +public class FtpProducerFileExistIgnoreIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/exist?password=admin&delay=2000&noop=true&fileExist=Ignore"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileExistOverrideTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileExistOverrideIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileExistOverrideTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileExistOverrideIT.java index 769d3370f39b9..682042bae6eb4 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileExistOverrideTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileExistOverrideIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; @@ -22,7 +22,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; -public class FtpProducerFileExistOverrideTest extends FtpServerTestSupport { +public class FtpProducerFileExistOverrideIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/exist?password=admin&delay=2000&noop=true&fileExist=Override"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileExistOverrideNoFileBeforeTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileExistOverrideNoFileBeforeIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileExistOverrideNoFileBeforeTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileExistOverrideNoFileBeforeIT.java index 968144eea7099..f38443da9c48d 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileExistOverrideNoFileBeforeTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileExistOverrideNoFileBeforeIT.java @@ -14,14 +14,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.Test; -public class FtpProducerFileExistOverrideNoFileBeforeTest extends FtpServerTestSupport { +public class FtpProducerFileExistOverrideNoFileBeforeIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/exist?password=admin&delay=2000&noop=true&fileExist=Override"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileExistOverrideNotEagerDeleteTargetFileTwoUploadTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileExistOverrideNotEagerDeleteTargetFileTwoUploadIT.java similarity index 89% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileExistOverrideNotEagerDeleteTargetFileTwoUploadTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileExistOverrideNotEagerDeleteTargetFileTwoUploadIT.java index 8e67533ad13dc..685b83e9ffea3 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileExistOverrideNotEagerDeleteTargetFileTwoUploadTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileExistOverrideNotEagerDeleteTargetFileTwoUploadIT.java @@ -14,10 +14,10 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; -public class FtpProducerFileExistOverrideNotEagerDeleteTargetFileTwoUploadTest - extends FtpProducerFileExistOverrideTwoUploadTest { +public class FtpProducerFileExistOverrideNotEagerDeleteTargetFileTwoUploadIT + extends FtpProducerFileExistOverrideTwoUploadIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileExistOverrideTwoUploadTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileExistOverrideTwoUploadIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileExistOverrideTwoUploadTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileExistOverrideTwoUploadIT.java index af5f15d0b51f0..116ba4f7fb656 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileExistOverrideTwoUploadTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileExistOverrideTwoUploadIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -24,7 +24,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpProducerFileExistOverrideTwoUploadTest extends FtpServerTestSupport { +public class FtpProducerFileExistOverrideTwoUploadIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileFastExistFailTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileFastExistFailIT.java similarity index 87% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileFastExistFailTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileFastExistFailIT.java index 9488d89e3c8a2..a1fad89919207 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileFastExistFailTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileFastExistFailIT.java @@ -14,9 +14,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; -public class FtpProducerFileFastExistFailTest extends FtpProducerFileExistFailTest { +public class FtpProducerFileFastExistFailIT extends FtpProducerFileExistFailIT { @Override protected String getFtpUrl() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileWithCharsetTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileWithCharsetIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileWithCharsetTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileWithCharsetIT.java index 5a97b83354b42..b4f2a38d9aa60 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileWithCharsetTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileWithCharsetIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; import java.io.FileInputStream; @@ -32,9 +32,9 @@ import static org.junit.jupiter.api.Assertions.assertNotEquals; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpProducerFileWithCharsetTest extends FtpServerTestSupport { +public class FtpProducerFileWithCharsetIT extends FtpServerTestSupport { - private static final Logger LOG = LoggerFactory.getLogger(FtpProducerFileWithCharsetTest.class); + private static final Logger LOG = LoggerFactory.getLogger(FtpProducerFileWithCharsetIT.class); private String payload = "\u00e6\u00f8\u00e5 \u00a9"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileWithPathTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileWithPathIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileWithPathTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileWithPathIT.java index 218b8f49239e7..16d84c24285b4 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileWithPathTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileWithPathIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -24,7 +24,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpProducerFileWithPathTest extends FtpServerTestSupport { +public class FtpProducerFileWithPathIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/upload?password=admin"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileWithPathNoStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileWithPathNoStepwiseIT.java similarity index 91% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileWithPathNoStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileWithPathNoStepwiseIT.java index f015dd7717075..469436be1a58f 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileWithPathNoStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileWithPathNoStepwiseIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -24,7 +24,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpProducerFileWithPathNoStepwiseTest extends FtpServerTestSupport { +public class FtpProducerFileWithPathNoStepwiseIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/upload?password=admin&stepwise=false"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileWithPathPathSeparatorAutoNoStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileWithPathPathSeparatorAutoNoStepwiseIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileWithPathPathSeparatorAutoNoStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileWithPathPathSeparatorAutoNoStepwiseIT.java index dc9994c15c156..513b03c23dc2f 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileWithPathPathSeparatorAutoNoStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileWithPathPathSeparatorAutoNoStepwiseIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -27,7 +27,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpProducerFileWithPathPathSeparatorAutoNoStepwiseTest extends FtpServerTestSupport { +public class FtpProducerFileWithPathPathSeparatorAutoNoStepwiseIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/upload?password=admin&stepwise=false&separator=Auto"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileWithPathPathSeparatorUnixNoStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileWithPathPathSeparatorUnixNoStepwiseIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileWithPathPathSeparatorUnixNoStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileWithPathPathSeparatorUnixNoStepwiseIT.java index 5ddbcc13494ee..e1dab11e3622c 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileWithPathPathSeparatorUnixNoStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileWithPathPathSeparatorUnixNoStepwiseIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -27,7 +27,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpProducerFileWithPathPathSeparatorUnixNoStepwiseTest extends FtpServerTestSupport { +public class FtpProducerFileWithPathPathSeparatorUnixNoStepwiseIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/upload?password=admin&stepwise=false&separator=UNIX"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileWithPathPathSeparatorWindowsNoStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileWithPathPathSeparatorWindowsNoStepwiseIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileWithPathPathSeparatorWindowsNoStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileWithPathPathSeparatorWindowsNoStepwiseIT.java index 39a2ded9dcf43..a9f20a60bf75b 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerFileWithPathPathSeparatorWindowsNoStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerFileWithPathPathSeparatorWindowsNoStepwiseIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -27,7 +27,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpProducerFileWithPathPathSeparatorWindowsNoStepwiseTest extends FtpServerTestSupport { +public class FtpProducerFileWithPathPathSeparatorWindowsNoStepwiseIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/upload?password=admin&stepwise=false&separator=Windows"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerJailStartingDirectoryTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerJailStartingDirectoryIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerJailStartingDirectoryTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerJailStartingDirectoryIT.java index 5c839b1c244e4..f8bca86fc8ef8 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerJailStartingDirectoryTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerJailStartingDirectoryIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; @@ -25,7 +25,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; import static org.junit.jupiter.api.Assertions.fail; -public class FtpProducerJailStartingDirectoryTest extends FtpServerTestSupport { +public class FtpProducerJailStartingDirectoryIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/upload/jail?binary=false&password=admin&tempPrefix=.uploading"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerMoveExistingTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerMoveExistingIT.java similarity index 98% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerMoveExistingTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerMoveExistingIT.java index 25a7f137450c3..4c34714925d65 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerMoveExistingTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerMoveExistingIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; import java.io.FilenameFilter; @@ -39,7 +39,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @TestInstance(TestInstance.Lifecycle.PER_CLASS) -public class FtpProducerMoveExistingTest extends FtpServerTestSupport { +public class FtpProducerMoveExistingIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/move?password=admin&fileExist=Move"; } diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerMultipleSiteCommandTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerMultipleSiteCommandIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerMultipleSiteCommandTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerMultipleSiteCommandIT.java index 76322443613dd..9dada33295b0c 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerMultipleSiteCommandTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerMultipleSiteCommandIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -25,7 +25,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpProducerMultipleSiteCommandTest extends FtpServerTestSupport { +public class FtpProducerMultipleSiteCommandIT extends FtpServerTestSupport { @BindToRegistry("site") private String site = "help site\nhelp site"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerRawPasswordTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerRawPasswordIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerRawPasswordTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerRawPasswordIT.java index c0202fb9acbe5..738b07dad1e3a 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerRawPasswordTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerRawPasswordIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -27,7 +27,7 @@ /** * Unit test for password parameter using RAW value */ -public class FtpProducerRawPasswordTest extends FtpServerTestSupport { +public class FtpProducerRawPasswordIT extends FtpServerTestSupport { private String getFtpUrl() { // START SNIPPET: e1 diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerRawPercentPasswordTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerRawPercentPasswordIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerRawPercentPasswordTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerRawPercentPasswordIT.java index 145b4d08cdf9d..781fdf55294eb 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerRawPercentPasswordTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerRawPercentPasswordIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -27,7 +27,7 @@ /** * Unit test for password parameter using RAW value with % */ -public class FtpProducerRawPercentPasswordTest extends FtpServerTestSupport { +public class FtpProducerRawPercentPasswordIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://jane@localhost:{{ftp.server.port}}/upload?password=RAW(%j#7%c6i)&binary=false"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerRecipientListTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerRecipientListIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerRecipientListTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerRecipientListIT.java index 82ffda196b776..631b011a76876 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerRecipientListTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerRecipientListIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -23,7 +23,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpProducerRecipientListTest extends FtpServerTestSupport { +public class FtpProducerRecipientListIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/list?password=admin"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerRecipientListParallelTimeoutTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerRecipientListParallelTimeoutIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerRecipientListParallelTimeoutTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerRecipientListParallelTimeoutIT.java index d9e154b93dd78..c389150545806 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerRecipientListParallelTimeoutTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerRecipientListParallelTimeoutIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.AggregationStrategy; import org.apache.camel.Exchange; @@ -27,7 +27,7 @@ * Unit test to verify that Camel can build remote directory on FTP server if missing (full or part of). */ @Disabled("Run this test manually") -public class FtpProducerRecipientListParallelTimeoutTest extends FtpServerTestSupport { +public class FtpProducerRecipientListParallelTimeoutIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin:admin@127.0.0.2:" + (service.getPort() - 1) + "/timeout"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerReplyStringTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerReplyStringIT.java similarity index 90% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerReplyStringTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerReplyStringIT.java index c1a9e29b61d7e..ec54e4eec73dd 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerReplyStringTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerReplyStringIT.java @@ -14,14 +14,15 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; +import org.apache.camel.component.file.remote.FtpConstants; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.Test; -public class FtpProducerReplyStringTest extends FtpServerTestSupport { +public class FtpProducerReplyStringIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/reply?password=admin"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerRootFileExistFailTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerRootFileExistFailIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerRootFileExistFailTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerRootFileExistFailIT.java index b4fc46d2cb690..a75d5e824a597 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerRootFileExistFailTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerRootFileExistFailIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.CamelExecutionException; import org.apache.camel.Exchange; @@ -27,7 +27,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertThrows; -public class FtpProducerRootFileExistFailTest extends FtpServerTestSupport { +public class FtpProducerRootFileExistFailIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}?password=admin&fileExist=Fail"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerSendNoopFalseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerSendNoopFalseIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerSendNoopFalseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerSendNoopFalseIT.java index 8ddb85875e078..9833f413b797f 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerSendNoopFalseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerSendNoopFalseIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -24,7 +24,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpProducerSendNoopFalseTest extends FtpServerTestSupport { +public class FtpProducerSendNoopFalseIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/upload?password=admin&sendNoop=false"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerSiteCommandTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerSiteCommandIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerSiteCommandTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerSiteCommandIT.java index 56b5dda9d6a34..b8fb1caf8a379 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerSiteCommandTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerSiteCommandIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -24,7 +24,7 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpProducerSiteCommandTest extends FtpServerTestSupport { +public class FtpProducerSiteCommandIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/site?password=admin&siteCommand=help site"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerTempFileExistIssueTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerTempFileExistIssueIT.java similarity index 97% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerTempFileExistIssueTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerTempFileExistIssueIT.java index 105b3428d8862..ae928aab2d459 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerTempFileExistIssueTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerTempFileExistIssueIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -29,7 +29,7 @@ import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpProducerTempFileExistIssueTest extends FtpServerTestSupport { +public class FtpProducerTempFileExistIssueIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/tempprefix/?password=admin"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerTempPrefixTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerTempPrefixIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerTempPrefixTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerTempPrefixIT.java index 70289b134ee72..06e131640f470 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerTempPrefixTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerTempPrefixIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -27,7 +27,7 @@ /** * Unit test to verify that Camel can build remote directory on FTP server if missing (full or part of). */ -public class FtpProducerTempPrefixTest extends FtpServerTestSupport { +public class FtpProducerTempPrefixIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/upload/user/claus?binary=false&password=admin&tempPrefix=.uploading"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerToDMoveExistingTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerToDMoveExistingIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerToDMoveExistingTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerToDMoveExistingIT.java index a19432459f5f2..5246465b0f1b2 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpProducerToDMoveExistingTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpProducerToDMoveExistingIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.util.HashMap; import java.util.Map; @@ -28,7 +28,7 @@ /** * */ -public class FtpProducerToDMoveExistingTest extends FtpServerTestSupport { +public class FtpProducerToDMoveExistingIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpReconnectAttemptServerStoppedTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpReconnectAttemptServerStoppedIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpReconnectAttemptServerStoppedTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpReconnectAttemptServerStoppedIT.java index 48165ba0eee30..60c0631b3e4e9 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpReconnectAttemptServerStoppedTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpReconnectAttemptServerStoppedIT.java @@ -14,14 +14,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.Test; -public class FtpReconnectAttemptServerStoppedTest extends FtpServerTestSupport { +public class FtpReconnectAttemptServerStoppedIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpReconnectAttemptUnknownHostTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpReconnectAttemptUnknownHostIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpReconnectAttemptUnknownHostTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpReconnectAttemptUnknownHostIT.java index 0f421fd73ab55..4fe32082b547a 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpReconnectAttemptUnknownHostTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpReconnectAttemptUnknownHostIT.java @@ -14,13 +14,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.Test; -public class FtpReconnectAttemptUnknownHostTest extends FtpServerTestSupport { +public class FtpReconnectAttemptUnknownHostIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@doesnotexisthost:{{ftp.server.port}}/reconnect?password=admin"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpRecursiveDepth2Test.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpRecursiveDepth2IT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpRecursiveDepth2Test.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpRecursiveDepth2IT.java index 0b04070a56b45..c979fc368da86 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpRecursiveDepth2Test.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpRecursiveDepth2IT.java @@ -14,14 +14,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.Test; -public class FtpRecursiveDepth2Test extends FtpServerTestSupport { +public class FtpRecursiveDepth2IT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/depth2?password=admin&recursive=true"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpRecursiveDepth3Test.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpRecursiveDepth3IT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpRecursiveDepth3Test.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpRecursiveDepth3IT.java index ec7d663e333d2..7e3b5d2d901e0 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpRecursiveDepth3Test.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpRecursiveDepth3IT.java @@ -14,14 +14,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.Test; -public class FtpRecursiveDepth3Test extends FtpServerTestSupport { +public class FtpRecursiveDepth3IT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/depth3?password=admin&recursive=true"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpRecursiveDepthTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpRecursiveDepthIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpRecursiveDepthTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpRecursiveDepthIT.java index c9ec3b1d73663..bdbbd0660b333 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpRecursiveDepthTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpRecursiveDepthIT.java @@ -14,14 +14,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.Test; -public class FtpRecursiveDepthTest extends FtpServerTestSupport { +public class FtpRecursiveDepthIT extends FtpServerTestSupport { protected String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/depth?password=admin&recursive=true"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpServerTestSupport.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpServerTestSupport.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpServerTestSupport.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpServerTestSupport.java index d7f8f673fd338..ab30da1f3a825 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpServerTestSupport.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpServerTestSupport.java @@ -14,11 +14,12 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.nio.file.Path; import org.apache.camel.Exchange; +import org.apache.camel.component.file.remote.BaseServerTestSupport; import org.apache.camel.component.file.remote.services.FtpEmbeddedService; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.extension.RegisterExtension; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpShutdownCompleteAllTasksTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpShutdownCompleteAllTasksIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpShutdownCompleteAllTasksTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpShutdownCompleteAllTasksIT.java index 2e1b6c36b35f8..1d9fe63913618 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpShutdownCompleteAllTasksTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpShutdownCompleteAllTasksIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.ShutdownRunningTask; @@ -28,7 +28,7 @@ /** * Unit test to verify shutdown. */ -public class FtpShutdownCompleteAllTasksTest extends FtpServerTestSupport { +public class FtpShutdownCompleteAllTasksIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/pending?password=admin&initialDelay=5000"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpShutdownCompleteCurrentTaskOnlyTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpShutdownCompleteCurrentTaskOnlyIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpShutdownCompleteCurrentTaskOnlyTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpShutdownCompleteCurrentTaskOnlyIT.java index b26eaf88f0826..0100baf5a55c1 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpShutdownCompleteCurrentTaskOnlyTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpShutdownCompleteCurrentTaskOnlyIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.ShutdownRunningTask; @@ -28,7 +28,7 @@ /** * Unit test to verify shutdown. */ -public class FtpShutdownCompleteCurrentTaskOnlyTest extends FtpServerTestSupport { +public class FtpShutdownCompleteCurrentTaskOnlyIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/pending?password=admin&initialDelay=5000"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpSimpleConsumeAbsoluteTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpSimpleConsumeAbsoluteIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpSimpleConsumeAbsoluteTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpSimpleConsumeAbsoluteIT.java index 864b7f35a360c..a371c834c13ba 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpSimpleConsumeAbsoluteTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpSimpleConsumeAbsoluteIT.java @@ -14,14 +14,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.Test; -public class FtpSimpleConsumeAbsoluteTest extends FtpServerTestSupport { +public class FtpSimpleConsumeAbsoluteIT extends FtpServerTestSupport { @Test public void testFtpSimpleConsumeAbsolute() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpSimpleConsumeDirectoryParseWithAbsoluteDepthNoStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpSimpleConsumeDirectoryParseWithAbsoluteDepthNoStepwiseIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpSimpleConsumeDirectoryParseWithAbsoluteDepthNoStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpSimpleConsumeDirectoryParseWithAbsoluteDepthNoStepwiseIT.java index c904b89de8d6b..aa7750954d7c3 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpSimpleConsumeDirectoryParseWithAbsoluteDepthNoStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpSimpleConsumeDirectoryParseWithAbsoluteDepthNoStepwiseIT.java @@ -14,14 +14,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.Test; -public class FtpSimpleConsumeDirectoryParseWithAbsoluteDepthNoStepwiseTest extends FtpServerTestSupport { +public class FtpSimpleConsumeDirectoryParseWithAbsoluteDepthNoStepwiseIT extends FtpServerTestSupport { @Test public void testFtpSimpleConsumeAbsolute() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpSimpleConsumeStreamingPartialReadTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpSimpleConsumeStreamingPartialReadIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpSimpleConsumeStreamingPartialReadTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpSimpleConsumeStreamingPartialReadIT.java index 59cf3f044adb4..391eee360ae36 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpSimpleConsumeStreamingPartialReadTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpSimpleConsumeStreamingPartialReadIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; import java.io.InputStream; @@ -29,7 +29,7 @@ import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpSimpleConsumeStreamingPartialReadTest extends FtpServerTestSupport { +public class FtpSimpleConsumeStreamingPartialReadIT extends FtpServerTestSupport { @Test public void testFtpSimpleConsumeAbsolute() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpSimpleConsumeStreamingStepwiseFalseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpSimpleConsumeStreamingStepwiseFalseIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpSimpleConsumeStreamingStepwiseFalseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpSimpleConsumeStreamingStepwiseFalseIT.java index 956ef93c6c1d9..d5441b0dfb2b1 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpSimpleConsumeStreamingStepwiseFalseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpSimpleConsumeStreamingStepwiseFalseIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.InputStream; @@ -26,7 +26,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpSimpleConsumeStreamingStepwiseFalseTest extends FtpServerTestSupport { +public class FtpSimpleConsumeStreamingStepwiseFalseIT extends FtpServerTestSupport { boolean isStepwise() { return false; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpSimpleConsumeStreamingStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpSimpleConsumeStreamingStepwiseIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpSimpleConsumeStreamingStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpSimpleConsumeStreamingStepwiseIT.java index 02b7b5f4f0896..9cb5450fd49ca 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpSimpleConsumeStreamingStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpSimpleConsumeStreamingStepwiseIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.InputStream; @@ -36,7 +36,7 @@ // server stays in the downloading state with 150 reply sent but before sending 226 Download complete. // On plain local vsftpd the download failed for every > 1mb file, here I had to make it bigger to trigger the error. -public class FtpSimpleConsumeStreamingStepwiseTest extends FtpServerTestSupport { +public class FtpSimpleConsumeStreamingStepwiseIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/tmp4/camel?password=admin&binary=true&delay=5000" + diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpSimpleConsumeStreamingStepwiseTrueTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpSimpleConsumeStreamingStepwiseTrueIT.java similarity index 87% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpSimpleConsumeStreamingStepwiseTrueTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpSimpleConsumeStreamingStepwiseTrueIT.java index e129446308379..bbae16e62ddb1 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpSimpleConsumeStreamingStepwiseTrueTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpSimpleConsumeStreamingStepwiseTrueIT.java @@ -14,11 +14,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.component.mock.MockEndpoint; -public class FtpSimpleConsumeStreamingStepwiseTrueTest extends FtpSimpleConsumeStreamingStepwiseFalseTest { +public class FtpSimpleConsumeStreamingStepwiseTrueIT extends FtpSimpleConsumeStreamingStepwiseFalseIT { @Override boolean isStepwise() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpSimpleConsumeStreamingWithMultipleFilesTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpSimpleConsumeStreamingWithMultipleFilesIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpSimpleConsumeStreamingWithMultipleFilesTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpSimpleConsumeStreamingWithMultipleFilesIT.java index 4f6b905a774f6..879675dcafa53 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpSimpleConsumeStreamingWithMultipleFilesTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpSimpleConsumeStreamingWithMultipleFilesIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.InputStream; @@ -26,7 +26,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpSimpleConsumeStreamingWithMultipleFilesTest extends FtpServerTestSupport { +public class FtpSimpleConsumeStreamingWithMultipleFilesIT extends FtpServerTestSupport { @Test public void testFtpSimpleConsumeAbsolute() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpStreamingMoveTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpStreamingMoveIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpStreamingMoveTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpStreamingMoveIT.java index 9d2f652cd2f25..554bc452923bb 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpStreamingMoveTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpStreamingMoveIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; import java.io.InputStream; @@ -26,7 +26,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; -public class FtpStreamingMoveTest extends FtpServerTestSupport { +public class FtpStreamingMoveIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpThrowExceptionOnConnectionFailedTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpThrowExceptionOnConnectionFailedIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpThrowExceptionOnConnectionFailedTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpThrowExceptionOnConnectionFailedIT.java index 9fdbca3227a7b..68eeebff42211 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpThrowExceptionOnConnectionFailedTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpThrowExceptionOnConnectionFailedIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -31,7 +31,7 @@ /** * Unit test for login failure due bad password and no re connect attempts allowed */ -public class FtpThrowExceptionOnConnectionFailedTest extends FtpServerTestSupport { +public class FtpThrowExceptionOnConnectionFailedIT extends FtpServerTestSupport { @Test public void testBadLogin() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitSSLWithClientAuthTestSupport.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpsServerExplicitSSLWithClientAuthTestSupport.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitSSLWithClientAuthTestSupport.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpsServerExplicitSSLWithClientAuthTestSupport.java index 5890e92e806ed..f03cbe7a1784f 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitSSLWithClientAuthTestSupport.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpsServerExplicitSSLWithClientAuthTestSupport.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.component.file.remote.services.FtpsEmbeddedService; import org.junit.jupiter.api.extension.RegisterExtension; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitSSLWithoutClientAuthTestSupport.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpsServerExplicitSSLWithoutClientAuthTestSupport.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitSSLWithoutClientAuthTestSupport.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpsServerExplicitSSLWithoutClientAuthTestSupport.java index fb8e5f8edb3c8..ada85c3ce7036 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitSSLWithoutClientAuthTestSupport.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpsServerExplicitSSLWithoutClientAuthTestSupport.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.component.file.remote.services.FtpsEmbeddedService; import org.junit.jupiter.api.extension.RegisterExtension; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitTLSWithClientAuthTestSupport.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpsServerExplicitTLSWithClientAuthTestSupport.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitTLSWithClientAuthTestSupport.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpsServerExplicitTLSWithClientAuthTestSupport.java index 4f94aa07ac6b2..806e9e958ef41 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitTLSWithClientAuthTestSupport.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpsServerExplicitTLSWithClientAuthTestSupport.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.component.file.remote.services.FtpsEmbeddedService; import org.junit.jupiter.api.extension.RegisterExtension; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitTLSWithoutClientAuthTestSupport.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpsServerExplicitTLSWithoutClientAuthTestSupport.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitTLSWithoutClientAuthTestSupport.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpsServerExplicitTLSWithoutClientAuthTestSupport.java index 23e186570ceff..ba3c83f054712 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerExplicitTLSWithoutClientAuthTestSupport.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpsServerExplicitTLSWithoutClientAuthTestSupport.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.component.file.remote.services.FtpsEmbeddedService; import org.junit.jupiter.api.extension.RegisterExtension; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitSSLWithClientAuthTestSupport.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpsServerImplicitSSLWithClientAuthTestSupport.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitSSLWithClientAuthTestSupport.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpsServerImplicitSSLWithClientAuthTestSupport.java index f0547cb8a52fa..7ea9a494d0ebb 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitSSLWithClientAuthTestSupport.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpsServerImplicitSSLWithClientAuthTestSupport.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.component.file.remote.services.FtpsEmbeddedService; import org.junit.jupiter.api.extension.RegisterExtension; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitSSLWithoutClientAuthTestSupport.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpsServerImplicitSSLWithoutClientAuthTestSupport.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitSSLWithoutClientAuthTestSupport.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpsServerImplicitSSLWithoutClientAuthTestSupport.java index 6cf464cfca6bf..b8e8b2de18fca 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitSSLWithoutClientAuthTestSupport.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpsServerImplicitSSLWithoutClientAuthTestSupport.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.component.file.remote.services.FtpsEmbeddedService; import org.junit.jupiter.api.extension.RegisterExtension; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitTLSWithClientAuthTestSupport.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpsServerImplicitTLSWithClientAuthTestSupport.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitTLSWithClientAuthTestSupport.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpsServerImplicitTLSWithClientAuthTestSupport.java index f838d5226f59e..24774003a7e8b 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitTLSWithClientAuthTestSupport.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpsServerImplicitTLSWithClientAuthTestSupport.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.component.file.remote.services.FtpsEmbeddedService; import org.junit.jupiter.api.extension.RegisterExtension; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitTLSWithoutClientAuthTestSupport.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpsServerImplicitTLSWithoutClientAuthTestSupport.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitTLSWithoutClientAuthTestSupport.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpsServerImplicitTLSWithoutClientAuthTestSupport.java index 2d728f1c5bf91..083438322aba1 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerImplicitTLSWithoutClientAuthTestSupport.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpsServerImplicitTLSWithoutClientAuthTestSupport.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.component.file.remote.services.FtpsEmbeddedService; import org.junit.jupiter.api.extension.RegisterExtension; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerTestSupport.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpsServerTestSupport.java similarity index 89% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerTestSupport.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpsServerTestSupport.java index d34ba9b39e8d8..b5ae265555585 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/FtpsServerTestSupport.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/FtpsServerTestSupport.java @@ -14,7 +14,9 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; + +import org.apache.camel.component.file.remote.BaseServerTestSupport; /** * Abstract base class for unit testing using a secure FTP Server (over SSL/TLS) diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/PaddyRouteTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/PaddyRouteIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/PaddyRouteTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/PaddyRouteIT.java index 4b6f8bd839c19..72de878ee81d0 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/PaddyRouteTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/PaddyRouteIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import org.apache.camel.Exchange; import org.apache.camel.Processor; @@ -28,7 +28,7 @@ /** * An unit test based on Paddy having trouble with SFTP. */ -public class PaddyRouteTest extends FtpServerTestSupport { +public class PaddyRouteIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/paddy/?password=admin&recursive=true"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/RecipientListErrorHandlingIssueTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/RecipientListErrorHandlingIssueIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/RecipientListErrorHandlingIssueTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/RecipientListErrorHandlingIssueIT.java index b0a83813ef56f..6daf758abf5b3 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/RecipientListErrorHandlingIssueTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/RecipientListErrorHandlingIssueIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.util.HashMap; import java.util.Map; @@ -24,7 +24,7 @@ import org.apache.camel.builder.RouteBuilder; import org.junit.jupiter.api.Test; -public class RecipientListErrorHandlingIssueTest extends FtpServerTestSupport { +public class RecipientListErrorHandlingIssueIT extends FtpServerTestSupport { private String getFtpUrl() { // use a wrong password so we cannot login and get an exception so we diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/RemoteFileProduceOverruleOnlyOnceTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/RemoteFileProduceOverruleOnlyOnceIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/RemoteFileProduceOverruleOnlyOnceTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/RemoteFileProduceOverruleOnlyOnceIT.java index 2429a9e696b0b..2fb4e76ae1985 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/RemoteFileProduceOverruleOnlyOnceTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/RemoteFileProduceOverruleOnlyOnceIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.util.HashMap; import java.util.Map; @@ -27,7 +27,7 @@ /** * */ -public class RemoteFileProduceOverruleOnlyOnceTest extends FtpServerTestSupport { +public class RemoteFileProduceOverruleOnlyOnceIT extends FtpServerTestSupport { @Test public void testFileToFtp() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/SftpConsumerLocalWorkDirectoryTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/SftpConsumerLocalWorkDirectoryIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/SftpConsumerLocalWorkDirectoryTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/SftpConsumerLocalWorkDirectoryIT.java index b49157ebbe8a7..ba3f68da26f44 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/SftpConsumerLocalWorkDirectoryTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/SftpConsumerLocalWorkDirectoryIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -24,7 +24,7 @@ import org.apache.camel.Producer; import org.apache.camel.builder.NotifyBuilder; import org.apache.camel.builder.RouteBuilder; -import org.apache.camel.component.file.remote.sftp.SftpServerTestSupport; +import org.apache.camel.component.file.remote.sftp.integration.SftpServerTestSupport; import org.apache.camel.component.mock.MockEndpoint; import org.apache.camel.util.FileUtil; import org.junit.jupiter.api.BeforeEach; @@ -36,7 +36,7 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; import static org.junit.jupiter.api.Assertions.assertTrue; -public class SftpConsumerLocalWorkDirectoryTest extends SftpServerTestSupport { +public class SftpConsumerLocalWorkDirectoryIT extends SftpServerTestSupport { protected String getFtpUrl() { return "sftp://localhost:{{ftp.server.port}}/{{ftp.root.dir}}/?password=admin" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/SftpPollEnrichConsumeWithDisconnectAndDeleteTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/SftpPollEnrichConsumeWithDisconnectAndDeleteIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/SftpPollEnrichConsumeWithDisconnectAndDeleteTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/SftpPollEnrichConsumeWithDisconnectAndDeleteIT.java index e37e31947fcd6..b67506770bd8c 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/SftpPollEnrichConsumeWithDisconnectAndDeleteTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/SftpPollEnrichConsumeWithDisconnectAndDeleteIT.java @@ -14,14 +14,14 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; import org.apache.camel.Exchange; import org.apache.camel.ProducerTemplate; import org.apache.camel.builder.RouteBuilder; -import org.apache.camel.component.file.remote.sftp.SftpServerTestSupport; +import org.apache.camel.component.file.remote.sftp.integration.SftpServerTestSupport; import org.apache.camel.component.mock.MockEndpoint; import org.junit.jupiter.api.Test; import org.junit.jupiter.api.Timeout; @@ -32,9 +32,9 @@ import static org.junit.jupiter.api.Assertions.assertFalse; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpPollEnrichConsumeWithDisconnectAndDeleteTest extends SftpServerTestSupport { +public class SftpPollEnrichConsumeWithDisconnectAndDeleteIT extends SftpServerTestSupport { - private static final Logger LOG = LoggerFactory.getLogger(SftpPollEnrichConsumeWithDisconnectAndDeleteTest.class); + private static final Logger LOG = LoggerFactory.getLogger(SftpPollEnrichConsumeWithDisconnectAndDeleteIT.class); @Timeout(value = 30) @Test diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/ToFtpTempFileTargetFileExistTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/ToFtpTempFileTargetFileExistIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/ToFtpTempFileTargetFileExistTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/ToFtpTempFileTargetFileExistIT.java index d89e3a8e7d33b..e459997e89386 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/ToFtpTempFileTargetFileExistTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/integration/ToFtpTempFileTargetFileExistIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote; +package org.apache.camel.component.file.remote.integration; import java.io.File; @@ -28,7 +28,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; -public class ToFtpTempFileTargetFileExistTest extends FtpServerTestSupport { +public class ToFtpTempFileTargetFileExistIT extends FtpServerTestSupport { private String getFtpUrl() { return "ftp://admin@localhost:{{ftp.server.port}}/tempfile?password=admin&binary=false" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/FromSftpRecursiveNotStepwiseNoBasePathTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/FromSftpRecursiveNotStepwiseNoBasePathIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/FromSftpRecursiveNotStepwiseNoBasePathTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/FromSftpRecursiveNotStepwiseNoBasePathIT.java index a17c00184c8f9..ed246165ae79a 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/FromSftpRecursiveNotStepwiseNoBasePathTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/FromSftpRecursiveNotStepwiseNoBasePathIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; @@ -25,7 +25,7 @@ import org.junit.jupiter.api.Test; import org.junit.jupiter.api.extension.RegisterExtension; -public class FromSftpRecursiveNotStepwiseNoBasePathTest extends BaseServerTestSupport { +public class FromSftpRecursiveNotStepwiseNoBasePathIT extends BaseServerTestSupport { @RegisterExtension protected static SftpEmbeddedService service = new SftpEmbeddedService(true); diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpChangedReadLockTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpChangedReadLockIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpChangedReadLockTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpChangedReadLockIT.java index f980a3101db72..63431f7b9496e 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpChangedReadLockTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpChangedReadLockIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import java.io.FileOutputStream; @@ -29,9 +29,9 @@ import static org.junit.jupiter.api.Assertions.assertEquals; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpChangedReadLockTest extends SftpServerTestSupport { +public class SftpChangedReadLockIT extends SftpServerTestSupport { - private static final Logger LOG = LoggerFactory.getLogger(SftpChangedReadLockTest.class); + private static final Logger LOG = LoggerFactory.getLogger(SftpChangedReadLockIT.class); protected String getFtpUrl() { return "sftp://localhost:{{ftp.server.port}}/{{ftp.root.dir}}/changed" + diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpChmodTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpChmodIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpChmodTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpChmodIT.java index 6f16bcd99b015..9e057d104a117 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpChmodTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpChmodIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import java.io.File; @@ -26,7 +26,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpChmodTest extends SftpServerTestSupport { +public class SftpChmodIT extends SftpServerTestSupport { @Test public void testSftpChmod() { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpConsumeTemplateTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpConsumeTemplateIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpConsumeTemplateTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpConsumeTemplateIT.java index ac0f5e75729c3..4165029eb8c5e 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpConsumeTemplateTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpConsumeTemplateIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import org.apache.camel.Exchange; import org.junit.jupiter.api.Test; @@ -24,7 +24,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpConsumeTemplateTest extends SftpServerTestSupport { +public class SftpConsumeTemplateIT extends SftpServerTestSupport { @Test public void testSftpSimpleConsume() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpConsumerAutoCreateTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpConsumerAutoCreateIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpConsumerAutoCreateTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpConsumerAutoCreateIT.java index a807e4222f36f..6b7879c271d25 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpConsumerAutoCreateTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpConsumerAutoCreateIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import java.io.File; @@ -30,7 +30,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpConsumerAutoCreateTest extends SftpServerTestSupport { +public class SftpConsumerAutoCreateIT extends SftpServerTestSupport { protected String getFtpUrl() { return "sftp://admin@localhost:{{ftp.server.port}}/{{ftp.root.dir}}/foo/bar/baz/xxx?password=admin"; } diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpConsumerDisconnectTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpConsumerDisconnectIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpConsumerDisconnectTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpConsumerDisconnectIT.java index 7d902b5b1a204..bbf379903f3f0 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpConsumerDisconnectTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpConsumerDisconnectIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import java.io.File; import java.io.IOException; @@ -30,11 +30,11 @@ import static org.junit.jupiter.api.Assertions.assertFalse; @Disabled -public class SftpConsumerDisconnectTest extends SftpServerTestSupport { +public class SftpConsumerDisconnectIT extends SftpServerTestSupport { private static final String SAMPLE_FILE_NAME_1 - = String.format("sample-1-%s.txt", SftpConsumerDisconnectTest.class.getSimpleName()); + = String.format("sample-1-%s.txt", SftpConsumerDisconnectIT.class.getSimpleName()); private static final String SAMPLE_FILE_NAME_2 - = String.format("sample-2-%s.txt", SftpConsumerDisconnectTest.class.getSimpleName()); + = String.format("sample-2-%s.txt", SftpConsumerDisconnectIT.class.getSimpleName()); private static final String SAMPLE_FILE_CHARSET = "iso-8859-1"; private static final String SAMPLE_FILE_PAYLOAD = "abc"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpConsumerProcessStrategyTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpConsumerProcessStrategyIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpConsumerProcessStrategyTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpConsumerProcessStrategyIT.java index ef81e74bdf50a..88a807ce5ac3e 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpConsumerProcessStrategyTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpConsumerProcessStrategyIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import org.apache.camel.BindToRegistry; import org.apache.camel.Exchange; @@ -30,7 +30,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpConsumerProcessStrategyTest extends SftpServerTestSupport { +public class SftpConsumerProcessStrategyIT extends SftpServerTestSupport { @BindToRegistry("myStrategy") private MyStrategy myStrategy = new MyStrategy(); diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpConsumerWithCharsetTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpConsumerWithCharsetIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpConsumerWithCharsetTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpConsumerWithCharsetIT.java index 33a80fb42e22f..5c33eb171f214 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpConsumerWithCharsetTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpConsumerWithCharsetIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import java.io.File; import java.io.IOException; @@ -32,10 +32,10 @@ import static org.junit.jupiter.api.Assertions.assertNotNull; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpConsumerWithCharsetTest extends SftpServerTestSupport { +public class SftpConsumerWithCharsetIT extends SftpServerTestSupport { private static final String SAMPLE_FILE_NAME - = String.format("sample-%s.txt", SftpConsumerWithCharsetTest.class.getSimpleName()); + = String.format("sample-%s.txt", SftpConsumerWithCharsetIT.class.getSimpleName()); private static final String SAMPLE_FILE_CHARSET = "iso-8859-1"; private static final String SAMPLE_FILE_PAYLOAD = "\u00e6\u00f8\u00e5 \u00a9"; // danish // ae diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpECKeyFileConsumeTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpECKeyFileConsumeIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpECKeyFileConsumeTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpECKeyFileConsumeIT.java index 78446f923b07e..02fa03a85ddd3 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpECKeyFileConsumeTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpECKeyFileConsumeIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import java.security.interfaces.ECPublicKey; @@ -26,7 +26,7 @@ import org.junit.jupiter.api.condition.EnabledIf; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpECKeyFileConsumeTest extends SftpServerTestSupport { +public class SftpECKeyFileConsumeIT extends SftpServerTestSupport { @Test public void testSftpSimpleConsume() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpFromSedaDeleteFileTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpFromSedaDeleteFileIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpFromSedaDeleteFileTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpFromSedaDeleteFileIT.java index 8774053bfe809..af645d40b39fb 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpFromSedaDeleteFileTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpFromSedaDeleteFileIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import java.io.File; import java.io.IOException; @@ -30,7 +30,7 @@ /** * Unit test to test delete option. */ -public class SftpFromSedaDeleteFileTest extends SftpServerTestSupport { +public class SftpFromSedaDeleteFileIT extends SftpServerTestSupport { protected String getFtpUrl() { return "sftp://localhost:{{ftp.server.port}}/{{ftp.root.dir}}?username=admin&knownHostsFile=" diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpKeyConsumeTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpKeyConsumeIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpKeyConsumeTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpKeyConsumeIT.java index 5888f3a219de6..04212103c7e8e 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpKeyConsumeTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpKeyConsumeIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import java.io.IOException; import java.nio.file.Files; @@ -28,7 +28,7 @@ import org.junit.jupiter.api.condition.EnabledIf; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpKeyConsumeTest extends SftpServerTestSupport { +public class SftpKeyConsumeIT extends SftpServerTestSupport { @Test public void testSftpSimpleConsume() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpKeyFileConsumeTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpKeyFileConsumeIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpKeyFileConsumeTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpKeyFileConsumeIT.java index 7d2ef9e4da089..6687e59ebf5c7 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpKeyFileConsumeTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpKeyFileConsumeIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import java.security.interfaces.RSAPublicKey; @@ -26,7 +26,7 @@ import org.junit.jupiter.api.condition.EnabledIf; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpKeyFileConsumeTest extends SftpServerTestSupport { +public class SftpKeyFileConsumeIT extends SftpServerTestSupport { @Test public void testSftpSimpleConsume() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpKeyPairDSAConsumeTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpKeyPairDSAConsumeIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpKeyPairDSAConsumeTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpKeyPairDSAConsumeIT.java index a0060906beb39..c607f03a3b613 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpKeyPairDSAConsumeTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpKeyPairDSAConsumeIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import java.security.KeyPair; import java.security.KeyPairGenerator; @@ -28,7 +28,7 @@ import org.junit.jupiter.api.condition.EnabledIf; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpKeyPairDSAConsumeTest extends SftpServerTestSupport { +public class SftpKeyPairDSAConsumeIT extends SftpServerTestSupport { private static KeyPair keyPair; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpKeyPairRSAConsumeTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpKeyPairRSAConsumeIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpKeyPairRSAConsumeTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpKeyPairRSAConsumeIT.java index 8dddd3737a5ff..0a6647c8506f0 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpKeyPairRSAConsumeTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpKeyPairRSAConsumeIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import java.io.ByteArrayOutputStream; import java.io.File; @@ -34,7 +34,7 @@ import org.junit.jupiter.api.condition.EnabledIf; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpKeyPairRSAConsumeTest extends SftpServerTestSupport { +public class SftpKeyPairRSAConsumeIT extends SftpServerTestSupport { private static KeyPair keyPair; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpKeyUriConsumeFromClasspathTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpKeyUriConsumeFromClasspathIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpKeyUriConsumeFromClasspathTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpKeyUriConsumeFromClasspathIT.java index 75552f46041f8..1248bba765914 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpKeyUriConsumeFromClasspathTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpKeyUriConsumeFromClasspathIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.condition.EnabledIf; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpKeyUriConsumeFromClasspathTest extends SftpServerTestSupport { +public class SftpKeyUriConsumeFromClasspathIT extends SftpServerTestSupport { @Test public void testSftpSimpleConsume() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpKeyUriConsumeTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpKeyUriConsumeIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpKeyUriConsumeTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpKeyUriConsumeIT.java index a4a0db10b6c34..fa69a471c10f8 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpKeyUriConsumeTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpKeyUriConsumeIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.condition.EnabledIf; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpKeyUriConsumeTest extends SftpServerTestSupport { +public class SftpKeyUriConsumeIT extends SftpServerTestSupport { @Test public void testSftpSimpleConsume() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpProduceTempFileTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpProduceTempFileIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpProduceTempFileTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpProduceTempFileIT.java index 2f3657738a764..d78aa42837464 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpProduceTempFileTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpProduceTempFileIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import java.io.File; @@ -27,7 +27,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpProduceTempFileTest extends SftpServerTestSupport { +public class SftpProduceTempFileIT extends SftpServerTestSupport { @Test public void testSftpTempFile() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpProducerFileWithPathTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpProducerFileWithPathIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpProducerFileWithPathTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpProducerFileWithPathIT.java index b31b25b1792a0..1f5d7c47afa47 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpProducerFileWithPathTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpProducerFileWithPathIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import java.io.File; @@ -27,7 +27,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpProducerFileWithPathTest extends SftpServerTestSupport { +public class SftpProducerFileWithPathIT extends SftpServerTestSupport { private String getFtpUrl() { return "sftp://admin@localhost:{{ftp.server.port}}/{{ftp.root.dir}}?password=admin"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpProducerFileWithPathNoStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpProducerFileWithPathNoStepwiseIT.java similarity index 92% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpProducerFileWithPathNoStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpProducerFileWithPathNoStepwiseIT.java index 590ebfb404063..b01d0947c7b5a 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpProducerFileWithPathNoStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpProducerFileWithPathNoStepwiseIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import java.io.File; @@ -27,7 +27,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpProducerFileWithPathNoStepwiseTest extends SftpServerTestSupport { +public class SftpProducerFileWithPathNoStepwiseIT extends SftpServerTestSupport { private String getFtpUrl() { return "sftp://admin@localhost:{{ftp.server.port}}/{{ftp.root.dir}}?password=admin&stepwise=false"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpProducerMoveExistingTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpProducerMoveExistingIT.java similarity index 98% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpProducerMoveExistingTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpProducerMoveExistingIT.java index 675dddab73971..520e8ddb03341 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpProducerMoveExistingTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpProducerMoveExistingIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import org.apache.camel.CamelExecutionException; import org.apache.camel.Exchange; @@ -34,7 +34,7 @@ @TestInstance(TestInstance.Lifecycle.PER_CLASS) @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpProducerMoveExistingTest extends SftpServerTestSupport { +public class SftpProducerMoveExistingIT extends SftpServerTestSupport { private String getFtpUrl() { return "sftp://admin@localhost:{{ftp.server.port}}/{{ftp.root.dir}}/move?password=admin&fileExist=Move"; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpProducerWithCharsetTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpProducerWithCharsetIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpProducerWithCharsetTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpProducerWithCharsetIT.java index 17e90246bee96..ee949fe1c8fce 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpProducerWithCharsetTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpProducerWithCharsetIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import java.io.File; @@ -27,10 +27,10 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpProducerWithCharsetTest extends SftpServerTestSupport { +public class SftpProducerWithCharsetIT extends SftpServerTestSupport { private static final String SAMPLE_FILE_NAME - = String.format("sample-%s.txt", SftpProducerWithCharsetTest.class.getSimpleName()); + = String.format("sample-%s.txt", SftpProducerWithCharsetIT.class.getSimpleName()); private static final String SAMPLE_FILE_CHARSET = "iso-8859-1"; private static final String SAMPLE_FILE_PAYLOAD = "\u00e6\u00f8\u00e5 \u00a9"; // danish // ae diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpServerTestSupport.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpServerTestSupport.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpServerTestSupport.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpServerTestSupport.java index af40eaf7cb115..7dc1b6c6eca54 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpServerTestSupport.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpServerTestSupport.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import java.nio.file.Path; diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSetCipherTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSetCipherIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSetCipherTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSetCipherIT.java index dee07b53d5aba..cc8cdf4c19ada 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSetCipherTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSetCipherIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import java.io.File; @@ -27,7 +27,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpSetCipherTest extends SftpServerTestSupport { +public class SftpSetCipherIT extends SftpServerTestSupport { @Test public void testSftpSetCipherName() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSetOperationsTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSetOperationsIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSetOperationsTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSetOperationsIT.java index 3a318d7d51d59..b28f351af912c 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSetOperationsTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSetOperationsIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import java.io.File; @@ -27,7 +27,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpSetOperationsTest extends SftpServerTestSupport { +public class SftpSetOperationsIT extends SftpServerTestSupport { @Test public void testSftpSetOperations() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleConsumeTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleConsumeTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeIT.java index d23940585eb50..2e17808bf9f94 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleConsumeTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.condition.EnabledIf; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpSimpleConsumeTest extends SftpServerTestSupport { +public class SftpSimpleConsumeIT extends SftpServerTestSupport { @Test public void testSftpSimpleConsume() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleConsumeNoStartingDirTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeNoStartingDirIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleConsumeNoStartingDirTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeNoStartingDirIT.java index ca39e6d37be3d..9a2960a4c2313 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleConsumeNoStartingDirTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeNoStartingDirIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import java.io.File; import java.io.FileOutputStream; @@ -26,7 +26,7 @@ import org.junit.jupiter.api.condition.EnabledIf; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpSimpleConsumeNoStartingDirTest extends SftpServerTestSupport { +public class SftpSimpleConsumeNoStartingDirIT extends SftpServerTestSupport { @Test public void testSftpSimpleConsume() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleConsumeNotStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeNotStepwiseIT.java similarity index 91% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleConsumeNotStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeNotStepwiseIT.java index 00af03da9f18b..f2593e01f7f66 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleConsumeNotStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeNotStepwiseIT.java @@ -14,13 +14,13 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import org.apache.camel.builder.RouteBuilder; import org.junit.jupiter.api.condition.EnabledIf; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpSimpleConsumeNotStepwiseTest extends SftpSimpleConsumeTest { +public class SftpSimpleConsumeNotStepwiseIT extends SftpSimpleConsumeIT { @Override protected RouteBuilder createRouteBuilder() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleConsumeRecursiveTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeRecursiveIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleConsumeRecursiveTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeRecursiveIT.java index 447fa2384bf26..ed2941a21d5c6 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleConsumeRecursiveTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeRecursiveIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.condition.EnabledIf; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpSimpleConsumeRecursiveTest extends SftpServerTestSupport { +public class SftpSimpleConsumeRecursiveIT extends SftpServerTestSupport { @Test public void testSftpSimpleConsumeRecursive() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleConsumeRecursiveNotStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeRecursiveNotStepwiseIT.java similarity index 89% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleConsumeRecursiveNotStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeRecursiveNotStepwiseIT.java index 7efa082eb2092..286d4beb98ba6 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleConsumeRecursiveNotStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeRecursiveNotStepwiseIT.java @@ -14,11 +14,11 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import org.apache.camel.builder.RouteBuilder; -public class SftpSimpleConsumeRecursiveNotStepwiseTest extends SftpSimpleConsumeRecursiveTest { +public class SftpSimpleConsumeRecursiveNotStepwiseIT extends SftpSimpleConsumeRecursiveIT { @Override protected RouteBuilder createRouteBuilder() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleConsumeStreamingTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeStreamingIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleConsumeStreamingTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeStreamingIT.java index e782d1ddf158e..b769131431b62 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleConsumeStreamingTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeStreamingIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import java.io.InputStream; @@ -28,7 +28,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpSimpleConsumeStreamingTest extends SftpServerTestSupport { +public class SftpSimpleConsumeStreamingIT extends SftpServerTestSupport { @Test public void testSftpSimpleConsume() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleConsumeStreamingPartialReadTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeStreamingPartialReadIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleConsumeStreamingPartialReadTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeStreamingPartialReadIT.java index 300f5d8a174fd..804beb2d0341a 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleConsumeStreamingPartialReadTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeStreamingPartialReadIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import java.io.File; import java.io.InputStream; @@ -34,7 +34,7 @@ * Tests that a file move can occur on the server even if the remote stream was only partially read. */ @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpSimpleConsumeStreamingPartialReadTest extends SftpServerTestSupport { +public class SftpSimpleConsumeStreamingPartialReadIT extends SftpServerTestSupport { @Test public void testSftpSimpleConsume() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleConsumeStreamingWithMultipleFilesTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeStreamingWithMultipleFilesIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleConsumeStreamingWithMultipleFilesTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeStreamingWithMultipleFilesIT.java index 89a59a4913270..87ef9399e2555 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleConsumeStreamingWithMultipleFilesTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeStreamingWithMultipleFilesIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import java.io.InputStream; @@ -28,7 +28,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpSimpleConsumeStreamingWithMultipleFilesTest extends SftpServerTestSupport { +public class SftpSimpleConsumeStreamingWithMultipleFilesIT extends SftpServerTestSupport { @Test public void testSftpSimpleConsume() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleConsumeThroughProxyTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeThroughProxyIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleConsumeThroughProxyTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeThroughProxyIT.java index 8dc87d964bf67..bba78c3c6af30 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleConsumeThroughProxyTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleConsumeThroughProxyIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import com.jcraft.jsch.ProxyHTTP; import org.apache.camel.BindToRegistry; @@ -33,7 +33,7 @@ @TestInstance(TestInstance.Lifecycle.PER_CLASS) @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpSimpleConsumeThroughProxyTest extends SftpServerTestSupport { +public class SftpSimpleConsumeThroughProxyIT extends SftpServerTestSupport { private static HttpProxyServer proxyServer; private final int proxyPort = AvailablePortFinder.getNextAvailable(); diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleIPV6ConsumeTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleIPV6ConsumeIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleIPV6ConsumeTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleIPV6ConsumeIT.java index 724d6eb554936..6475b70cfb013 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleIPV6ConsumeTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleIPV6ConsumeIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; @@ -25,7 +25,7 @@ @Disabled @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpSimpleIPV6ConsumeTest extends SftpServerTestSupport { +public class SftpSimpleIPV6ConsumeIT extends SftpServerTestSupport { @Test public void testSftpSimpleConsume() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleProduceDisconnectTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleProduceDisconnectIT.java similarity index 93% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleProduceDisconnectTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleProduceDisconnectIT.java index 6f5dbfabd1ca2..deac13f8b45ac 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleProduceDisconnectTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleProduceDisconnectIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import java.io.File; @@ -26,7 +26,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpSimpleProduceDisconnectTest extends SftpServerTestSupport { +public class SftpSimpleProduceDisconnectIT extends SftpServerTestSupport { @Test public void testSftpSimpleProduce() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleProduceTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleProduceIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleProduceTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleProduceIT.java index 167409105ffd0..31fd0518f821a 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleProduceTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleProduceIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import java.io.File; @@ -26,7 +26,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpSimpleProduceTest extends SftpServerTestSupport { +public class SftpSimpleProduceIT extends SftpServerTestSupport { @Test public void testSftpSimpleProduce() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleProduceNotStepwiseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleProduceNotStepwiseIT.java similarity index 95% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleProduceNotStepwiseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleProduceNotStepwiseIT.java index d9b494de4dbf2..6f5fad1782169 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleProduceNotStepwiseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleProduceNotStepwiseIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import java.io.File; @@ -26,7 +26,7 @@ import static org.junit.jupiter.api.Assertions.assertTrue; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpSimpleProduceNotStepwiseTest extends SftpServerTestSupport { +public class SftpSimpleProduceNotStepwiseIT extends SftpServerTestSupport { @Test public void testSftpSimpleProduce() throws Exception { diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleProduceThroughProxyTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleProduceThroughProxyIT.java similarity index 96% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleProduceThroughProxyTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleProduceThroughProxyIT.java index 6e3f3459c624b..7ae68c812db79 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpSimpleProduceThroughProxyTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpSimpleProduceThroughProxyIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import java.io.File; @@ -36,7 +36,7 @@ @TestInstance(TestInstance.Lifecycle.PER_CLASS) @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpSimpleProduceThroughProxyTest extends SftpServerTestSupport { +public class SftpSimpleProduceThroughProxyIT extends SftpServerTestSupport { private static HttpProxyServer proxyServer; private final int proxyPort = AvailablePortFinder.getNextAvailable(); diff --git a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpUseListFalseTest.java b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpUseListFalseIT.java similarity index 94% rename from components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpUseListFalseTest.java rename to components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpUseListFalseIT.java index 01d093b088f95..3ab0eff18d65d 100644 --- a/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/SftpUseListFalseTest.java +++ b/components/camel-ftp/src/test/java/org/apache/camel/component/file/remote/sftp/integration/SftpUseListFalseIT.java @@ -14,7 +14,7 @@ * See the License for the specific language governing permissions and * limitations under the License. */ -package org.apache.camel.component.file.remote.sftp; +package org.apache.camel.component.file.remote.sftp.integration; import org.apache.camel.Exchange; import org.apache.camel.builder.RouteBuilder; @@ -23,7 +23,7 @@ import org.junit.jupiter.api.condition.EnabledIf; @EnabledIf(value = "org.apache.camel.component.file.remote.services.SftpEmbeddedService#hasRequiredAlgorithms") -public class SftpUseListFalseTest extends SftpServerTestSupport { +public class SftpUseListFalseIT extends SftpServerTestSupport { @Test public void testSftpUseListFalse() throws Exception {