Index

A B C D E F G H I L M O R S T U W 
All Classes and Interfaces|All Packages

A

ACTIVITIES_SEARCH - Static variable in class tests.destinationExperiences.ToursAndActivitiesTest
 
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
 

C

collectTestResults(IResultMap) - Method in class testUtils.TestResultsReporter
Processes and collects test results from a TestNG result map.
comment() - Method in record class testUtils.TestResultsRecords.TestIterationResult
Returns the value of the comment record component.
comment() - Method in record class testUtils.TestResultsRecords.TestResult
Returns the value of the comment record component.

D

describeTo(Description) - Method in class testUtils.LoggingMatcher
Describes the matcher to the given description.
durationInMs() - Method in record class testUtils.TestResultsRecords.TestIterationResult
Returns the value of the durationInMs record component.
durationInMs() - Method in record class testUtils.TestResultsRecords.TestResult
Returns the value of the durationInMs record component.

E

equals(Object) - Method in record class testUtils.TestResultsRecords.TestCaseInfo
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class testUtils.TestResultsRecords.TestIterationResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class testUtils.TestResultsRecords.TestPlanSuite
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class testUtils.TestResultsRecords.TestResult
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class testUtils.TestResultsRecords.TestResultReport
Indicates whether some other object is "equal to" this one.
errorMessage() - Method in record class testUtils.TestResultsRecords.TestIterationResult
Returns the value of the errorMessage record component.
errorMessage() - Method in record class testUtils.TestResultsRecords.TestResult
Returns the value of the errorMessage record component.

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

generateReport(List<XmlSuite>, List<ISuite>, String) - Method in class testUtils.TestResultsReporter
Generates the test results report by processing all test suites and their results.
getAirportLocationQuery() - Method in class tests.airports.AirportReferenceLocationTest
Data provider for airport location tests.
getCityCodes() - Method in class tests.hotels.SearchHotelsTest
Provides a list of city codes for data-driven hotel search tests.
getInvalidAirLineQuery() - Method in class tests.flights.FlightOffersTest
Data provider for invalid airline queries.
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.

H

hashCode() - Method in record class testUtils.TestResultsRecords.TestCaseInfo
Returns a hash code value for this object.
hashCode() - Method in record class testUtils.TestResultsRecords.TestIterationResult
Returns a hash code value for this object.
hashCode() - Method in record class testUtils.TestResultsRecords.TestPlanSuite
Returns a hash code value for this object.
hashCode() - Method in record class testUtils.TestResultsRecords.TestResult
Returns a hash code value for this object.
hashCode() - Method in record class testUtils.TestResultsRecords.TestResultReport
Returns a hash code value for this object.

I

id() - Method in record class testUtils.TestResultsRecords.TestIterationResult
Returns the value of the id record component.
iterationDetails() - Method in record class testUtils.TestResultsRecords.TestResult
Returns the value of the iterationDetails record component.

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.
outcome() - Method in record class testUtils.TestResultsRecords.TestIterationResult
Returns the value of the outcome record component.
outcome() - Method in record class testUtils.TestResultsRecords.TestResult
Returns the value of the outcome record component.

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

SearchHotelsTest - Class in tests.hotels
Test class for searching hotels by city code using Amadeus API.
SearchHotelsTest() - Constructor for class tests.hotels.SearchHotelsTest
 
setUpSuite() - Method in class tests.BaseTest
Sets up suite-wide RestAssured configuration before any tests run.

T

