Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Tidied up imports

  • Loading branch information...
commit 24c6f6896df9a3440518aad6977dd22a79af2691 1 parent 946fed5
@wakaleo wakaleo authored
Showing with 244 additions and 729 deletions.
  1. +0 −3  maven-thucydides-plugin/src/test/java/net/thucydides/maven/plugins/WhenImportingExternalTestResults.java
  2. +0 −1  thucydides-core/src/main/java/net/thucydides/core/ThucydidesListeners.java
  3. +4 −4 thucydides-core/src/main/java/net/thucydides/core/annotations/ImplementedBy.java
  4. +0 −2  thucydides-core/src/main/java/net/thucydides/core/annotations/ManagedWebDriverAnnotatedField.java
  5. +2 −2 thucydides-core/src/main/java/net/thucydides/core/annotations/findby/By.java
  6. +4 −5 thucydides-core/src/main/java/net/thucydides/core/annotations/locators/SmartAjaxElementLocator.java
  7. +4 −5 thucydides-core/src/main/java/net/thucydides/core/annotations/locators/SmartAnnotations.java
  8. +5 −6 thucydides-core/src/main/java/net/thucydides/core/annotations/locators/SmartElementHandler.java
  9. +3 −4 thucydides-core/src/main/java/net/thucydides/core/annotations/locators/SmartElementLocator.java
  10. +2 −2 thucydides-core/src/main/java/net/thucydides/core/annotations/locators/SmartElementLocatorFactory.java
  11. +4 −5 thucydides-core/src/main/java/net/thucydides/core/annotations/locators/SmartElementProxyCreator.java
  12. +8 −9 thucydides-core/src/main/java/net/thucydides/core/annotations/locators/SmartFieldDecorator.java
  13. +2 −3 thucydides-core/src/main/java/net/thucydides/core/batches/BatchManagerProvider.java
  14. +4 −2 thucydides-core/src/main/java/net/thucydides/core/batches/SystemVariableBasedBatchManager.java
  15. +4 −5 thucydides-core/src/main/java/net/thucydides/core/batches/TestCountBasedBatchManager.java
  16. +0 −2  thucydides-core/src/main/java/net/thucydides/core/bootstrap/ThucydidesAgent.java
  17. +1 −1  thucydides-core/src/main/java/net/thucydides/core/csv/InstanceBuilder.java
  18. +0 −2  thucydides-core/src/main/java/net/thucydides/core/csv/converters/BigDecimalTypeConverter.java
  19. +0 −1  thucydides-core/src/main/java/net/thucydides/core/geometry/Line.java
  20. +0 −1  thucydides-core/src/main/java/net/thucydides/core/geometry/Point.java
  21. +0 −1  thucydides-core/src/main/java/net/thucydides/core/guice/ThucydidesModule.java
  22. +0 −7 thucydides-core/src/main/java/net/thucydides/core/matchers/BeanMatchers.java
  23. +0 −2  thucydides-core/src/main/java/net/thucydides/core/matchers/dates/DateCollectionContainsSameDatesMatcher.java
  24. +0 −3  ...dides-core/src/main/java/net/thucydides/core/matchers/dates/DateTimeCollectionContainsSameDatesMatcher.java
  25. +0 −2  thucydides-core/src/main/java/net/thucydides/core/matchers/dates/DateTimeIsCloseToAsMatcher.java
  26. +0 −2  thucydides-core/src/main/java/net/thucydides/core/model/ErrorMessageFormatter.java
  27. +0 −1  thucydides-core/src/main/java/net/thucydides/core/model/FailureAnalysis.java
  28. +0 −1  thucydides-core/src/main/java/net/thucydides/core/model/ScreenshotPermission.java
  29. +0 −1  thucydides-core/src/main/java/net/thucydides/core/model/TestOutcome.java
  30. +0 −3  thucydides-core/src/main/java/net/thucydides/core/pages/Pages.java
  31. +0 −3  thucydides-core/src/main/java/net/thucydides/core/pages/RenderedPageObjectView.java
  32. +3 −4 thucydides-core/src/main/java/net/thucydides/core/pages/WebElementFacade.java
  33. +0 −3  thucydides-core/src/main/java/net/thucydides/core/pages/components/HtmlTable.java
  34. +0 −6 thucydides-core/src/main/java/net/thucydides/core/reflection/FieldFinder.java
  35. +0 −1  thucydides-core/src/main/java/net/thucydides/core/releases/ReleaseManager.java
  36. +5 −5 thucydides-core/src/main/java/net/thucydides/core/reports/ReportOptions.java
  37. +0 −3  thucydides-core/src/main/java/net/thucydides/core/reports/TestOutcomeCounter.java
  38. +0 −4 thucydides-core/src/main/java/net/thucydides/core/reports/TestOutcomes.java
  39. +0 −1  thucydides-core/src/main/java/net/thucydides/core/reports/adaptors/AdaptorService.java
  40. +0 −1  thucydides-core/src/main/java/net/thucydides/core/reports/adaptors/lettuce/LettuceXUnitAdaptor.java
  41. +0 −2  thucydides-core/src/main/java/net/thucydides/core/reports/adaptors/specflow/ScenarioStep.java
  42. +0 −3  thucydides-core/src/main/java/net/thucydides/core/reports/adaptors/specflow/ScenarioStepReader.java
  43. +7 −5 thucydides-core/src/main/java/net/thucydides/core/reports/adaptors/specflow/SpecflowAdaptor.java
  44. +0 −1  thucydides-core/src/main/java/net/thucydides/core/reports/adaptors/specflow/SpecflowScenarioTitleLine.java
  45. +0 −4 thucydides-core/src/main/java/net/thucydides/core/reports/csv/CSVReporter.java
  46. +0 −1  thucydides-core/src/main/java/net/thucydides/core/reports/history/ProgressSnapshot.java
  47. +0 −3  thucydides-core/src/main/java/net/thucydides/core/reports/html/Formatter.java
  48. +0 −1  thucydides-core/src/main/java/net/thucydides/core/reports/html/HtmlAcceptanceTestReporter.java
  49. +0 −1  thucydides-core/src/main/java/net/thucydides/core/reports/html/HtmlAggregateStoryReporter.java
  50. +0 −6 thucydides-core/src/main/java/net/thucydides/core/reports/html/HtmlProgressReporter.java
  51. +0 −2  thucydides-core/src/main/java/net/thucydides/core/reports/html/HtmlRequirementsReporter.java
  52. +0 −3  thucydides-core/src/main/java/net/thucydides/core/reports/html/screenshots/ScreenshotFormatter.java
  53. +0 −2  thucydides-core/src/main/java/net/thucydides/core/reports/json/ClassTypeAdapter.java
  54. +0 −1  thucydides-core/src/main/java/net/thucydides/core/reports/json/JSONTestOutcomeReporter.java
  55. +0 −6 thucydides-core/src/main/java/net/thucydides/core/requirements/AbstractRequirementsTagProvider.java
  56. +0 −1  thucydides-core/src/main/java/net/thucydides/core/requirements/AnnotationBasedTagProvider.java
  57. +0 −1  thucydides-core/src/main/java/net/thucydides/core/requirements/ClasspathRequirementsProviderService.java
  58. +7 −1 thucydides-core/src/main/java/net/thucydides/core/requirements/FileSystemRequirementsTagProvider.java
  59. +0 −1  thucydides-core/src/main/java/net/thucydides/core/requirements/RequirementsService.java
  60. +1 −1  thucydides-core/src/main/java/net/thucydides/core/requirements/RequirementsTagProvider.java
  61. +0 −2  thucydides-core/src/main/java/net/thucydides/core/requirements/model/NarrativeReader.java
  62. +0 −3  thucydides-core/src/main/java/net/thucydides/core/requirements/model/Requirement.java
  63. +0 −2  thucydides-core/src/main/java/net/thucydides/core/requirements/model/RequirementBuilderTypeStep.java
  64. +1 −2  thucydides-core/src/main/java/net/thucydides/core/requirements/reports/RequirementOutcome.java
  65. +0 −7 thucydides-core/src/main/java/net/thucydides/core/requirements/reports/RequirementsOutcomes.java
  66. +0 −5 thucydides-core/src/main/java/net/thucydides/core/requirements/reports/RequirmentsOutcomeFactory.java
  67. +0 −1  thucydides-core/src/main/java/net/thucydides/core/screenshots/ScreenshotBlurCheck.java
  68. +0 −4 thucydides-core/src/main/java/net/thucydides/core/statistics/service/ClasspathTagProviderService.java
  69. +0 −3  thucydides-core/src/main/java/net/thucydides/core/statistics/service/FeatureStoryTagProvider.java
  70. +0 −2  thucydides-core/src/main/java/net/thucydides/core/statistics/service/TagProvider.java
  71. +0 −2  thucydides-core/src/main/java/net/thucydides/core/steps/AnnotatedStepDescription.java
  72. +0 −1  thucydides-core/src/main/java/net/thucydides/core/steps/ConsoleStepListener.java
  73. +0 −4 thucydides-core/src/main/java/net/thucydides/core/steps/DataDrivenStepFactory.java
  74. +0 −2  thucydides-core/src/main/java/net/thucydides/core/steps/PageObjectDependencyInjector.java
  75. +0 −3  thucydides-core/src/main/java/net/thucydides/core/steps/StepData.java
  76. +0 −2  thucydides-core/src/main/java/net/thucydides/core/steps/StepFactory.java
  77. +0 −2  thucydides-core/src/main/java/net/thucydides/core/steps/StepInterceptor.java
  78. +1 −0  thucydides-core/src/main/java/net/thucydides/core/steps/di/DependencyInjectorService.java
  79. +0 −1  thucydides-core/src/main/java/net/thucydides/core/tags/TagConverters.java
  80. +0 −1  thucydides-core/src/main/java/net/thucydides/core/tags/TagScanner.java
  81. +3 −3 thucydides-core/src/main/java/net/thucydides/core/util/ExtendedTemporaryFolder.java
  82. +2 −3 thucydides-core/src/main/java/net/thucydides/core/util/NameConverter.java
  83. +3 −5 thucydides-core/src/main/java/net/thucydides/core/webdriver/CapabilitySet.java
  84. +1 −2  thucydides-core/src/main/java/net/thucydides/core/webdriver/ElementLocatorFactorySelector.java
  85. +0 −1  thucydides-core/src/main/java/net/thucydides/core/webdriver/ElementProxyCreator.java
  86. +3 −3 thucydides-core/src/main/java/net/thucydides/core/webdriver/SupportedWebDriver.java
  87. +0 −2  thucydides-core/src/main/java/net/thucydides/core/webdriver/WebDriverFactory.java
  88. +0 −1  thucydides-core/src/main/java/net/thucydides/core/webdriver/WebdriverInstances.java
  89. +8 −9 thucydides-core/src/main/java/net/thucydides/core/webdriver/javascript/JavascriptExecutorFacade.java
  90. +0 −1  thucydides-core/src/main/java/net/thucydides/core/webdriver/stubs/TargetLocatorStub.java
  91. +1 −1  thucydides-core/src/test/groovy/net/thucydides/core/annotations/WhenAnnotatingTestCases.groovy
  92. +0 −2  thucydides-core/src/test/groovy/net/thucydides/core/annotations/WhenReadingFieldsInAClass.groovy
  93. +3 −7 ...ides-core/src/test/groovy/net/thucydides/core/annotations/findby/WhenFindingExtendedWebElementFacade.groovy
  94. +0 −1  thucydides-core/src/test/groovy/net/thucydides/core/annotations/findby/WhenUsingSmartFindBy.groovy
  95. +0 −1  ...ydides-core/src/test/groovy/net/thucydides/core/annotations/findby/WhenUsingSmartFindByOnPageObjects.groovy
  96. +0 −1  thucydides-core/src/test/groovy/net/thucydides/core/annotations/locators/WhenUsingTheSmartAnnotations.groovy
  97. +2 −2 thucydides-core/src/test/groovy/net/thucydides/core/bootstrap/WhenBootstrappingATestClass.groovy
  98. +2 −2 thucydides-core/src/test/groovy/net/thucydides/core/bootstrap/WhenConfiguringAThucydidesContext.groovy
  99. +1 −5 thucydides-core/src/test/groovy/net/thucydides/core/csv/WhenConvertingCSVData.groovy
  100. +0 −5 thucydides-core/src/test/groovy/net/thucydides/core/fixtureservices/WhenUsingFixtureServices.groovy
  101. +0 −2  thucydides-core/src/test/groovy/net/thucydides/core/matchers/WhenMatchingOutcomes.groovy
  102. +5 −5 thucydides-core/src/test/groovy/net/thucydides/core/model/WhenDecidingWhetherToTakeScreenshots.groovy
  103. +1 −4 thucydides-core/src/test/groovy/net/thucydides/core/model/WhenRecordingDataDrivenTestOutcomes.groovy
  104. +2 −4 thucydides-core/src/test/groovy/net/thucydides/core/model/WhenReportingExceptions.groovy
  105. +1 −0  ...ydides-core/src/test/groovy/net/thucydides/core/reports/WhenObtainingResultSummariesFromTestOutcomes.groovy
  106. +4 −5 thucydides-core/src/test/groovy/net/thucydides/core/reports/WhenProcessingTestOutcomes.groovy
  107. +0 −4 ...est/groovy/net/thucydides/core/reports/adaptors/WhenConvertingNonFilebasedResultsToThucydidesReports.groovy
  108. +0 −2  thucydides-core/src/test/groovy/net/thucydides/core/reports/csv/WhenSavingTestOutcomesInCSVForm.groovy
  109. +0 −3  thucydides-core/src/test/groovy/net/thucydides/core/reports/html/WhenFormattingDataForTheHTMLReports.groovy
  110. +0 −1  ...ides-core/src/test/groovy/net/thucydides/core/reports/integration/WhenGeneratingAggregateHtmlReports.groovy
  111. +5 −5 ...es-core/src/test/groovy/net/thucydides/core/requirements/WhenAssociatingATestOutcomeWithARequirement.groovy
  112. +2 −8 thucydides-core/src/test/groovy/net/thucydides/core/requirements/WhenGeneratingRequirementsReportData.groovy
  113. +1 −2  thucydides-core/src/test/groovy/net/thucydides/core/requirements/WhenListingAllKnownRequirements.groovy
  114. +3 −3 ...-core/src/test/groovy/net/thucydides/core/requirements/WhenLoadingNarrativeDescriptionFromADirectory.groovy
  115. +1 −1  ...core/src/test/groovy/net/thucydides/core/requirements/WhenLoadingRequirementsFromADirectoryStructure.groovy
  116. +4 −4 thucydides-core/src/test/groovy/net/thucydides/core/requirements/WhenReportingOnRequirementCompletion.groovy
  117. +1 −1  thucydides-core/src/test/groovy/net/thucydides/core/requirements/WhenUsingACustomRequirementsProvider.groovy
  118. +9 −13 ...-core/src/test/groovy/net/thucydides/core/requirements/integration/WhenGeneratingRequirementsReports.groovy
  119. +0 −3  thucydides-core/src/test/groovy/net/thucydides/core/requirements/reportpages/ProgressReport.groovy
  120. +3 −3 thucydides-core/src/test/groovy/net/thucydides/core/requirements/reportpages/RequirementsReport.groovy
  121. +3 −5 thucydides-core/src/test/groovy/net/thucydides/core/screenshots/integration/WhenProcessingScreenshots.groovy
  122. +2 −2 thucydides-core/src/test/groovy/net/thucydides/core/webdriver/WhenChoosingAnElementLocatorFactory.groovy
  123. +1 −6 thucydides-core/src/test/groovy/net/thucydides/core/webdriver/WhenExtendingWebElementFacade.groovy
  124. +0 −3  thucydides-core/src/test/groovy/net/thucydides/core/webdriver/WhenInitializingPageObjectFields.groovy
  125. +0 −1  thucydides-core/src/test/groovy/net/thucydides/core/webdriver/WhenOpeningAndClosingBrowserSessions.groovy
  126. +3 −8 ...e/src/test/groovy/net/thucydides/core/webdriver/WhenProvidingWebdriverSupportForThucydidesExtensions.groovy
  127. +0 −12 thucydides-core/src/test/groovy/net/thucydides/core/webdriver/WhenProvidingYourOwnWebdriverInstance.groovy
  128. +0 −1  thucydides-core/src/test/groovy/net/thucydides/core/webdriver/WhenUsingWebElementFacadeExtender.groovy
  129. +4 −13 thucydides-core/src/test/groovy/net/thucydides/core/webdriver/javascript/WhenDeserializingJSONObjects.groovy
  130. +0 −1  thucydides-core/src/test/java/net/thucydides/core/ListenerInWrongPackage.java
  131. +0 −1  thucydides-core/src/test/java/net/thucydides/core/annotations/WhenReadingManagedDriverAnnotations.java
  132. +8 −9 thucydides-core/src/test/java/net/thucydides/core/batches/integration/WhenUseTestCountBasedBatchStrategy.java
  133. +0 −2  thucydides-core/src/test/java/net/thucydides/core/csv/WhenLoadingTestDataFromACSVFile.java
  134. +0 −1  thucydides-core/src/test/java/net/thucydides/core/images/WhenResizingAScreenshot.java
  135. +1 −4 thucydides-core/src/test/java/net/thucydides/core/matchers/WhenMatchingPropertyValueCollections.java
  136. +0 −2  thucydides-core/src/test/java/net/thucydides/core/matchers/WhenMatchingPropertyValuesWithMaps.java
  137. +1 −1  thucydides-core/src/test/java/net/thucydides/core/matchers/dates/WhenMatchingJodaTimeDates.java
  138. +0 −1  thucydides-core/src/test/java/net/thucydides/core/matchers/dates/WhenReportingOnDateMatching.java
  139. +0 −7 thucydides-core/src/test/java/net/thucydides/core/model/WhenAggregatingStoryResults.java
  140. +0 −1  thucydides-core/src/test/java/net/thucydides/core/model/WhenRecordingNewTestOutcomes.java
  141. +0 −1  thucydides-core/src/test/java/net/thucydides/core/model/WhenWeCreateATestStep.java
  142. +0 −2  thucydides-core/src/test/java/net/thucydides/core/output/WhenRecordingTestOutputInASpreadsheet.java
  143. +0 −8 thucydides-core/src/test/java/net/thucydides/core/pages/WhenKeepingTrackOfVisitedPages.java
  144. +0 −1  ...des-core/src/test/java/net/thucydides/core/pages/integration/CheckingVisibilityWithTheFluentElementAPI.java
  145. +0 −5 thucydides-core/src/test/java/net/thucydides/core/pages/integration/FluentElementAPITestsBaseClass.java
  146. +0 −1  thucydides-core/src/test/java/net/thucydides/core/pages/integration/StaticSitePage.java
  147. +0 −2  thucydides-core/src/test/java/net/thucydides/core/pages/integration/StaticSitePageWithFacades.java
  148. +0 −1  thucydides-core/src/test/java/net/thucydides/core/pages/integration/UsingFormsWithTheFluentElementAPI.java
  149. +0 −1  thucydides-core/src/test/java/net/thucydides/core/pages/integration/UsingTheWebElementFacade.java
  150. +0 −4 ...-core/src/test/java/net/thucydides/core/pages/integration/UsingWebdriverActionsWithTheFluentElementAPI.java
  151. +0 −3  thucydides-core/src/test/java/net/thucydides/core/reports/WhenUsingAReportService.java
  152. +3 −2 thucydides-core/src/test/java/net/thucydides/core/reports/html/WhenFormattingForHTML.java
  153. +0 −1  thucydides-core/src/test/java/net/thucydides/core/reports/html/screenshots/WhenReformattingScreenshots.java
  154. +0 −1  thucydides-core/src/test/java/net/thucydides/core/reports/integration/TestStepFactory.java
  155. +8 −2 ...ides-core/src/test/java/net/thucydides/core/reports/integration/WhenGeneratingAnAggregateHtmlReportSet.java
  156. +0 −1  thucydides-core/src/test/java/net/thucydides/core/reports/integration/WhenGeneratingAnHtmlReport.java
  157. +0 −1  thucydides-core/src/test/java/net/thucydides/core/reports/integration/WhenIncludingJIRALinksInReports.java
  158. +0 −1  thucydides-core/src/test/java/net/thucydides/core/reports/integration/WhenReadingAnXMLReport.java
  159. +0 −1  thucydides-core/src/test/java/net/thucydides/core/reports/saucelabs/WhenGeneratingASauclabsLink.java
  160. +3 −3 thucydides-core/src/test/java/net/thucydides/core/resources/WhenReadingResourcesFromTheClasspath.java
  161. +0 −1  thucydides-core/src/test/java/net/thucydides/core/screenshots/WhenScreenshotsAreTaken.java
  162. +0 −2  thucydides-core/src/test/java/net/thucydides/core/sessions/WhenStoringStateBetweenStep.java
  163. +0 −1  thucydides-core/src/test/java/net/thucydides/core/steps/WhenInjectingSpringDependenciesIntoAStepLibrary.java
  164. +0 −1  thucydides-core/src/test/java/net/thucydides/core/steps/WhenOrganizingTestStepsInAScenario.java
  165. +0 −1  thucydides-core/src/test/java/net/thucydides/core/steps/WhenRecordingStepExecutionResultsForNonWebTests.java
  166. +0 −1  thucydides-core/src/test/java/net/thucydides/core/steps/WhenRunningStepsThroughAScenarioProxy.java
  167. +0 −1  thucydides-core/src/test/java/net/thucydides/core/steps/WhenUsingTheStepEventBus.java
  168. +0 −2  thucydides-core/src/test/java/net/thucydides/core/steps/integration/WhenRunningStepsWithTestData.java
  169. +0 −1  thucydides-core/src/test/java/net/thucydides/core/steps/samples/FlatScenarioStepsWithSpringDependencies.java
  170. +0 −5 thucydides-core/src/test/java/net/thucydides/core/steps/samples/FluentScenarioSteps.java
  171. +3 −3 thucydides-core/src/test/java/net/thucydides/core/util/ExtendedTemporaryFolderTest.java
  172. +4 −4 thucydides-core/src/test/java/net/thucydides/core/util/WhenChangingFileSeparator.java
  173. +0 −1  thucydides-core/src/test/java/net/thucydides/core/webdriver/WhenInstanciatingANewDriver.java
  174. +0 −3  thucydides-core/src/test/java/net/thucydides/core/webdriver/WhenKeepingTrackOfManagedWebdriverInstances.java
  175. +1 −2  thucydides-core/src/test/java/net/thucydides/core/webdriver/WhenLocatingWebElementsWithSmartLocator.java
  176. +1 −2  thucydides-core/src/test/java/net/thucydides/core/webdriver/WhenManagingGlobalConfiguration.java
  177. +0 −3  thucydides-core/src/test/java/net/thucydides/core/webdriver/WhenManagingWebdriverInstances.java
  178. +0 −3  thucydides-core/src/test/java/net/thucydides/core/webdriver/WhenUsingAWebDriverProxy.java
  179. +0 −1  ...ides-core/src/test/java/net/thucydides/core/webdriver/integration/WhenBrowsingAWebSiteUsingPageObjects.java
  180. +0 −1  ...c/test/java/net/thucydides/core/webdriver/integration/WhenCheckingVisibilityOnAWebSiteUsingPageObjects.java
  181. +1 −1  thucydides-core/src/test/java/sample/csv/TestPageObject.java
  182. +1 −2  thucydides-core/src/test/java/sample/elements/BadImplementer.java
  183. +1 −2  thucydides-core/src/test/java/sample/elements/WebElementFacadeInputImpl.java
  184. +2 −5 thucydides-core/src/test/java/sample/page/NotImplementedInterfacePage.java
  185. +0 −2  thucydides-core/src/test/java/sample/page/TestPage.java
  186. +2 −4 thucydides-core/src/test/java/sample/page/WithBadImplementerPage.java
  187. +0 −2  thucydides-core/src/test/java/sample/page/WithFindByOnClassPage.java
  188. +0 −1  thucydides-core/src/test/java/some/other/place/AlternativeTagProvider.java
  189. +1 −4 thucydides-core/src/test/resources/spring/config.xml
  190. +1 −2  thucydides-easyb-plugin/src/main/groovy/net/thucydides/easyb/PluginConfiguration.groovy
  191. +4 −10 thucydides-easyb-plugin/src/main/groovy/net/thucydides/easyb/ThucydidesExecutionListener.groovy
  192. +2 −1  thucydides-easyb-plugin/src/main/groovy/net/thucydides/easyb/ThucydidesExtensions.groovy
  193. +6 −11 thucydides-easyb-plugin/src/main/groovy/net/thucydides/easyb/ThucydidesPlugin.groovy
  194. +2 −6 thucydides-easyb-plugin/src/test/groovy/net/thucydides/easyb/MockWebDriver.groovy
  195. +2 −5 thucydides-easyb-plugin/src/test/groovy/net/thucydides/easyb/WhenAddingTagsDynamically.groovy
  196. +13 −26 thucydides-easyb-plugin/src/test/groovy/net/thucydides/easyb/WhenUsingTheThucydidesEasybPlugin.groovy
  197. +2 −3 thucydides-easyb-plugin/src/test/groovy/net/thucydides/easyb/WhenUsingTheThucydidesMixin.groovy
  198. +0 −1  thucydides-easyb-plugin/src/test/java/net/thucydides/easyb/WhenGeneratingThucydidesEasybReports.java
  199. +0 −1  thucydides-easyb-plugin/src/test/java/net/thucydides/easyb/WhenUsingTheThucydidesListenerBuilder.java
  200. +1 −1  thucydides-easyb-plugin/src/test/resources/logback.groovy
  201. +1 −0  thucydides-junit/src/main/java/net/thucydides/junit/finder/TestMethodFinder.java
  202. +3 −2 thucydides-junit/src/main/java/net/thucydides/junit/runners/ParameterizedTestsOutcomeAggregator.java
  203. +0 −1  thucydides-junit/src/main/java/net/thucydides/junit/runners/ThucydidesRunner.java
  204. +0 −1  thucydides-junit/src/test/groovy/net/thucydides/junit/finder/WhenFindingTestClassesInThePath.groovy
  205. +0 −1  thucydides-junit/src/test/groovy/net/thucydides/junit/runners/TestOutcomeChecks.groovy
  206. +3 −10 thucydides-junit/src/test/groovy/net/thucydides/junit/runners/WhenRunningTestScenarios.groovy
  207. +2 −3 ...ides-junit/src/test/groovy/net/thucydides/junit/sampletests/thucydidestests/SampleDataDrivenTestCase.groovy
  208. +0 −4 thucydides-junit/src/test/java/net/thucydides/junit/rules/QuietThucydidesLoggingRule.java
  209. +0 −1  thucydides-junit/src/test/java/net/thucydides/junit/runners/AbstractTestStepRunnerTest.java
  210. +0 −1  thucydides-junit/src/test/java/net/thucydides/junit/runners/WhenLoggingTestScenarioResults.java
  211. +0 −6 thucydides-junit/src/test/java/net/thucydides/junit/runners/WhenRunningADataDrivenTestScenario.java
  212. +0 −3  thucydides-junit/src/test/java/net/thucydides/junit/runners/WhenRunningANonWebTestScenario.java
  213. +0 −2  thucydides-junit/src/test/java/net/thucydides/junit/runners/WhenRunningTestBatches.java
  214. +0 −2  thucydides-junit/src/test/java/net/thucydides/junit/runners/integration/RunningTestScenariosInParallel.java
  215. +0 −2  ...es-junit/src/test/java/net/thucydides/junit/runners/integration/SimpleSuccessfulParametrizedTestSample.java
  216. +0 −4 thucydides-junit/src/test/java/net/thucydides/junit/runners/integration/WhenManagingAWebDriverInstance.java
  217. +0 −1  ...dides-junit/src/test/java/net/thucydides/junit/runners/integration/WhenRunningATestScenarioWithErrrors.java
  218. +0 −1  thucydides-junit/src/test/java/net/thucydides/junit/spring/SpringEnabledStepLibrary.java
  219. +0 −1  thucydides-junit/src/test/java/net/thucydides/junit/spring/WhenInjectingSpringDependencies.java
  220. +0 −9 ...dides-junit/src/test/java/net/thucydides/junit/spring/WhenInjectingSpringDependenciesIntoStepLibraries.java
  221. +0 −1  thucydides-junit/src/test/java/net/thucydides/junit/util/FileFormating.java
  222. +0 −1  thucydides-junit/src/test/java/net/thucydides/samples/AnnotatedSingleTestScenario.java
  223. +0 −3  thucydides-junit/src/test/java/net/thucydides/samples/AnotherSamplePassingScenario.java
  224. +0 −1  thucydides-junit/src/test/java/net/thucydides/samples/NestedDatadrivenSteps.java
  225. +0 −1  thucydides-junit/src/test/java/net/thucydides/samples/SampleDataDrivenScenario.java
  226. +0 −2  thucydides-junit/src/test/java/net/thucydides/samples/SampleDataDrivenScenarioWithExternalFailure.java
  227. +0 −2  thucydides-junit/src/test/java/net/thucydides/samples/SampleNonWebSteps.java
  228. +0 −5 thucydides-junit/src/test/java/net/thucydides/samples/SampleScenarioSteps.java
  229. +0 −1  thucydides-junit/src/test/java/net/thucydides/samples/SimpleNonWebScenario.java
  230. +0 −1  thucydides-junit/src/test/java/net/thucydides/samples/SingleWikipediaTestScenario.java
  231. +0 −3  thucydides-junit/src/test/java/net/thucydides/samples/WikipediaPage.java
  232. +0 −4 ...ven-integration-tests/src/it/project-with-errors/src/test/java/samples/TestScenarioForAnotherUserStory.java
  233. +0 −4 ...ydides-maven-integration-tests/src/it/project-with-errors/src/test/java/samples/TestScenarioWithGroups.java
  234. +0 −4 ...n-integration-tests/src/it/project-with-issue-integration/src/test/java/samples/TestSampleTestScenario.java
  235. +0 −4 ...en-integration-tests/src/it/project-with-jira-integration/src/test/java/samples/TestSampleTestScenario.java
  236. +0 −4 ...-tests/src/it/project-with-multi-project-jira-integration/src/test/java/samples/TestSampleTestScenario.java
  237. +0 −4 ...tests/src/it/project-with-nested-steps/src/test/java/samples/TestSampleTestForAnotherUserStoryScenario.java
  238. +0 −4 ...integration-tests/src/it/simple-project-with-site/src/test/java/samples/TestMakeBigWidgetsTestScenario.java
  239. +0 −4 ...tegration-tests/src/it/simple-project-with-site/src/test/java/samples/TestMakeSmallWidgetsTestScenario.java
  240. +0 −4 ...egration-tests/src/it/simple-project-with-site/src/test/java/samples/TestSellWidgetsOnlineTestScenario.java
  241. +0 −4 ...des-maven-integration-tests/src/it/simple-project/src/test/java/samples/TestMakeBigWidgetsTestScenario.java
  242. +0 −4 ...s-maven-integration-tests/src/it/simple-project/src/test/java/samples/TestMakeSmallWidgetsTestScenario.java
  243. +0 −4 ...-maven-integration-tests/src/it/simple-project/src/test/java/samples/TestSellWidgetsOnlineTestScenario.java
  244. +0 −4 thucydides-sample-alternative-resources/src/main/java/net/thucydides/jbehave/SomeBoilerplateSteps.java
  245. +5 −2 thucydides-spock/src/main/java/net/thucydides/spock/ThucydidesEnabled.java
  246. +0 −3  thucydides-spock/src/main/java/net/thucydides/spock/ThucydidesSpockEnricher.java
