Skip to content

Commit

Permalink
Completed update to Java 11
Browse files Browse the repository at this point in the history
  • Loading branch information
wakaleo committed Aug 5, 2023
1 parent ac40168 commit c86ec5e
Show file tree
Hide file tree
Showing 804 changed files with 43,693 additions and 524 deletions.
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -672,6 +672,7 @@
<excludePackageNames>net.thucydides.core.batches.*</excludePackageNames>
<failOnWarnings>false</failOnWarnings>
<failOnError>false</failOnError>
<doclint>all,-missing</doclint>
</configuration>
</plugin>
<plugin>
Expand Down
2 changes: 1 addition & 1 deletion serenity-cli/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.3</version>
<version>1.4.9</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package net.serenitybdd.core.pages;

import net.thucydides.core.annotations.At;
import net.serenitybdd.annotations.At;

import java.util.ArrayList;
import java.util.HashMap;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
import net.serenitybdd.model.environment.EnvironmentSpecificConfiguration;
import net.serenitybdd.model.time.SystemClock;
import net.thucydides.model.ThucydidesSystemProperty;
import net.thucydides.core.annotations.WhenPageOpens;
import net.serenitybdd.annotations.WhenPageOpens;
import net.thucydides.model.environment.SystemEnvironmentVariables;
import net.thucydides.core.fluent.ThucydidesFluentAdapter;
import net.thucydides.core.pages.Pages;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

import net.serenitybdd.model.environment.ConfiguredEnvironment;
import net.serenitybdd.model.environment.EnvironmentSpecificConfiguration;
import net.thucydides.core.annotations.DefaultUrl;
import net.thucydides.core.annotations.NamedUrl;
import net.thucydides.core.annotations.NamedUrls;
import net.serenitybdd.annotations.DefaultUrl;
import net.serenitybdd.annotations.NamedUrl;
import net.serenitybdd.annotations.NamedUrls;
import net.thucydides.model.environment.SystemEnvironmentVariables;
import net.thucydides.model.util.EnvironmentVariables;
import net.thucydides.model.webdriver.Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.serenitybdd.core.pages;

import net.serenitybdd.annotations.Fields;
import net.thucydides.core.annotations.ManagedPages;
import net.serenitybdd.annotations.ManagedPages;
import net.thucydides.core.pages.Pages;
import net.thucydides.model.reflection.FieldSetter;
import net.thucydides.core.steps.InvalidManagedPagesFieldException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import net.thucydides.model.ThucydidesSystemProperty;
import net.thucydides.model.environment.SystemEnvironmentVariables;
import net.thucydides.core.screenshots.BlurLevel;
import net.serenitybdd.annotations.BlurLevel;
import net.thucydides.model.util.EnvironmentVariables;
import org.openqa.selenium.UnhandledAlertException;
import org.slf4j.Logger;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.serenitybdd.core.photography;

import com.google.common.base.Preconditions;
import net.thucydides.core.screenshots.BlurLevel;
import net.serenitybdd.annotations.BlurLevel;
import java.nio.file.Path;