testAirportReferenceDataLocations(AirportQueriesWrapper.AirportQuery) - Method in class tests.airports.AirportReferenceLocationTest
Tests the airport reference data locations API endpoint.
testCaseId() - Method in record class testUtils.TestResultsRecords.TestCaseInfo
Returns the value of the testCaseId record component.
TestCaseInfo(String) - Constructor for record class testUtils.TestResultsRecords.TestCaseInfo
Creates an instance of a TestCaseInfo record class.
testCases() - Method in record class testUtils.TestResultsRecords.TestPlanSuite
Returns the value of the testCases record component.
testCheapestFlightDateSearchIsSortedByPrice() - Method in class tests.flights.FlightInspirationTest
Tests that the flight date search results are correctly sorted by price.
testDestinationTourAndActivityByID(ITestContext) - Method in class tests.destinationExperiences.ToursAndActivitiesTest
Tests retrieving a specific activity by its ID.
testDestinationToursAndActivities(ITestContext) - Method in class tests.destinationExperiences.ToursAndActivitiesTest
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.
TestIterationResult(int, String, String, Long, String) - Constructor for record class testUtils.TestResultsRecords.TestIterationResult
Creates an instance of a TestIterationResult record class.
testPlanName() - Method in record class testUtils.TestResultsRecords.TestPlanSuite
Returns the value of the testPlanName record component.
testPlanName() - Method in record class testUtils.TestResultsRecords.TestResultReport
Returns the value of the testPlanName record component.
TestPlanSuite(String, String, Map<String, TestResultsRecords.TestCaseInfo>) - Constructor for record class testUtils.TestResultsRecords.TestPlanSuite
Creates an instance of a TestPlanSuite record class.
TestResult(String, String, Long, String) - Constructor for record class testUtils.TestResultsRecords.TestResult
Constructor for single test execution (no iterations).
TestResult(String, String, Long, String, List<TestResultsRecords.TestIterationResult>) - Constructor for record class testUtils.TestResultsRecords.TestResult
Creates an instance of a TestResult record class.
TestResultLoggerListener - Class in testUtils
TestNG listener that logs test execution events using Log4j2.
TestResultLoggerListener() - Constructor for class testUtils.TestResultLoggerListener
 
TestResultReport(String, String, Map<String, TestResultsRecords.TestResult>) - Constructor for record class testUtils.TestResultsRecords.TestResultReport
Creates an instance of a TestResultReport record class.
testResults() - Method in record class testUtils.TestResultsRecords.TestResultReport
Returns the value of the testResults record component.
TestResultsRecords - Class in testUtils
Java records
TestResultsRecords() - Constructor for class testUtils.TestResultsRecords
 
TestResultsRecords.TestCaseInfo - Record Class in testUtils
Represents a test case info with testcaseId.
TestResultsRecords.TestIterationResult - Record Class in testUtils
Represents a single test iteration result.
TestResultsRecords.TestPlanSuite - Record Class in testUtils
Represents a suite of test cases within a test plan.
TestResultsRecords.TestResult - Record Class in testUtils
Represents the complete test result for a test case.
TestResultsRecords.TestResultReport - Record Class in testUtils
Container for all test results.
TestResultsReporter - Class in testUtils
Custom TestNG reporter that generates structured JSON reports for test execution results.
TestResultsReporter() - Constructor for class testUtils.TestResultsReporter
 
tests - package tests
 
tests.airports - package tests.airports
 
tests.carAndTransfers - package tests.carAndTransfers
 
tests.destinationExperiences - package tests.destinationExperiences
 
tests.flights - package tests.flights
 
tests.hotels - package tests.hotels
 
testSearchHotelsByCityCode(String) - Method in class tests.hotels.SearchHotelsTest
Searches hotels by city code and validates the IATA code in the response.
testSearchTransferOffers() - Method in class tests.carAndTransfers.TransferOffersTest
Tests searching for transfer offers between locations.
testSuiteName() - Method in record class testUtils.TestResultsRecords.TestPlanSuite
Returns the value of the testSuiteName record component.
testSuiteName() - Method in record class testUtils.TestResultsRecords.TestResultReport
Returns the value of the testSuiteName record component.
testUtils - package testUtils
 
testValidSearchFlightOffers(String, String, String, String, Integer) - Method in class tests.flights.FlightOffersTest
Tests searching for flight offers with valid parameters.
toString() - Method in record class testUtils.TestResultsRecords.TestCaseInfo
Returns a string representation of this record class.
toString() - Method in record class testUtils.TestResultsRecords.TestIterationResult
Returns a string representation of this record class.
toString() - Method in record class testUtils.TestResultsRecords.TestPlanSuite
Returns a string representation of this record class.
toString() - Method in record class testUtils.TestResultsRecords.TestResult
Returns a string representation of this record class.
toString() - Method in record class testUtils.TestResultsRecords.TestResultReport
Returns a string representation of this record class.
ToursAndActivitiesTest - Class in tests.destinationExperiences
Test class for Destination Experiences API endpoints.
ToursAndActivitiesTest() - Constructor for class tests.destinationExperiences.ToursAndActivitiesTest
 
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.

U

updateToken() - Method in class tests.BaseTest
Updates the OAuth2 token before each test method to ensure valid authentication.

W

withIterationResult(TestResultsRecords.TestIterationResult) - Method in record class testUtils.TestResultsRecords.TestResult
Creates a new TestResult with an additional iteration.
A B C D E F G H I L M O R S T U W 
All Classes and Interfaces|All Packages