View
3  maven-thucydides-plugin/src/test/java/net/thucydides/maven/plugins/WhenImportingExternalTestResults.java
@@ -13,10 +13,7 @@
import java.io.FilenameFilter;
import java.io.IOException;
-import static junit.framework.Assert.assertEquals;
import static org.fest.assertions.Assertions.assertThat;
-import static org.mockito.Mockito.doThrow;
-import static org.mockito.Mockito.verify;
public class WhenImportingExternalTestResults {
View
1  thucydides-core/src/main/java/net/thucydides/core/ThucydidesListeners.java
@@ -7,7 +7,6 @@
import net.thucydides.core.steps.Listeners;
import net.thucydides.core.steps.StepEventBus;
import net.thucydides.core.steps.StepListener;
-import net.thucydides.core.steps.StepPublisher;
import net.thucydides.core.webdriver.Configuration;
import org.openqa.selenium.WebDriver;
View
8 thucydides-core/src/main/java/net/thucydides/core/annotations/ImplementedBy.java
@@ -1,11 +1,11 @@
package net.thucydides.core.annotations;
-import java.lang.annotation.Retention;
-import java.lang.annotation.Target;
+import net.thucydides.core.pages.WebElementFacadeImpl;
+
import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
-
-import net.thucydides.core.pages.WebElementFacadeImpl;
+import java.lang.annotation.Target;
/**
* Annotation is used to specify the implementation Class of the interface
View
2  thucydides-core/src/main/java/net/thucydides/core/annotations/ManagedWebDriverAnnotatedField.java
@@ -4,9 +4,7 @@
import com.google.common.base.Predicate;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Iterables;
-
import net.thucydides.core.webdriver.WebDriverFacade;
-
import org.openqa.selenium.WebDriver;
import java.lang.reflect.Field;
View
4 thucydides-core/src/main/java/net/thucydides/core/annotations/findby/By.java
@@ -1,7 +1,5 @@
package net.thucydides.core.annotations.findby;
-import java.util.List;
-
import com.google.common.base.Preconditions;
import org.openqa.selenium.JavascriptExecutor;
import org.openqa.selenium.NoSuchElementException;
@@ -9,6 +7,8 @@
import org.openqa.selenium.WebDriverException;
import org.openqa.selenium.WebElement;
+import java.util.List;
+
public abstract class By extends org.openqa.selenium.By {
/**
View
9 thucydides-core/src/main/java/net/thucydides/core/annotations/locators/SmartAjaxElementLocator.java
@@ -1,14 +1,9 @@
package net.thucydides.core.annotations.locators;
-import java.lang.reflect.Field;
-import java.util.Arrays;
-import java.util.List;
-
import com.google.common.collect.Lists;
import net.thucydides.core.pages.PageObject;
import net.thucydides.core.pages.WebElementFacadeImpl;
import net.thucydides.core.steps.StepEventBus;
-
import org.openqa.selenium.By;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.WebDriver;
@@ -17,6 +12,10 @@
import org.openqa.selenium.support.ui.SlowLoadableComponent;
import org.openqa.selenium.support.ui.SystemClock;
+import java.lang.reflect.Field;
+import java.util.Arrays;
+import java.util.List;
+
public class SmartAjaxElementLocator extends SmartElementLocator {
protected final int timeOutInSeconds;
private final Clock clock;
View
9 thucydides-core/src/main/java/net/thucydides/core/annotations/locators/SmartAnnotations.java
@@ -1,17 +1,16 @@
package net.thucydides.core.annotations.locators;
-import java.lang.reflect.Field;
-import java.util.HashSet;
-import java.util.Set;
-
import net.thucydides.core.annotations.findby.By;
import net.thucydides.core.annotations.findby.FindBy;
import net.thucydides.core.annotations.findby.How;
-
import org.openqa.selenium.support.ByIdOrName;
import org.openqa.selenium.support.FindBys;
import org.openqa.selenium.support.pagefactory.Annotations;
+import java.lang.reflect.Field;
+import java.util.HashSet;
+import java.util.Set;
+
import static org.apache.commons.lang3.StringUtils.isNotEmpty;
View
11 thucydides-core/src/main/java/net/thucydides/core/annotations/locators/SmartElementHandler.java
@@ -1,17 +1,16 @@
package net.thucydides.core.annotations.locators;
-import java.lang.reflect.Constructor;
-import java.lang.reflect.InvocationHandler;
-import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Method;
-
import net.thucydides.core.annotations.ImplementedBy;
import net.thucydides.core.annotations.NotImplementedException;
import net.thucydides.core.pages.WebElementFacade;
-
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.support.pagefactory.ElementLocator;
+import java.lang.reflect.Constructor;
+import java.lang.reflect.InvocationHandler;
+import java.lang.reflect.InvocationTargetException;
+import java.lang.reflect.Method;
+
public class SmartElementHandler implements InvocationHandler{
private final ElementLocator locator;
View
7 thucydides-core/src/main/java/net/thucydides/core/annotations/locators/SmartElementLocator.java
@@ -1,13 +1,12 @@
package net.thucydides.core.annotations.locators;
-import java.lang.reflect.Field;
-import java.util.List;
-
-
import org.openqa.selenium.By;
import org.openqa.selenium.SearchContext;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.pagefactory.ElementLocator;
+
+import java.lang.reflect.Field;
+import java.util.List;
//import org.openqa.selenium.WebElement;
View
4 thucydides-core/src/main/java/net/thucydides/core/annotations/locators/SmartElementLocatorFactory.java
@@ -1,11 +1,11 @@
package net.thucydides.core.annotations.locators;
-import java.lang.reflect.Field;
-
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.support.pagefactory.ElementLocator;
import org.openqa.selenium.support.pagefactory.ElementLocatorFactory;
+import java.lang.reflect.Field;
+
public final class SmartElementLocatorFactory implements ElementLocatorFactory {
private final WebDriver webDriver;
private int timeoutInSeconds;
View
9 thucydides-core/src/main/java/net/thucydides/core/annotations/locators/SmartElementProxyCreator.java
@@ -1,15 +1,14 @@
package net.thucydides.core.annotations.locators;
-import org.openqa.selenium.WebDriver;
-import org.openqa.selenium.support.PageFactory;
-import org.openqa.selenium.support.pagefactory.ElementLocatorFactory;
-import org.openqa.selenium.support.pagefactory.FieldDecorator;
-
import net.thucydides.core.guice.Injectors;
import net.thucydides.core.pages.PageObject;
import net.thucydides.core.webdriver.Configuration;
import net.thucydides.core.webdriver.ElementLocatorFactorySelector;
import net.thucydides.core.webdriver.ElementProxyCreator;
+import org.openqa.selenium.WebDriver;
+import org.openqa.selenium.support.PageFactory;
+import org.openqa.selenium.support.pagefactory.ElementLocatorFactory;
+import org.openqa.selenium.support.pagefactory.FieldDecorator;
public class SmartElementProxyCreator implements ElementProxyCreator {
View
17 thucydides-core/src/main/java/net/thucydides/core/annotations/locators/SmartFieldDecorator.java
@@ -1,18 +1,9 @@
package net.thucydides.core.annotations.locators;
-import java.lang.annotation.Annotation;
-import java.lang.reflect.Field;
-import java.lang.reflect.InvocationHandler;
-import java.lang.reflect.ParameterizedType;
-import java.lang.reflect.Proxy;
-import java.lang.reflect.Type;
-import java.util.List;
-
import com.google.common.collect.ImmutableList;
import net.thucydides.core.annotations.findby.FindBy;
import net.thucydides.core.pages.PageObject;
import net.thucydides.core.pages.WebElementFacade;
-
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.internal.Locatable;
@@ -24,6 +15,14 @@
import org.openqa.selenium.support.pagefactory.internal.LocatingElementHandler;
import org.openqa.selenium.support.pagefactory.internal.LocatingElementListHandler;
+import java.lang.annotation.Annotation;
+import java.lang.reflect.Field;
+import java.lang.reflect.InvocationHandler;
+import java.lang.reflect.ParameterizedType;
+import java.lang.reflect.Proxy;
+import java.lang.reflect.Type;
+import java.util.List;
+
public class SmartFieldDecorator implements FieldDecorator {
protected ElementLocatorFactory factory;
View
5 thucydides-core/src/main/java/net/thucydides/core/batches/BatchManagerProvider.java
@@ -1,12 +1,11 @@
package net.thucydides.core.batches;
+import com.google.inject.Inject;
+import com.google.inject.Provider;
import net.thucydides.core.ThucydidesSystemProperty;
import net.thucydides.core.util.EnvironmentVariables;
import net.thucydides.core.webdriver.Configuration;
-import com.google.inject.Inject;
-import com.google.inject.Provider;
-
public class BatchManagerProvider implements Provider<BatchManager>{
private final BatchManager batchManager;
View
6 thucydides-core/src/main/java/net/thucydides/core/batches/SystemVariableBasedBatchManager.java
@@ -1,6 +1,7 @@
package net.thucydides.core.batches;
import com.google.inject.Inject;
+import com.google.inject.Singleton;
import net.thucydides.core.util.EnvironmentVariables;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@@ -9,8 +10,9 @@
import java.util.concurrent.CopyOnWriteArraySet;
import java.util.concurrent.atomic.AtomicInteger;
-import static net.thucydides.core.ThucydidesSystemProperty.*;
-import com.google.inject.Singleton;
+import static net.thucydides.core.ThucydidesSystemProperty.BATCH_COUNT;
+import static net.thucydides.core.ThucydidesSystemProperty.BATCH_NUMBER;
+import static net.thucydides.core.ThucydidesSystemProperty.BATCH_SIZE;
/**
* Manages running test cases (i.e. test classes) in batches.
View
9 thucydides-core/src/main/java/net/thucydides/core/batches/TestCountBasedBatchManager.java
@@ -1,14 +1,13 @@
package net.thucydides.core.batches;
+import com.google.inject.Inject;
+import com.google.inject.Singleton;
+import net.thucydides.core.util.EnvironmentVariables;
+
import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.atomic.AtomicInteger;
-import net.thucydides.core.util.EnvironmentVariables;
-
-import com.google.inject.Inject;
-import com.google.inject.Singleton;
-
@Singleton
public class TestCountBasedBatchManager extends SystemVariableBasedBatchManager {
private Map<Integer, AtomicInteger> batchNumberTestCount = new HashMap<Integer, AtomicInteger>();
View
2  thucydides-core/src/main/java/net/thucydides/core/bootstrap/ThucydidesAgent.java
@@ -5,8 +5,6 @@
import net.thucydides.core.steps.StepEventBus;
import net.thucydides.core.steps.StepListener;
-import java.io.File;
-
/**
* A utility class that provides services to initialize web testing and reporting-related fields in arbitrary objects.
* Designed to replace the unfinished Thucydides class.
View
2  thucydides-core/src/main/java/net/thucydides/core/csv/InstanceBuilder.java
@@ -2,8 +2,8 @@
import net.thucydides.core.csv.converters.TypeConverter;
import net.thucydides.core.csv.converters.TypeConverters;
-import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.ArrayUtils;
+import org.apache.commons.lang3.StringUtils;
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
View
2  thucydides-core/src/main/java/net/thucydides/core/csv/converters/BigDecimalTypeConverter.java
@@ -1,7 +1,5 @@
package net.thucydides.core.csv.converters;
-import org.apache.commons.lang3.StringUtils;
-
import java.math.BigDecimal;
public class BigDecimalTypeConverter implements TypeConverter {
View
1  thucydides-core/src/main/java/net/thucydides/core/geometry/Line.java
@@ -1,7 +1,6 @@
package net.thucydides.core.geometry;
import com.google.common.base.Optional;
-import com.google.inject.binder.ConstantBindingBuilder;
import java.math.BigDecimal;
import java.math.MathContext;
View
1  thucydides-core/src/main/java/net/thucydides/core/geometry/Point.java
@@ -1,6 +1,5 @@
package net.thucydides.core.geometry;
-import org.apache.commons.beanutils.BeanUtils;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
View
1  thucydides-core/src/main/java/net/thucydides/core/guice/ThucydidesModule.java
@@ -6,7 +6,6 @@
import net.thucydides.core.annotations.locators.SmartElementProxyCreator;
import net.thucydides.core.batches.BatchManager;
import net.thucydides.core.batches.BatchManagerProvider;
-import net.thucydides.core.batches.SystemVariableBasedBatchManager;
import net.thucydides.core.fixtureservices.ClasspathFixtureProviderService;
import net.thucydides.core.fixtureservices.FixtureProviderService;
import net.thucydides.core.issues.IssueTracking;
View
7 thucydides-core/src/main/java/net/thucydides/core/matchers/BeanMatchers.java
@@ -1,16 +1,9 @@
package net.thucydides.core.matchers;
import org.hamcrest.Matcher;
-import org.openqa.selenium.lift.match.ValueMatcher;
import java.math.BigDecimal;
-import static ch.lambdaj.Lambda.filter;
-import static ch.lambdaj.Lambda.join;
-import static org.hamcrest.Matchers.hasEntry;
-import static org.hamcrest.Matchers.is;
-import static org.hamcrest.Matchers.not;
-
public class BeanMatchers {
public static BeanMatcher the(final String fieldName, final Matcher<? extends Object> matcher) {
View
2  ...ydides-core/src/main/java/net/thucydides/core/matchers/dates/DateCollectionContainsSameDatesMatcher.java
@@ -4,13 +4,11 @@
import org.hamcrest.Description;
import org.hamcrest.TypeSafeMatcher;
import org.joda.time.DateTime;
-import org.joda.time.format.DateTimeFormatter;
import java.util.Collection;
import java.util.Date;
import java.util.List;
-import static ch.lambdaj.Lambda.collect;
import static ch.lambdaj.Lambda.convert;
import static ch.lambdaj.Lambda.join;
View
3  ...es-core/src/main/java/net/thucydides/core/matchers/dates/DateTimeCollectionContainsSameDatesMatcher.java
@@ -2,13 +2,10 @@
import ch.lambdaj.function.convert.Converter;
import org.hamcrest.Description;
-import org.hamcrest.Matcher;
import org.hamcrest.TypeSafeMatcher;
import org.joda.time.DateTime;
-import java.util.Arrays;
import java.util.Collection;
-import java.util.Date;
import java.util.List;
import static ch.lambdaj.Lambda.convert;
View
2  thucydides-core/src/main/java/net/thucydides/core/matchers/dates/DateTimeIsCloseToAsMatcher.java
@@ -5,8 +5,6 @@
import org.joda.time.DateTime;
import org.joda.time.Period;
-import java.util.Date;
-
class DateTimeIsCloseToAsMatcher extends TypeSafeMatcher<DateTime> {
View
2  thucydides-core/src/main/java/net/thucydides/core/model/ErrorMessageFormatter.java
@@ -1,8 +1,6 @@
package net.thucydides.core.model;
-import ch.lambdaj.Lambda;
import com.google.common.base.Optional;
-import com.google.common.base.Splitter;
import org.apache.commons.lang3.StringEscapeUtils;
import org.apache.commons.lang3.StringUtils;
View
1  thucydides-core/src/main/java/net/thucydides/core/model/FailureAnalysis.java
@@ -4,7 +4,6 @@
import net.thucydides.core.steps.StepFailure;
import net.thucydides.core.steps.StepFailureException;
import net.thucydides.core.webdriver.WebdriverAssertionError;
-import org.apache.regexp.RETest;
import static net.thucydides.core.model.TestResult.ERROR;
import static net.thucydides.core.model.TestResult.FAILURE;
View
1  thucydides-core/src/main/java/net/thucydides/core/model/ScreenshotPermission.java
@@ -4,7 +4,6 @@
import net.thucydides.core.annotations.Screenshots;
import net.thucydides.core.reflection.StackTraceAnalyser;
import net.thucydides.core.webdriver.Configuration;
-import org.apache.commons.lang3.ArrayUtils;
import java.lang.reflect.Method;
View
1  thucydides-core/src/main/java/net/thucydides/core/model/TestOutcome.java
@@ -32,7 +32,6 @@
import java.io.File;
import java.io.IOException;
import java.util.ArrayList;
-import java.util.Arrays;
import java.util.Collection;
import java.util.List;
import java.util.Map;
View
3  thucydides-core/src/main/java/net/thucydides/core/pages/Pages.java
@@ -3,8 +3,6 @@
import com.google.common.base.Optional;
import net.thucydides.core.annotations.Fields;
import net.thucydides.core.guice.Injectors;
-import net.thucydides.core.reflection.FieldFinder;
-import net.thucydides.core.reflection.FieldSetter;
import net.thucydides.core.webdriver.Configuration;
import net.thucydides.core.webdriver.WebDriverFacade;
import net.thucydides.core.webdriver.WebdriverProxyFactory;
@@ -18,7 +16,6 @@
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
-import java.lang.reflect.Modifier;
import static org.apache.commons.lang3.StringUtils.isNotEmpty;
View
3  thucydides-core/src/main/java/net/thucydides/core/pages/RenderedPageObjectView.java
@@ -2,7 +2,6 @@
import net.thucydides.core.scheduling.NormalFluentWait;
import net.thucydides.core.scheduling.ThucydidesFluentWait;
-import org.apache.commons.lang3.StringEscapeUtils;
import org.openqa.selenium.By;
import org.openqa.selenium.NoSuchElementException;
import org.openqa.selenium.NoSuchFrameException;
@@ -22,8 +21,6 @@
import java.util.List;
import java.util.concurrent.TimeUnit;
-import static com.google.common.collect.Lists.reverse;
-
/**
* A page view that handles checking and waiting for element visibility.
*/
View
7 thucydides-core/src/main/java/net/thucydides/core/pages/WebElementFacade.java
@@ -1,10 +1,6 @@
package net.thucydides.core.pages;
-import java.util.List;
-import java.util.concurrent.TimeUnit;
-
import net.thucydides.core.annotations.ImplementedBy;
-
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
@@ -12,6 +8,9 @@
import org.openqa.selenium.internal.WrapsElement;
import org.openqa.selenium.support.ui.Wait;
+import java.util.List;
+import java.util.concurrent.TimeUnit;
+
@ImplementedBy(WebElementFacadeImpl.class)
public interface WebElementFacade extends WebElement, WrapsElement, Locatable, WebElementState {
View
3  thucydides-core/src/main/java/net/thucydides/core/pages/components/HtmlTable.java
@@ -1,8 +1,6 @@
package net.thucydides.core.pages.components;
import ch.lambdaj.function.convert.Converter;
-import com.google.common.collect.ImmutableList;
-import com.google.common.collect.Lists;
import net.thucydides.core.matchers.BeanMatcher;
import org.apache.commons.lang3.StringUtils;
import org.openqa.selenium.By;
@@ -14,7 +12,6 @@
import java.util.List;
import java.util.Map;
-import static ch.lambdaj.Lambda.by;
import static ch.lambdaj.Lambda.convert;
/**
View
6 thucydides-core/src/main/java/net/thucydides/core/reflection/FieldFinder.java
@@ -2,14 +2,8 @@
import com.google.common.base.Optional;
-import com.google.common.collect.Lists;
-import com.google.common.collect.Sets;
import java.lang.reflect.Field;
-import java.lang.reflect.Method;
-import java.util.Arrays;
-import java.util.List;
-import java.util.Set;
public class FieldFinder {
View
1  thucydides-core/src/main/java/net/thucydides/core/releases/ReleaseManager.java
@@ -17,7 +17,6 @@
import net.thucydides.core.requirements.RequirementsTagProvider;
import net.thucydides.core.requirements.reports.RequirementOutcome;
import net.thucydides.core.util.EnvironmentVariables;
-import org.apache.commons.lang3.StringUtils;
import org.hamcrest.Matcher;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
View
10 thucydides-core/src/main/java/net/thucydides/core/reports/ReportOptions.java
@@ -5,14 +5,14 @@
import net.thucydides.core.util.EnvironmentVariables;
import static net.thucydides.core.ThucydidesSystemProperty.PROJECT_NAME;
-import static net.thucydides.core.ThucydidesSystemProperty.SHOW_STEP_DETAILS;
+import static net.thucydides.core.ThucydidesSystemProperty.SHOW_HISTORY;
import static net.thucydides.core.ThucydidesSystemProperty.SHOW_MANUAL_TESTS;
-import static net.thucydides.core.ThucydidesSystemProperty.SHOW_RELEASES;
+import static net.thucydides.core.ThucydidesSystemProperty.SHOW_PIE_CHARTS;
import static net.thucydides.core.ThucydidesSystemProperty.SHOW_PROGRESS;
-import static net.thucydides.core.ThucydidesSystemProperty.SHOW_HISTORY;
-import static net.thucydides.core.ThucydidesSystemProperty.SHOW_TAG_MENUS;
import static net.thucydides.core.ThucydidesSystemProperty.SHOW_RELATED_TAGS;
-import static net.thucydides.core.ThucydidesSystemProperty.SHOW_PIE_CHARTS;
+import static net.thucydides.core.ThucydidesSystemProperty.SHOW_RELEASES;
+import static net.thucydides.core.ThucydidesSystemProperty.SHOW_STEP_DETAILS;
+import static net.thucydides.core.ThucydidesSystemProperty.SHOW_TAG_MENUS;
/**
* Encapsulates user-specified formatting options for the generated reports.
View
3  thucydides-core/src/main/java/net/thucydides/core/reports/TestOutcomeCounter.java
@@ -1,10 +1,7 @@
package net.thucydides.core.reports;
-import net.thucydides.core.model.TestOutcome;
import net.thucydides.core.model.TestType;
-import java.util.List;
-
/**
* A basic builder used to count test outcomes of a particular type
*/
View
4 thucydides-core/src/main/java/net/thucydides/core/reports/TestOutcomes.java
@@ -17,13 +17,10 @@
import net.thucydides.core.model.formatters.TestCoverageFormatter;
import net.thucydides.core.requirements.RequirementsService;
import net.thucydides.core.requirements.model.Requirement;
-import net.thucydides.core.requirements.model.RequirementsConfiguration;
-import net.thucydides.core.requirements.reports.RequirementsPercentageFormatter;
import net.thucydides.core.util.EnvironmentVariables;
import net.thucydides.core.webdriver.Configuration;
import org.apache.commons.lang3.StringUtils;
import org.hamcrest.Matcher;
-import org.hamcrest.core.Is;
import org.joda.time.DateTime;
import java.util.ArrayList;
@@ -33,7 +30,6 @@
import java.util.Set;
import static ch.lambdaj.Lambda.convert;
-import static ch.lambdaj.Lambda.count;
import static ch.lambdaj.Lambda.extract;
import static ch.lambdaj.Lambda.filter;
import static ch.lambdaj.Lambda.having;
View
1  thucydides-core/src/main/java/net/thucydides/core/reports/adaptors/AdaptorService.java
@@ -1,7 +1,6 @@
package net.thucydides.core.reports.adaptors;
import com.google.common.collect.ImmutableMap;
-import com.google.common.collect.Maps;
import net.thucydides.core.guice.Injectors;
import net.thucydides.core.reports.adaptors.lettuce.LettuceXUnitAdaptor;
import net.thucydides.core.reports.adaptors.specflow.SpecflowAdaptor;
View
1  thucydides-core/src/main/java/net/thucydides/core/reports/adaptors/lettuce/LettuceXUnitAdaptor.java
@@ -11,7 +11,6 @@
import net.thucydides.core.model.TestStep;
import net.thucydides.core.reports.adaptors.common.FilebasedOutcomeAdaptor;
import net.thucydides.core.reports.adaptors.xunit.BasicXUnitLoader;
-import net.thucydides.core.reports.adaptors.TestOutcomeAdaptor;
import net.thucydides.core.reports.adaptors.xunit.io.XUnitFiles;
import net.thucydides.core.reports.adaptors.xunit.model.TestCase;
import net.thucydides.core.reports.adaptors.xunit.model.TestSuite;
View
2  thucydides-core/src/main/java/net/thucydides/core/reports/adaptors/specflow/ScenarioStep.java
@@ -2,14 +2,12 @@
import com.google.common.base.Optional;
import com.google.common.collect.ImmutableList;
-import com.google.common.collect.ImmutableSet;
import net.thucydides.core.model.TestResult;
import java.math.BigDecimal;
import java.math.MathContext;
import java.math.RoundingMode;
import java.util.List;
-import java.util.Set;
public class ScenarioStep {
View
3  thucydides-core/src/main/java/net/thucydides/core/reports/adaptors/specflow/ScenarioStepReader.java
@@ -1,12 +1,9 @@
package net.thucydides.core.reports.adaptors.specflow;
import com.beust.jcommander.internal.Lists;
-import com.google.common.base.Optional;
import com.google.common.collect.ImmutableSet;
-import net.thucydides.core.model.TestResult;
import net.thucydides.core.model.TestStep;
-import java.math.BigDecimal;
import java.util.List;
import java.util.Set;
View
12 thucydides-core/src/main/java/net/thucydides/core/reports/adaptors/specflow/SpecflowAdaptor.java
@@ -2,10 +2,14 @@
import ch.lambdaj.function.convert.Converter;
import com.beust.jcommander.internal.Lists;
-import com.beust.jcommander.internal.Maps;
import com.google.common.collect.ImmutableList;
-import net.thucydides.core.model.*;
-import net.thucydides.core.reports.adaptors.TestOutcomeAdaptor;
+import net.thucydides.core.model.DataTable;
+import net.thucydides.core.model.DataTableRow;
+import net.thucydides.core.model.Story;
+import net.thucydides.core.model.TestOutcome;
+import net.thucydides.core.model.TestResult;
+import net.thucydides.core.model.TestResultList;
+import net.thucydides.core.model.TestStep;
import net.thucydides.core.reports.adaptors.common.FilebasedOutcomeAdaptor;
import org.apache.commons.io.FileUtils;
@@ -13,9 +17,7 @@
import java.io.IOException;
import java.nio.charset.Charset;
import java.util.ArrayList;
-import java.util.Arrays;
import java.util.List;
-import java.util.Map;
import static ch.lambdaj.Lambda.convert;
View
1  thucydides-core/src/main/java/net/thucydides/core/reports/adaptors/specflow/SpecflowScenarioTitleLine.java
@@ -9,7 +9,6 @@
import net.thucydides.core.util.Inflector;
import org.apache.commons.lang3.StringUtils;
-import java.util.Arrays;
import java.util.List;
public class SpecflowScenarioTitleLine {
View
4 thucydides-core/src/main/java/net/thucydides/core/reports/csv/CSVReporter.java
@@ -7,22 +7,18 @@
import net.thucydides.core.ThucydidesSystemProperty;
import net.thucydides.core.guice.Injectors;
import net.thucydides.core.model.TestOutcome;
-import net.thucydides.core.model.TestTag;
import net.thucydides.core.reports.TestOutcomes;
import net.thucydides.core.reports.ThucydidesReporter;
import net.thucydides.core.util.EnvironmentVariables;
import net.thucydides.core.util.Inflector;
import java.io.File;
-import java.io.FileWriter;
import java.io.IOException;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
-import java.util.Collections;
import java.util.List;
-import java.util.Set;
import static ch.lambdaj.Lambda.extract;
import static ch.lambdaj.Lambda.on;
View
1  thucydides-core/src/main/java/net/thucydides/core/reports/history/ProgressSnapshot.java
@@ -1,7 +1,6 @@
package net.thucydides.core.reports.history;
import org.joda.time.DateTime;
-import org.joda.time.format.DateTimeFormatter;
public class ProgressSnapshot implements Comparable<ProgressSnapshot> {
View
3  thucydides-core/src/main/java/net/thucydides/core/reports/html/Formatter.java
@@ -10,14 +10,11 @@
import net.thucydides.core.reports.renderer.MarkupRenderer;
import net.thucydides.core.util.EnvironmentVariables;
import org.apache.commons.io.IOUtils;
-import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.text.translate.AggregateTranslator;
import org.apache.commons.lang3.text.translate.CharSequenceTranslator;
import org.apache.commons.lang3.text.translate.EntityArrays;
import org.apache.commons.lang3.text.translate.LookupTranslator;
-import static org.asciidoctor.Asciidoctor.Factory.create;
-
import java.text.MessageFormat;
import java.util.ArrayList;
import java.util.List;
View
1  thucydides-core/src/main/java/net/thucydides/core/reports/html/HtmlAcceptanceTestReporter.java
@@ -15,7 +15,6 @@
import net.thucydides.core.reports.TestOutcomes;
import net.thucydides.core.reports.html.screenshots.ScreenshotFormatter;
import net.thucydides.core.requirements.RequirementsService;
-import net.thucydides.core.screenshots.ScreenshotException;
import net.thucydides.core.util.EnvironmentVariables;
import net.thucydides.core.util.Inflector;
import org.slf4j.Logger;
View
1  thucydides-core/src/main/java/net/thucydides/core/reports/html/HtmlAggregateStoryReporter.java
@@ -1,6 +1,5 @@
package net.thucydides.core.reports.html;
-import com.beust.jcommander.internal.Lists;
import net.thucydides.core.ThucydidesSystemProperties;
import net.thucydides.core.ThucydidesSystemProperty;
import net.thucydides.core.guice.Injectors;
View
6 thucydides-core/src/main/java/net/thucydides/core/reports/html/HtmlProgressReporter.java
@@ -13,10 +13,6 @@
import net.thucydides.core.reports.history.TestHistory;
import net.thucydides.core.requirements.reports.RequirementsOutcomes;
import net.thucydides.core.util.Inflector;
-import org.hamcrest.BaseMatcher;
-import org.hamcrest.Description;
-import org.hamcrest.Matcher;
-import org.hamcrest.TypeSafeMatcher;
import org.joda.time.DateTime;
import java.io.File;
@@ -27,8 +23,6 @@
import java.util.List;
import java.util.Map;
-import static ch.lambdaj.Lambda.filter;
-
public class HtmlProgressReporter extends HtmlReporter {
private static final String DEFAULT_PROGRESS_REPORT = "freemarker/progress-report.ftl";
View
2  thucydides-core/src/main/java/net/thucydides/core/reports/html/HtmlRequirementsReporter.java
@@ -7,14 +7,12 @@
import net.thucydides.core.reports.ReportOptions;
import net.thucydides.core.reports.TestOutcomes;
import net.thucydides.core.requirements.RequirementsService;
-import net.thucydides.core.requirements.reports.RequirementOutcome;
import net.thucydides.core.requirements.reports.RequirementsOutcomes;
import net.thucydides.core.util.Inflector;
import java.io.File;
import java.io.IOException;
import java.util.HashMap;
-import java.util.List;
import java.util.Map;
public class HtmlRequirementsReporter extends HtmlReporter {
View
3  thucydides-core/src/main/java/net/thucydides/core/reports/html/screenshots/ScreenshotFormatter.java
@@ -4,9 +4,6 @@
import net.thucydides.core.model.Screenshot;
import org.apache.commons.io.FileUtils;
-import javax.imageio.ImageIO;
-import java.awt.*;
-import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
View
2  thucydides-core/src/main/java/net/thucydides/core/reports/json/ClassTypeAdapter.java
@@ -10,8 +10,6 @@
import com.google.gson.JsonPrimitive;
import com.google.gson.JsonSerializationContext;
import com.google.gson.JsonSerializer;
-import net.thucydides.core.annotations.Issue;
-import net.thucydides.core.annotations.Issues;
import net.thucydides.core.annotations.TestAnnotations;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
View
1  thucydides-core/src/main/java/net/thucydides/core/reports/json/JSONTestOutcomeReporter.java
@@ -6,7 +6,6 @@
import com.google.common.io.Files;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
-import com.google.gson.JsonParseException;
import net.thucydides.core.model.ReportType;
import net.thucydides.core.model.TestOutcome;
import net.thucydides.core.reports.AcceptanceTestLoader;
View
6 thucydides-core/src/main/java/net/thucydides/core/requirements/AbstractRequirementsTagProvider.java
@@ -1,16 +1,10 @@
package net.thucydides.core.requirements;
-import com.google.common.base.Splitter;
-import com.google.common.collect.ImmutableList;
-import com.google.common.collect.Lists;
-import net.thucydides.core.ThucydidesSystemProperty;
import net.thucydides.core.guice.Injectors;
import net.thucydides.core.requirements.model.RequirementsConfiguration;
import net.thucydides.core.util.EnvironmentVariables;
import net.thucydides.core.util.Inflector;
-import org.apache.commons.lang3.StringUtils;
-import java.util.Iterator;
import java.util.List;
public class AbstractRequirementsTagProvider {
View
1  thucydides-core/src/main/java/net/thucydides/core/requirements/AnnotationBasedTagProvider.java
@@ -18,7 +18,6 @@
import org.apache.commons.lang3.StringUtils;
import java.io.IOException;
-import java.util.ArrayList;
import java.util.Collection;
import java.util.HashSet;
import java.util.List;
View
1  thucydides-core/src/main/java/net/thucydides/core/requirements/ClasspathRequirementsProviderService.java
@@ -13,7 +13,6 @@
import java.util.ArrayList;
import java.util.List;
-import java.util.ServiceLoader;
/**
* Provides a way to obtain the list of requirements providers.
View
8 thucydides-core/src/main/java/net/thucydides/core/requirements/FileSystemRequirementsTagProvider.java
@@ -19,7 +19,13 @@
import java.io.FileFilter;
import java.io.IOException;
import java.net.URL;
-import java.util.*;
+import java.util.ArrayList;
+import java.util.Collection;
+import java.util.Collections;
+import java.util.Enumeration;
+import java.util.HashSet;
+import java.util.List;
+import java.util.Set;
import static ch.lambdaj.Lambda.convert;
import static net.thucydides.core.requirements.RequirementsPath.pathElements;
View
1  thucydides-core/src/main/java/net/thucydides/core/requirements/RequirementsService.java
@@ -6,7 +6,6 @@
import net.thucydides.core.model.TestTag;
import net.thucydides.core.requirements.model.Requirement;
-import java.util.Collection;
import java.util.List;
public interface RequirementsService {
View
2  thucydides-core/src/main/java/net/thucydides/core/requirements/RequirementsTagProvider.java
@@ -1,9 +1,9 @@
package net.thucydides.core.requirements;
import com.google.common.base.Optional;
-import net.thucydides.core.requirements.model.Requirement;
import net.thucydides.core.model.TestOutcome;
import net.thucydides.core.model.TestTag;
+import net.thucydides.core.requirements.model.Requirement;
import net.thucydides.core.statistics.service.TagProvider;
import java.util.List;
View
2  thucydides-core/src/main/java/net/thucydides/core/requirements/model/NarrativeReader.java
@@ -4,13 +4,11 @@
import com.google.common.base.Splitter;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Lists;
-import net.thucydides.core.requirements.FileSystemRequirementsTagProvider;
import org.apache.commons.lang3.StringUtils;
import java.io.BufferedReader;
import java.io.File;
import java.io.FileInputStream;
-import java.io.FileReader;
import java.io.FilenameFilter;
import java.io.IOException;
import java.io.InputStreamReader;
View
3  thucydides-core/src/main/java/net/thucydides/core/requirements/model/Requirement.java
@@ -1,12 +1,9 @@
package net.thucydides.core.requirements.model;
-import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Lists;
import net.thucydides.core.model.TestTag;
-import net.thucydides.core.requirements.model.RequirementBuilderNameStep;
-import net.thucydides.core.requirements.model.RequirementBuilderTypeStep;
import java.util.Collections;
import java.util.List;
View
2  thucydides-core/src/main/java/net/thucydides/core/requirements/model/RequirementBuilderTypeStep.java
@@ -1,7 +1,5 @@
package net.thucydides.core.requirements.model;
-import net.thucydides.core.requirements.model.Requirement;
-
public class RequirementBuilderTypeStep {
final RequirementBuilderNameStep requirementBuilderNameStep;
final String type;
View
3  thucydides-core/src/main/java/net/thucydides/core/requirements/reports/RequirementOutcome.java
@@ -5,10 +5,9 @@
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSet;
import net.thucydides.core.issues.IssueTracking;
-import net.thucydides.core.model.OutcomeCounter;
import net.thucydides.core.model.TestOutcome;
-import net.thucydides.core.model.TestType;
import net.thucydides.core.model.TestResult;
+import net.thucydides.core.model.TestType;
import net.thucydides.core.reports.TestOutcomeCounter;
import net.thucydides.core.reports.TestOutcomes;
import net.thucydides.core.reports.html.Formatter;
View
7 thucydides-core/src/main/java/net/thucydides/core/requirements/reports/RequirementsOutcomes.java
@@ -1,9 +1,7 @@
package net.thucydides.core.requirements.reports;
-import com.beust.jcommander.internal.Maps;
import com.google.common.base.Optional;
import com.google.common.collect.ImmutableList;
-import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Lists;
import com.google.common.collect.Sets;
import net.thucydides.core.ThucydidesSystemProperty;
@@ -20,18 +18,13 @@
import net.thucydides.core.requirements.model.Requirement;
import net.thucydides.core.util.EnvironmentVariables;
-import java.util.ArrayList;
import java.util.Collection;
-import java.util.HashSet;
import java.util.List;
-import java.util.Map;
import java.util.Set;
-import static ch.lambdaj.Lambda.collect;
import static ch.lambdaj.Lambda.filter;
import static ch.lambdaj.Lambda.having;
import static ch.lambdaj.Lambda.on;
-import static ch.lambdaj.Lambda.sum;
import static org.hamcrest.Matchers.hasItem;
/**
View
5 thucydides-core/src/main/java/net/thucydides/core/requirements/reports/RequirmentsOutcomeFactory.java
@@ -2,7 +2,6 @@
import com.google.common.collect.ImmutableList;
import com.google.common.collect.Lists;
-import com.google.inject.Injector;
import net.thucydides.core.guice.Injectors;
import net.thucydides.core.issues.IssueTracking;
import net.thucydides.core.reports.TestOutcomes;
@@ -12,10 +11,6 @@
import java.util.List;
-import static ch.lambdaj.Lambda.extract;
-import static ch.lambdaj.Lambda.flatten;
-import static ch.lambdaj.Lambda.on;
-
public class RequirmentsOutcomeFactory {
private final List<RequirementsTagProvider> requirementsTagProviders;
View
1  thucydides-core/src/main/java/net/thucydides/core/screenshots/ScreenshotBlurCheck.java
@@ -3,7 +3,6 @@
import com.google.common.base.Optional;
import net.thucydides.core.annotations.BlurScreenshots;
import net.thucydides.core.reflection.StackTraceAnalyser;
-import org.apache.commons.lang3.ArrayUtils;
import java.lang.reflect.Method;
View
4 thucydides-core/src/main/java/net/thucydides/core/statistics/service/ClasspathTagProviderService.java
@@ -1,13 +1,9 @@
package net.thucydides.core.statistics.service;
import com.google.common.collect.Lists;
-import com.google.inject.Inject;
-import net.thucydides.core.batches.SystemVariableBasedBatchManager;
-import net.thucydides.core.util.EnvironmentVariables;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import java.util.Iterator;
import java.util.List;
import java.util.ServiceLoader;
View
3  thucydides-core/src/main/java/net/thucydides/core/statistics/service/FeatureStoryTagProvider.java
@@ -1,7 +1,6 @@
package net.thucydides.core.statistics.service;
import com.google.common.collect.ImmutableSet;
-import com.google.common.collect.Lists;
import com.google.common.collect.Sets;
import net.thucydides.core.ThucydidesSystemProperty;
import net.thucydides.core.guice.Injectors;
@@ -11,8 +10,6 @@
import net.thucydides.core.model.features.ApplicationFeature;
import net.thucydides.core.util.EnvironmentVariables;
-import java.util.Collections;
-import java.util.List;
import java.util.Set;
/**
View
2  thucydides-core/src/main/java/net/thucydides/core/statistics/service/TagProvider.java
@@ -2,9 +2,7 @@
import net.thucydides.core.model.TestOutcome;
import net.thucydides.core.model.TestTag;
-import net.thucydides.core.statistics.model.TestRunTag;
-import java.util.List;
import java.util.Set;
public interface TagProvider {
View
2  thucydides-core/src/main/java/net/thucydides/core/steps/AnnotatedStepDescription.java
@@ -3,7 +3,6 @@
import com.google.common.base.Optional;
import com.google.common.base.Splitter;
import com.google.common.collect.ImmutableList;
-import com.google.common.collect.Lists;
import net.thucydides.core.annotations.Step;
import net.thucydides.core.annotations.StepGroup;
import net.thucydides.core.annotations.TestsRequirement;
@@ -12,7 +11,6 @@
import org.apache.commons.lang3.StringUtils;
import java.lang.annotation.Annotation;
-import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Arrays;
View
1  thucydides-core/src/main/java/net/thucydides/core/steps/ConsoleStepListener.java
@@ -1,7 +1,6 @@
package net.thucydides.core.steps;
-import net.thucydides.core.PendingStepException;
import net.thucydides.core.model.TestOutcome;
import org.openqa.selenium.firefox.FirefoxDriver;
View
4 thucydides-core/src/main/java/net/thucydides/core/steps/DataDrivenStepFactory.java
@@ -1,9 +1,5 @@
package net.thucydides.core.steps;
-import net.sf.cglib.proxy.Enhancer;
-import net.thucydides.core.Thucydides;
-import net.thucydides.core.pages.Pages;
-
import java.util.List;
/**
View
2  thucydides-core/src/main/java/net/thucydides/core/steps/PageObjectDependencyInjector.java
@@ -4,8 +4,6 @@
import net.thucydides.core.annotations.Fields;
import net.thucydides.core.pages.PageObject;
import net.thucydides.core.pages.Pages;
-import org.springframework.test.context.ContextConfiguration;
-import org.springframework.test.context.TestContextManager;
import java.lang.reflect.Field;
import java.util.List;
View
3  thucydides-core/src/main/java/net/thucydides/core/steps/StepData.java
@@ -1,6 +1,5 @@
package net.thucydides.core.steps;
-import ch.lambdaj.function.convert.Converter;
import com.google.common.collect.Lists;
import net.thucydides.core.csv.CSVTestDataSource;
import net.thucydides.core.csv.TestDataSource;
@@ -12,8 +11,6 @@
import java.util.List;
import java.util.Map;
-import static ch.lambdaj.Lambda.convert;
-
/**
* Data-driven test step execution.
*/
View
2  thucydides-core/src/main/java/net/thucydides/core/steps/StepFactory.java
@@ -4,12 +4,10 @@
import com.google.common.collect.ImmutableList;
import com.google.common.collect.ImmutableSet;
import com.google.common.collect.Iterables;
-import com.google.inject.internal.util.$ImmutableList;
import net.sf.cglib.proxy.Enhancer;
import net.sf.cglib.proxy.MethodInterceptor;
import net.thucydides.core.guice.Injectors;
import net.thucydides.core.pages.Pages;
-import net.thucydides.core.reflection.FieldSetter;
import net.thucydides.core.steps.di.DependencyInjectorService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
View
2  thucydides-core/src/main/java/net/thucydides/core/steps/StepInterceptor.java
@@ -5,13 +5,11 @@
import net.sf.cglib.proxy.MethodProxy;
import net.thucydides.core.IgnoredStepException;
import net.thucydides.core.PendingStepException;
-import net.thucydides.core.Thucydides;
import net.thucydides.core.annotations.Pending;
import net.thucydides.core.annotations.Step;
import net.thucydides.core.annotations.StepGroup;
import net.thucydides.core.annotations.TestAnnotations;
import org.junit.internal.AssumptionViolatedException;
-import org.openqa.selenium.WebDriverException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
View
1  thucydides-core/src/main/java/net/thucydides/core/steps/di/DependencyInjectorService.java
@@ -1,6 +1,7 @@
package net.thucydides.core.steps.di;
import net.thucydides.core.steps.DependencyInjector;
+
import java.util.List;
public interface DependencyInjectorService {
View
1  thucydides-core/src/main/java/net/thucydides/core/tags/TagConverters.java
@@ -1,7 +1,6 @@
package net.thucydides.core.tags;
import ch.lambdaj.function.convert.Converter;
-import net.thucydides.core.annotations.TestAnnotations;
import net.thucydides.core.annotations.WithTag;
import net.thucydides.core.model.TestTag;
import org.apache.commons.lang3.StringUtils;
View
1  thucydides-core/src/main/java/net/thucydides/core/tags/TagScanner.java
@@ -8,7 +8,6 @@
import net.thucydides.core.util.EnvironmentVariables;
import org.apache.commons.lang3.StringUtils;
-import java.util.ArrayList;
import java.util.List;
import static ch.lambdaj.Lambda.convert;
View
6 thucydides-core/src/main/java/net/thucydides/core/util/ExtendedTemporaryFolder.java
@@ -1,13 +1,13 @@
package net.thucydides.core.util;
-import java.io.File;
-import java.io.IOException;
-
import org.junit.Rule;
import org.junit.rules.ExternalResource;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
+import java.io.File;
+import java.io.IOException;
+
public class ExtendedTemporaryFolder extends ExternalResource {
private static final Logger logger = LoggerFactory.getLogger(ExtendedTemporaryFolder.class);
View
5 thucydides-core/src/main/java/net/thucydides/core/util/NameConverter.java
@@ -1,10 +1,9 @@
package net.thucydides.core.util;
- import org.apache.commons.lang3.CharUtils;
- import org.apache.commons.lang3.StringUtils;
+import org.apache.commons.lang3.CharUtils;
+import org.apache.commons.lang3.StringUtils;
import java.util.Locale;
- import java.util.regex.Pattern;
/**
* Utility class to convert test case and method names into human-readable form.
View
8 thucydides-core/src/main/java/net/thucydides/core/webdriver/CapabilitySet.java
@@ -7,13 +7,11 @@
import net.thucydides.core.util.EnvironmentVariables;
import org.apache.commons.lang3.StringUtils;
-import static ch.lambdaj.Lambda.convert;
-import static net.thucydides.core.ThucydidesSystemProperty.DRIVER_CAPABILITIES;
-
-import java.util.HashMap;
import java.util.List;
import java.util.Map;
-import java.util.StringTokenizer;
+
+import static ch.lambdaj.Lambda.convert;
+import static net.thucydides.core.ThucydidesSystemProperty.DRIVER_CAPABILITIES;
/**
* A set of user-defined capabilities to be used to configure the WebDriver driver.
View
3  thucydides-core/src/main/java/net/thucydides/core/webdriver/ElementLocatorFactorySelector.java
@@ -1,9 +1,8 @@
package net.thucydides.core.webdriver;
import net.thucydides.core.ThucydidesSystemProperty;
-import net.thucydides.core.util.EnvironmentVariables;
import net.thucydides.core.annotations.locators.SmartElementLocatorFactory;
-
+import net.thucydides.core.util.EnvironmentVariables;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.support.pagefactory.AjaxElementLocatorFactory;
import org.openqa.selenium.support.pagefactory.DefaultElementLocatorFactory;
View
1  thucydides-core/src/main/java/net/thucydides/core/webdriver/ElementProxyCreator.java
@@ -1,7 +1,6 @@
package net.thucydides.core.webdriver;
import net.thucydides.core.pages.PageObject;
-
import org.openqa.selenium.WebDriver;
public interface ElementProxyCreator {
View
6 thucydides-core/src/main/java/net/thucydides/core/webdriver/SupportedWebDriver.java
@@ -7,12 +7,12 @@
import org.openqa.selenium.android.AndroidDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
-import org.openqa.selenium.iphone.IPhoneDriver;
-import org.openqa.selenium.phantomjs.PhantomJSDriver;
-import org.openqa.selenium.safari.SafariDriver;
import org.openqa.selenium.htmlunit.HtmlUnitDriver;
import org.openqa.selenium.ie.InternetExplorerDriver;
+import org.openqa.selenium.iphone.IPhoneDriver;
+import org.openqa.selenium.phantomjs.PhantomJSDriver;
import org.openqa.selenium.remote.RemoteWebDriver;
+import org.openqa.selenium.safari.SafariDriver;
/**
* The list of supported web drivers.
View
2  thucydides-core/src/main/java/net/thucydides/core/webdriver/WebDriverFactory.java
@@ -32,7 +32,6 @@
import org.openqa.selenium.htmlunit.HtmlUnitDriver;
import org.openqa.selenium.ie.InternetExplorerDriver;
import org.openqa.selenium.phantomjs.PhantomJSDriver;
-import org.openqa.selenium.phantomjs.PhantomJSDriverService;
import org.openqa.selenium.remote.Augmenter;
import org.openqa.selenium.remote.DesiredCapabilities;
import org.openqa.selenium.remote.RemoteWebDriver;
@@ -45,7 +44,6 @@
import java.lang.reflect.Method;
import java.net.MalformedURLException;
import java.net.URL;
-import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Set;
View
1  thucydides-core/src/main/java/net/thucydides/core/webdriver/WebdriverInstances.java
@@ -6,7 +6,6 @@
import java.util.Collection;
import java.util.HashMap;
import java.util.HashSet;
-import java.util.List;
import java.util.Map;
import java.util.Set;
View
17 thucydides-core/src/main/java/net/thucydides/core/webdriver/javascript/JavascriptExecutorFacade.java
@@ -1,20 +1,19 @@
package net.thucydides.core.webdriver.javascript;
-import java.io.IOException;
-import java.util.List;
-
-import net.thucydides.core.pages.jquery.JQueryEnabledPage;
-import net.thucydides.core.webdriver.WebDriverFacade;
-import org.openqa.selenium.JavascriptExecutor;
-import org.openqa.selenium.WebDriver;
-import org.openqa.selenium.WebDriverException;
-
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.databind.InjectableValues;
import com.fasterxml.jackson.databind.JsonMappingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.ObjectReader;
import com.fasterxml.jackson.databind.type.TypeFactory;
+import net.thucydides.core.pages.jquery.JQueryEnabledPage;
+import net.thucydides.core.webdriver.WebDriverFacade;
+import org.openqa.selenium.JavascriptExecutor;
+import org.openqa.selenium.WebDriver;
+import org.openqa.selenium.WebDriverException;
+
+import java.io.IOException;
+import java.util.List;
import static net.thucydides.core.webdriver.javascript.JavascriptSupport.javascriptIsSupportedIn;
View
1  thucydides-core/src/main/java/net/thucydides/core/webdriver/stubs/TargetLocatorStub.java
@@ -1,6 +1,5 @@
package net.thucydides.core.webdriver.stubs;
-import net.thucydides.core.webdriver.WebDriverFacade;
import org.openqa.selenium.Alert;
import org.openqa.selenium.ElementNotVisibleException;
import org.openqa.selenium.WebDriver;
View
2  thucydides-core/src/test/groovy/net/thucydides/core/annotations/WhenAnnotatingTestCases.groovy
@@ -1,8 +1,8 @@
package net.thucydides.core.annotations
-import spock.lang.Specification
import org.openqa.selenium.WebDriver
import spock.lang.Shared
+import spock.lang.Specification
class WhenAnnotatingTestCases extends Specification {
View
2  thucydides-core/src/test/groovy/net/thucydides/core/annotations/WhenReadingFieldsInAClass.groovy
@@ -1,7 +1,5 @@
package net.thucydides.core.annotations
-import org.openqa.selenium.WebDriver
-import spock.lang.Shared
import spock.lang.Specification
class WhenReadingFieldsInAClass extends Specification {
View
10 ...s-core/src/test/groovy/net/thucydides/core/annotations/findby/WhenFindingExtendedWebElementFacade.groovy
@@ -1,16 +1,12 @@
package net.thucydides.core.annotations.findby
+import net.thucydides.core.webdriver.WebDriverFacade
+import net.thucydides.core.webdriver.WebDriverFactory
import org.openqa.selenium.htmlunit.HtmlUnitDriver
+import sample.page.TestPage
import spock.lang.Shared
import spock.lang.Specification
-import sample.page.TestPage
-
-import net.thucydides.core.webdriver.DefaultPageObjectInitialiser
-import net.thucydides.core.webdriver.WebDriverFacade
-import net.thucydides.core.webdriver.WebDriverFactory
-import org.openqa.selenium.chrome.ChromeDriver
-
class WhenFindingExtendedWebElementFacade extends Specification {
@Shared
View
1  thucydides-core/src/test/groovy/net/thucydides/core/annotations/findby/WhenUsingSmartFindBy.groovy
@@ -4,7 +4,6 @@ import net.thucydides.core.pages.integration.StaticSitePageWithFacades
import net.thucydides.core.webdriver.WebDriverFacade
import net.thucydides.core.webdriver.WebDriverFactory
import org.openqa.selenium.NoSuchElementException
-import org.openqa.selenium.firefox.FirefoxDriver
import org.openqa.selenium.htmlunit.HtmlUnitDriver
import spock.lang.Shared
import spock.lang.Specification
View
1  ...des-core/src/test/groovy/net/thucydides/core/annotations/findby/WhenUsingSmartFindByOnPageObjects.groovy
@@ -7,7 +7,6 @@ import net.thucydides.core.webdriver.DefaultPageObjectInitialiser
import net.thucydides.core.webdriver.WebDriverFacade
import net.thucydides.core.webdriver.WebDriverFactory
import org.openqa.selenium.We