Index
All Classes and Interfaces|All Packages
A
- ACTIVITIES_SEARCH - Static variable in class tests.destinationExperiences.ToursAndActivitesTest
- AIRPORT_LOCATIONS - Static variable in class tests.airports.AirportReferenceLocationTest
- AirportReferenceLocationTest - Class in tests.airports
-
Test class for Airport and City Reference Location API endpoints.
- AirportReferenceLocationTest() - Constructor for class tests.airports.AirportReferenceLocationTest
- AnnotationTransformer - Class in testUtils
-
TestNG annotation transformer that automatically assigns a retry analyzer to test methods.
- AnnotationTransformer() - Constructor for class testUtils.AnnotationTransformer
- assertEquals(T, T, String) - Static method in class testUtils.Assertion
-
Asserts that two values are equal and logs the result.
- Assertion - Class in testUtils
-
Utility class for assertions with logging using Log4j2.
- Assertion() - Constructor for class testUtils.Assertion
- assertTrue(boolean, String) - Static method in class testUtils.Assertion
-
Asserts that a condition is true and logs the result.
B
- BaseTest - Class in tests
-
Base test class for Amadeus API tests.
- BaseTest() - Constructor for class tests.BaseTest
D
- describeTo(Description) - Method in class testUtils.LoggingMatcher
-
Describes the matcher to the given description.
F
- FLIGHT_DATES - Static variable in class tests.flights.FlightInspirationTest
- FLIGHT_OFFERS - Static variable in class tests.flights.FlightOffersTest
- FlightInspirationTest - Class in tests.flights
-
Test class for Flight Inspiration Search API endpoints.
- FlightInspirationTest() - Constructor for class tests.flights.FlightInspirationTest
- FlightOffersTest - Class in tests.flights
-
Test class for Flight Offers API endpoints.
- FlightOffersTest() - Constructor for class tests.flights.FlightOffersTest
G
- getAirportLocationQuery() - Method in class tests.airports.AirportReferenceLocationTest
-
Data provider for airport location tests.
- getInvalidAirLineQuery() - Method in class tests.flights.FlightOffersTest
-
Data provider for invalid airline queries.
- getOauth2Token() - Method in class tests.BaseTest
-
Gets an OAuth2 access token from the Amadeus API.
- getQueryParams(String, String, String, String, Integer) - Method in class tests.flights.FlightOffersTest
-
Builds a map of query parameters for flight search.
- getvalidAirLineQuery() - Method in class tests.flights.FlightOffersTest
-
Data provider for valid airline queries.
L
- log(Logger, Matcher<? super T>, String) - Static method in class testUtils.LoggingMatcher
-
Factory method to create a LoggingMatcher.
- logger - Variable in class tests.BaseTest
- LoggingMatcher<T> - Class in testUtils
-
A Hamcrest matcher that logs assertion results using Log4j2.
- LoggingMatcher(Logger, Matcher<? super T>, String) - Constructor for class testUtils.LoggingMatcher
-
Constructs a LoggingMatcher.
M
- matchesSafely(T) - Method in class testUtils.LoggingMatcher
-
Evaluates the matcher and logs the result.
O
- onTestFailure(ITestResult) - Method in class testUtils.TestResultLoggerListener
-
Called when a test method fails.
- onTestSkipped(ITestResult) - Method in class testUtils.TestResultLoggerListener
-
Called when a test method is skipped.
- onTestStart(ITestResult) - Method in class testUtils.TestResultLoggerListener
-
Called when a test method starts.
- onTestSuccess(ITestResult) - Method in class testUtils.TestResultLoggerListener
-
Called when a test method passes.
R
- readProperties - Static variable in class tests.BaseTest
- retry(ITestResult) - Method in class testUtils.RetryAnalyzer
-
Determines whether the test should be retried based on the status code.
- RetryAnalyzer - Class in testUtils
-
TestNG retry analyzer that retries a test if the HTTP status code is 429 (Too Many Requests).
- RetryAnalyzer() - Constructor for class testUtils.RetryAnalyzer
S
- SECRET_KEY - Static variable in class tests.BaseTest
- setUpSuite() - Method in class tests.BaseTest
-
Sets up the test suite configuration.
T
- testAirportReferenceDataLocations(AirportQueriesWrapper.AirportQuery) - Method in class tests.airports.AirportReferenceLocationTest
-
Tests the airport reference data locations API endpoint.
- testChepestFlightDateSearchIsSortedbyPrice() - Method in class tests.flights.FlightInspirationTest
-
Tests that the flight date search results are correctly sorted by price.
- testDesintationTourAndActivityByID(ITestContext) - Method in class tests.destinationExperiences.ToursAndActivitesTest
-
Tests retrieving a specific activity by its ID.
- testDestinationToursAndActivities(ITestContext) - Method in class tests.destinationExperiences.ToursAndActivitesTest
-
Tests searching for destination activities by location.
- testInvalidSearchFlightOffers(String, String, String, String, Integer, String, String) - Method in class tests.flights.FlightOffersTest
-
Tests searching for flight offers with invalid parameters.
- TestResultLoggerListener - Class in testUtils
-
TestNG listener that logs test execution events using Log4j2.
- TestResultLoggerListener() - Constructor for class testUtils.TestResultLoggerListener
- tests - package tests
- tests.airports - package tests.airports
- tests.carAndTransfers - package tests.carAndTransfers
- tests.destinationExperiences - package tests.destinationExperiences
- tests.flights - package tests.flights
- testSearchTransferOffers() - Method in class tests.carAndTransfers.TransferOffersTest
-
Tests searching for transfer offers between locations.
- testUtils - package testUtils
- testValidSearchFlightOffers(String, String, String, String, Integer) - Method in class tests.flights.FlightOffersTest
-
Tests searching for flight offers with valid parameters.
- ToursAndActivitesTest - Class in tests.destinationExperiences
-
Test class for Destination Experiences API endpoints.
- ToursAndActivitesTest() - Constructor for class tests.destinationExperiences.ToursAndActivitesTest
- TRANSFER_OFFERS - Static variable in class tests.carAndTransfers.TransferOffersTest
- TransferOffersTest - Class in tests.carAndTransfers
-
Test class for Car and Transfer Offers API endpoints.
- TransferOffersTest() - Constructor for class tests.carAndTransfers.TransferOffersTest
- transform(ITestAnnotation, Class, Constructor, Method) - Method in class testUtils.AnnotationTransformer
-
Transforms the test annotation to set a retry analyzer if not already present.
All Classes and Interfaces|All Packages