public class PhotoSessionBooking {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package net.serenitybdd.core.photography;

import net.thucydides.core.screenshots.BlurLevel;
import net.serenitybdd.annotations.BlurLevel;

import java.io.IOException;
import java.nio.file.Files;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package net.serenitybdd.core.photography.bluring;

import net.thucydides.core.annotations.BlurScreenshots;
import net.serenitybdd.annotations.BlurScreenshots;
import net.thucydides.model.reflection.StackTraceAnalyser;
import net.thucydides.core.screenshots.BlurLevel;
import net.serenitybdd.annotations.BlurLevel;

import java.lang.reflect.Method;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
import net.serenitybdd.core.photography.AmendedPathBuilder;
import net.serenitybdd.core.photography.PhotoFilter;
import net.serenitybdd.core.photography.ScreenshotNegative;
import net.thucydides.core.screenshots.BlurLevel;
import net.serenitybdd.annotations.BlurLevel;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package net.thucydides.core.annotations;

import net.serenitybdd.annotations.ClearCookiesPolicy;
import net.serenitybdd.annotations.Managed;
import net.thucydides.core.webdriver.WebDriverFacade;
import net.serenitybdd.annotations.Fields;
import org.openqa.selenium.WebDriver;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
package net.thucydides.core.annotations;

import net.serenitybdd.annotations.ClearCookiesPolicy;
import net.serenitybdd.annotations.UsePersistantStepLibraries;
import net.serenitybdd.core.environment.WebDriverConfiguredEnvironment;
import net.thucydides.core.configuration.WebDriverConfiguration;
import net.thucydides.model.requirements.SerenityTestCaseFinder;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import net.serenitybdd.markers.DisableScreenshots;
import net.serenitybdd.markers.IsSilent;
import net.thucydides.core.annotations.Screenshots;
import net.serenitybdd.annotations.Screenshots;
import net.thucydides.model.domain.TakeScreenshots;
import net.thucydides.model.domain.TestResult;
import net.thucydides.model.domain.screenshots.ScreenshotPreferencesByClass;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package net.thucydides.core.screenshots;

import net.thucydides.core.annotations.BlurScreenshots;
import net.serenitybdd.annotations.BlurLevel;
import net.serenitybdd.annotations.BlurScreenshots;
import net.thucydides.model.reflection.StackTraceAnalyser;

import java.lang.reflect.Method;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package net.thucydides.core.screenshots;

import net.serenitybdd.annotations.BlurLevel;
import net.thucydides.model.ThucydidesSystemProperty;
import net.thucydides.model.util.EnvironmentVariables;
import org.apache.commons.codec.digest.DigestUtils;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import net.serenitybdd.core.pages.PageObject;
import net.serenitybdd.core.steps.UIInteractionSteps;
import net.serenitybdd.annotations.Fields;
import net.thucydides.core.annotations.Steps;
import net.serenitybdd.annotations.Steps;
import net.thucydides.core.pages.PageFactory;
import net.thucydides.core.pages.Pages;
import net.thucydides.model.webdriver.Configuration;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ private List<StepListener> registeredListeners() {
private Set<StepListener> getCustomListeners() {

if (customListeners == null) {
customListeners = Collections.synchronizedSet(new HashSet<StepListener>());
customListeners = Collections.synchronizedSet(new HashSet<>());

ServiceLoader<StepListener> stepListenerServiceLoader = ServiceLoader.load(StepListener.class);
Iterator<StepListener> listenerImplementations = stepListenerServiceLoader.iterator();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import net.serenitybdd.core.steps.UIInteractionSteps;
import net.serenitybdd.annotations.Fields;
import net.thucydides.core.annotations.InvalidStepsFieldException;
import net.thucydides.core.annotations.Shared;
import net.thucydides.core.annotations.Steps;
import net.serenitybdd.annotations.Shared;
import net.serenitybdd.annotations.Steps;
import net.thucydides.model.reflection.FieldSetter;
import net.thucydides.model.util.Inflector;

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
net.thucydides.model.reports.json.JSONTestOutcomeReporter
net.thucydides.core.reports.html.HtmlAcceptanceTestReporter
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
net.thucydides.model.statistics.service.AnnotationBasedTagProvider
net.thucydides.model.statistics.service.FeatureStoryTagProvider
net.thucydides.model.requirements.FileSystemRequirementsTagProvider
net.thucydides.model.requirements.PackageAnnotationBasedTagProvider
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
net.thucydides.model.statistics.service.JUnitTagProviderStrategy
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@ package net.serenitybdd.core.annotations.findby.integration
import net.serenitybdd.core.annotations.findby.FindBy
import net.serenitybdd.core.pages.PageObject
import net.serenitybdd.core.pages.WebElementFacade
import net.thucydides.core.annotations.DefaultUrl
import net.thucydides.core.pages.integration.StaticSitePageWithFacades
import net.serenitybdd.annotations.DefaultUrl
import net.thucydides.core.webdriver.DefaultPageObjectInitialiser
import net.thucydides.core.webdriver.WebDriverFacade
import net.thucydides.core.webdriver.WebDriverFactory
import org.openqa.selenium.WebDriver
import org.openqa.selenium.chrome.ChromeDriver
import org.openqa.selenium.chrome.ChromeOptions
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.serenitybdd.core.steps

import net.serenitybdd.core.pages.PageObject
import net.thucydides.core.annotations.Steps
import net.serenitybdd.annotations.Steps
import spock.lang.Specification

class WhenInstantiatingAnInstrumentedStepLibrary extends Specification {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package net.serenitybdd.core.steps

import net.serenitybdd.core.Serenity
import net.serenitybdd.annotations.Step
import net.thucydides.core.annotations.Steps
import net.serenitybdd.annotations.Steps
import spock.lang.Specification

class WhenUsingScenarioActors extends Specification {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package net.serenitybdd.core.webdriver

import net.serenitybdd.model.environment.ConfiguredEnvironment
import net.serenitybdd.core.environment.WebDriverConfiguredEnvironment
import net.thucydides.core.annotations.Managed
import net.serenitybdd.annotations.Managed
import net.thucydides.core.annotations.TestCaseAnnotations
import net.thucydides.core.configuration.WebDriverConfiguration
import net.thucydides.model.util.EnvironmentVariables
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package net.serenitybdd.core.webdriver


import net.serenitybdd.core.pages.PageObject
import net.thucydides.core.annotations.DefaultUrl
import net.serenitybdd.annotations.DefaultUrl
import net.thucydides.model.util.EnvironmentVariables
import net.thucydides.model.environment.MockEnvironmentVariables
import org.openqa.selenium.WebDriver
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.serenitybdd.core.webdriver.appium

import net.serenitybdd.core.webdriver.driverproviders.AppiumDriverProvider
import net.thucydides.core.annotations.Shared
import net.serenitybdd.annotations.Shared
import net.thucydides.core.events.TestLifecycleEvents
import net.thucydides.model.environment.MockEnvironmentVariables
import net.thucydides.core.webdriver.WebDriverInstanceEvents
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package net.serenitybdd.core.webdriver.integration.appium

import net.serenitybdd.core.webdriver.appium.AppiumDevicePool
import net.serenitybdd.core.webdriver.appium.AppiumServerPool
import net.thucydides.core.annotations.Shared
import net.serenitybdd.annotations.Shared
import net.thucydides.model.environment.MockEnvironmentVariables
import spock.lang.Specification

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package net.thucydides.core.annotations

import net.serenitybdd.annotations.Managed
import org.openqa.selenium.WebDriver
import spock.lang.Shared
import spock.lang.Specification
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
package net.thucydides.core.annotations.findby.integration

import net.serenitybdd.core.pages.PageObject
import net.thucydides.core.annotations.DefaultUrl
import net.serenitybdd.annotations.DefaultUrl
import net.thucydides.model.environment.TestLocalEnvironmentVariables
import net.thucydides.core.pages.WebElementFacade
import net.thucydides.model.util.EnvironmentVariables
import net.thucydides.model.environment.MockEnvironmentVariables
import net.thucydides.core.webdriver.DefaultPageObjectInitialiser
import net.thucydides.core.webdriver.WebDriverFacade
import net.thucydides.core.webdriver.WebDriverFactory
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package net.thucydides.core.pages.integration

import net.serenitybdd.core.pages.PageUrls
import net.thucydides.core.annotations.DefaultUrl
import net.thucydides.core.annotations.NamedUrl
import net.thucydides.core.annotations.NamedUrls
import net.serenitybdd.annotations.DefaultUrl
import net.serenitybdd.annotations.NamedUrl
import net.serenitybdd.annotations.NamedUrls
import net.thucydides.model.configuration.SystemPropertiesConfiguration
import net.thucydides.model.util.EnvironmentVariables
import net.thucydides.model.environment.MockEnvironmentVariables
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package net.thucydides.core.requirements

import net.thucydides.model.requirements.PathStartsWith
import net.thucydides.model.requirements.RequirementsPath
import spock.lang.Specification

class WhenAnalysingClassPaths extends Specification {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package net.thucydides.core.requirements

import net.thucydides.core.model.SampleTestResults
import net.thucydides.model.ThucydidesSystemProperty
import net.thucydides.model.issues.IssueTracking
import net.thucydides.model.domain.ReportType
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package net.thucydides.core.requirements

import com.google.common.collect.Lists
import net.thucydides.core.model.SampleTestResults
import net.thucydides.model.ThucydidesSystemProperty
import net.thucydides.model.issues.IssueTracking
import net.thucydides.model.domain.*
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package net.thucydides.core.requirements

import net.thucydides.model.requirements.DefaultCapabilityTypes
import net.thucydides.model.requirements.FileSystemRequirements
import net.thucydides.model.requirements.Requirements
import net.thucydides.model.requirements.model.NarrativeReader
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package net.thucydides.core.requirements

import net.thucydides.model.requirements.DefaultCapabilityTypes
import net.thucydides.model.requirements.FileSystemRequirements
import net.thucydides.model.requirements.FileSystemRequirementsTagProvider
import net.thucydides.model.requirements.Requirements
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.thucydides.core.screenshots.integration

import net.thucydides.core.annotations.BlurScreenshots
import net.thucydides.core.screenshots.BlurLevel
import net.serenitybdd.annotations.BlurScreenshots
import net.serenitybdd.annotations.BlurLevel
import net.thucydides.core.screenshots.ScreenshotBlurCheck
import spock.lang.Specification

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package net.thucydides.core.screenshots.integration

import net.thucydides.core.screenshots.BlurLevel
import net.serenitybdd.annotations.BlurLevel
import net.thucydides.core.screenshots.ScreenshotDigest
import net.thucydides.model.util.EnvironmentVariables
import net.thucydides.model.util.FileSystemUtils
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package net.thucydides.core.steps

import net.thucydides.core.annotations.Steps
import net.serenitybdd.annotations.Steps
import net.thucydides.model.environment.MockEnvironmentVariables
import spock.lang.Specification

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package net.thucydides.core.util

import net.thucydides.model.util.Acronym
import spock.lang.Specification
import net.thucydides.model.util.Inflector

class WhenDisplayingTagNamesInAReadableForm extends Specification {

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.thucydides.core.webdriver

import net.thucydides.core.annotations.Managed
import net.thucydides.core.annotations.ManagedPages
import net.serenitybdd.annotations.Managed
import net.serenitybdd.annotations.ManagedPages
import net.thucydides.core.pages.Pages
import org.openqa.selenium.WebDriver
import org.openqa.selenium.chrome.ChromeDriver
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package net.serenitybdd.core;

import net.thucydides.core.annotations.Managed;
import net.thucydides.core.annotations.ManagedPages;
import net.serenitybdd.annotations.Managed;
import net.serenitybdd.annotations.ManagedPages;
import net.serenitybdd.annotations.Step;
import net.thucydides.core.annotations.Steps;
import net.serenitybdd.annotations.Steps;
import net.thucydides.core.pages.Pages;
import net.thucydides.core.steps.ScenarioSteps;
import net.thucydides.model.steps.StepListener;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package net.thucydides.core.annotations;


import net.serenitybdd.annotations.Managed;
import net.thucydides.core.webdriver.WebDriverFacade;
import org.junit.Before;
import org.junit.Test;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import net.serenitybdd.core.Serenity;
import net.thucydides.core.model.samples.MyInheritedStepLibrary;
import net.serenitybdd.annotations.Step;
import net.thucydides.core.annotations.Steps;
import net.serenitybdd.annotations.Steps;
import net.thucydides.core.pages.Pages;
import net.thucydides.core.steps.RecursiveOrCyclicStepLibraryReferenceException;
import net.thucydides.core.steps.ScenarioSteps;
Expand Down
Loading

0 comments on commit c86ec5e

Please sign in to comment.