A B C D E F G H I L M N P R S T U V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- accessControlAllowCredentials() - Method in class com.azure.android.core.test.implementation.entities.HttpBinHeaders
-
Indicates whether to expose response to frontend JS code.
- accessPolicy() - Method in class com.azure.android.core.test.implementation.entities.SignedIdentifierInner
-
Get the accessPolicy value.
- AccessPolicy - Class in com.azure.android.core.test.implementation.entities
-
An Access policy.
- AccessPolicy() - Constructor for class com.azure.android.core.test.implementation.entities.AccessPolicy
- addHeader(String, String) - Method in class com.azure.android.core.test.http.MockHttpResponse
-
Adds the header
nameandvalueto the existing set of HTTP headers. - addNetworkCall(NetworkCallRecord) - Method in class com.azure.android.core.test.models.RecordedData
-
Adds a network call to the end of the list.
- addTextReplacementRule(String, String) - Method in class com.azure.android.core.test.InterceptorManager
-
Add text replacement rule (regex as key, the replacement text as value) into
InterceptorManager.textReplacementRules - addVariable(String) - Method in class com.azure.android.core.test.models.RecordedData
-
Adds a variable to the end of the list.
- afterTest() - Method in class com.azure.android.core.test.TestBase
-
Dispose of any resources and clean-up after a test case runs.
- android.util - package android.util
-
Package mock types from android util namespace.
- ArrayMap<K,V> - Class in android.util
-
Mock ArrayMap implementation for testing on non android host.
- ArrayMap(int) - Constructor for class android.util.ArrayMap
-
Creates mock array map.
- ASSERT - Static variable in class android.util.Log
-
Priority constant for the println method.
- author() - Method in class com.azure.android.core.test.implementation.entities.Slideshow
-
Gets the slideshow author.
- AZURE_TEST_HTTP_CLIENTS_VALUE_ALL - Static variable in class com.azure.android.core.test.TestBase
- AZURE_TEST_HTTP_CLIENTS_VALUE_OK_HTTP - Static variable in class com.azure.android.core.test.TestBase
- AZURE_TEST_SERVICE_VERSIONS_VALUE_ALL - Static variable in class com.azure.android.core.test.TestBase
B
- beforeEach(ExtensionContext) - Method in class com.azure.android.core.test.TestBase
- beforeTest() - Method in class com.azure.android.core.test.TestBase
-
Performs any set-up before each test case.
- bomWithDifferentHeader() - Method in class com.azure.android.core.test.http.HttpClientTests
-
Tests that a response with a byte order marker and 'Content-Type' header will defer to using the BOM encoding.
- bomWithSameHeader() - Method in class com.azure.android.core.test.http.HttpClientTests
-
Tests that a response with a byte order marker and 'Content-Type' header will defer to using the BOM encoding.
- bytesUploadTest() - Method in class com.azure.android.core.test.implementation.RestProxyTests
C
- close() - Method in class com.azure.android.core.test.InterceptorManager
-
Disposes of resources used by this InterceptorManager.
- com.azure.android.core.test - package com.azure.android.core.test
-
Package containing common test classes for Azure client libraries.
- com.azure.android.core.test.annotation - package com.azure.android.core.test.annotation
-
Package containing annotations test classes for Azure client libraries.
- com.azure.android.core.test.http - package com.azure.android.core.test.http
-
Package containing classes to test HTTP communications in Azure client libraries.
- com.azure.android.core.test.implementation - package com.azure.android.core.test.implementation
- com.azure.android.core.test.implementation.entities - package com.azure.android.core.test.implementation.entities
- com.azure.android.core.test.models - package com.azure.android.core.test.models
-
Package containing models used to test Azure client libraries.
- com.azure.android.core.test.policy - package com.azure.android.core.test.policy
-
Package containing
HttpPipelinePoliciesused to test Azure client libraries. - com.azure.android.core.test.utils - package com.azure.android.core.test.utils
-
Package containing utility classes used for testing Azure client libraries.
- connection() - Method in class com.azure.android.core.test.implementation.entities.HttpBinHeaders
-
Gets information about the connection status after this message is received.
- connection(String) - Method in class com.azure.android.core.test.implementation.entities.HttpBinHeaders
-
Sets information about the connection status after this message is received.
- create(A, B) - Static method in class android.util.Pair
-
Creates a Mock pair.
- createHttpClient() - Method in class com.azure.android.core.test.http.HttpClientTests
-
Get the HTTP client that will be used for each test.
- createHttpClient() - Method in class com.azure.android.core.test.implementation.RestProxyTests
-
Get the HTTP client that will be used for each test.
- createService(Class<T>) - Method in class com.azure.android.core.test.implementation.RestProxyTests
- createService(Class<T>, HttpClient) - Method in class com.azure.android.core.test.implementation.RestProxyTests
- customerEmail() - Method in class com.azure.android.core.test.implementation.entities.HttpBinFormDataJSON.Form
- customerEmail(String) - Method in class com.azure.android.core.test.implementation.entities.HttpBinFormDataJSON.Form
- customerName() - Method in class com.azure.android.core.test.implementation.entities.HttpBinFormDataJSON.Form
- customerName(String) - Method in class com.azure.android.core.test.implementation.entities.HttpBinFormDataJSON.Form
- customerTelephone() - Method in class com.azure.android.core.test.implementation.entities.HttpBinFormDataJSON.Form
- customerTelephone(String) - Method in class com.azure.android.core.test.implementation.entities.HttpBinFormDataJSON.Form
D
- d(String, String) - Static method in class android.util.Log
-
Send a
Log.DEBUGlog message. - d(String, String, Throwable) - Static method in class android.util.Log
-
Send a
Log.DEBUGlog message and log the exception. - data() - Method in class com.azure.android.core.test.implementation.entities.HttpBinJSON
-
Gets the response body.
- data(Object) - Method in class com.azure.android.core.test.implementation.entities.HttpBinJSON
-
Sets the response body.
- date() - Method in class com.azure.android.core.test.implementation.entities.HttpBinHeaders
-
Gets the date of the response.
- date() - Method in class com.azure.android.core.test.implementation.entities.Slideshow
-
Gets the date of publication.
- date(DateTimeRfc1123) - Method in class com.azure.android.core.test.implementation.entities.HttpBinHeaders
-
Sets the date of the response.
- DEBUG - Static variable in class android.util.Log
-
Priority constant for the println method; use Log.d.
- deleteRequest() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- didTestRun() - Method in class com.azure.android.core.test.TestContextManager
-
Returns whether the current test was ran.
- DoNotRecord - Annotation Type in com.azure.android.core.test.annotation
-
Annotation given to some tests to indicate that network calls made during the test shouldn't be recorded.
- doNotRecordTest() - Method in class com.azure.android.core.test.TestContextManager
-
Returns whether the test should have its network calls recorded during a
recordtest run.
E
- e(String, String) - Static method in class android.util.Log
-
Send an
Log.ERRORlog message. - e(String, String, Throwable) - Static method in class android.util.Log
-
Send a
Log.ERRORlog message and log the exception. - equals(Object) - Method in class android.util.Pair
- ERROR - Static variable in class android.util.Log
-
Priority constant for the println method; use Log.e.
- expiry() - Method in class com.azure.android.core.test.implementation.entities.AccessPolicy
-
Get the expiry value.
F
- findFirstAndRemoveNetworkCall(Predicate<NetworkCallRecord>) - Method in class com.azure.android.core.test.models.RecordedData
-
Finds the first matching
NetworkCallRecordbased on the predicate, removes it from the current network calls, and returns it. - first - Variable in class android.util.Pair
-
The first value in the pair.
- form() - Method in class com.azure.android.core.test.implementation.entities.HttpBinFormDataJSON
- form(HttpBinFormDataJSON.Form) - Method in class com.azure.android.core.test.implementation.entities.HttpBinFormDataJSON
- Form() - Constructor for class com.azure.android.core.test.implementation.entities.HttpBinFormDataJSON.Form
G
- get() - Method in class com.azure.android.core.test.models.NetworkCallError
- getBody() - Method in class com.azure.android.core.test.http.MockHttpResponse
- getBodyAsByteArray() - Method in class com.azure.android.core.test.http.MockHttpResponse
- getBodyAsString() - Method in class com.azure.android.core.test.http.MockHttpResponse
- getBodyAsString(Charset) - Method in class com.azure.android.core.test.http.MockHttpResponse
- getException() - Method in class com.azure.android.core.test.models.NetworkCallRecord
-
Gets the throwable thrown during evaluation of the network call.
- getHeaders() - Method in class com.azure.android.core.test.http.MockHttpResponse
- getHeaders() - Method in class com.azure.android.core.test.models.NetworkCallRecord
-
Gets the HTTP headers for the network call.
- getHeaderValue(String) - Method in class com.azure.android.core.test.http.MockHttpResponse
- getHttpCallDispatcher() - Method in class com.azure.android.core.test.http.NoOpHttpClient
- getHttpCallDispatcher() - Method in class com.azure.android.core.test.http.PlaybackClient
- getHttpClients() - Static method in class com.azure.android.core.test.TestBase
-
Returns a list of
HttpClientsthat should be tested. - getHttpClientTestsServer() - Static method in class com.azure.android.core.test.HttpClientTestsWireMockServer
-
Gets a WireMockServer instance to validate the HttpClient tests.
- getMethod() - Method in class com.azure.android.core.test.models.NetworkCallRecord
-
Gets the HTTP method for with this network call
- getPlaybackClient() - Method in class com.azure.android.core.test.InterceptorManager
-
Gets a new HTTP client that plays back test session records managed by
InterceptorManager. - getRecordedData() - Method in class com.azure.android.core.test.InterceptorManager
-
Gets the recorded data InterceptorManager is keeping track of.
- getRecordPolicy() - Method in class com.azure.android.core.test.InterceptorManager
-
Gets a new HTTP pipeline policy that records network calls and its data is managed by
InterceptorManager. - getRequestWithAnything() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- getRequestWithAnythingWithEncodedPathParam() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- getRequestWithAnythingWithEncodedPathParamWithPercent20() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- getRequestWithAnythingWithEncodedPathParamWithPlus() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- getRequestWithAnythingWithPathParam() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- getRequestWithAnythingWithPathParamWithPlus() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- getRequestWithAnythingWithPathParamWithSpace() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- getRequestWithAnythingWithPlus() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- getRequestWithHeaderParametersAndAnythingReturn() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- getRequestWithNoReturn() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- getRequestWithNullHeader() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- getRequestWithNullQueryParameter() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- getRequestWithQueryParametersAndAnything() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- getRequestWithQueryParametersAndAnythingWithEncodedWithPercent20() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- getRequestWithQueryParametersAndAnythingWithPercent20() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- getResponse() - Method in class com.azure.android.core.test.models.NetworkCallRecord
-
Gets the contents of the HTTP response as a map of its HTTP headers and response body.
- getRestProxyTestsServer() - Static method in class com.azure.android.core.test.RestProxyTestsWireMockServer
-
Gets a WireMockServer instance to validate the REST proxy tests.
- getStackTraceString(Throwable) - Static method in class android.util.Log
-
Handy function to get a loggable stack trace from a Throwable
- getStatusCode() - Method in class com.azure.android.core.test.http.MockHttpResponse
- getTestMode() - Method in class com.azure.android.core.test.TestBase
-
Gets the TestMode that has been initialized.
- getTestMode() - Method in class com.azure.android.core.test.TestContextManager
-
Returns the mode being used to run tests.
- getTestName() - Method in class com.azure.android.core.test.TestBase
-
Deprecated.This method is deprecated as JUnit 5 provides a simpler mechanism to get the test method name through
TestInfo. Keeping this for backward compatability of other client libraries that still override this method. This method can be deleted when all client libraries remove this method. SeeTestBase.setupTest(TestInfo). - getTestName() - Method in class com.azure.android.core.test.TestContextManager
-
Returns the name of the test being ran.
- getTestPlaybackRecordingName() - Method in class com.azure.android.core.test.TestContextManager
-
Returns the name of the playback record for the test being ran.
- getUnitTestOutDir() - Method in class com.azure.android.core.test.TestBase
-
Get the output directory where UT artifacts are stored.
- getUnitTestOutDir() - Method in class com.azure.android.core.test.TestContextManager
-
Get the output directory where UT artifacts are stored.
- getUri() - Method in class com.azure.android.core.test.models.NetworkCallRecord
-
Gets the URL for this network call.
- getValue() - Method in exception com.azure.android.core.test.MyRestException
- getWireMockPort() - Method in class com.azure.android.core.test.http.HttpClientTests
-
Get the dynamic port the WireMock server is using to properly route the request.
- getWireMockPort() - Method in class com.azure.android.core.test.implementation.RestProxyTests
-
Get the dynamic port the WireMock server is using to properly route the request.
H
- hashCode() - Method in class android.util.Pair
- headBooleanRequest() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- headerResponse() - Method in class com.azure.android.core.test.http.HttpClientTests
-
Tests that a response with a 'Content-Type' header encodes using the specified charset.
- headers() - Method in class com.azure.android.core.test.implementation.entities.HttpBinFormDataJSON
- headers() - Method in class com.azure.android.core.test.implementation.entities.HttpBinJSON
-
Gets the response headers.
- headers(Map<String, String>) - Method in class com.azure.android.core.test.implementation.entities.HttpBinFormDataJSON
- headers(Map<String, String>) - Method in class com.azure.android.core.test.implementation.entities.HttpBinJSON
-
Sets the response headers.
- headersRequest() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- headRequest() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- HttpBinFormDataJSON - Class in com.azure.android.core.test.implementation.entities
-
Maps to the JSON return values from http://httpbin.org.
- HttpBinFormDataJSON() - Constructor for class com.azure.android.core.test.implementation.entities.HttpBinFormDataJSON
- HttpBinFormDataJSON.Form - Class in com.azure.android.core.test.implementation.entities
- HttpBinFormDataJSON.PizzaSize - Enum in com.azure.android.core.test.implementation.entities
- HttpBinHeaders - Class in com.azure.android.core.test.implementation.entities
-
Defines headers for httpbin.org operations.
- HttpBinHeaders() - Constructor for class com.azure.android.core.test.implementation.entities.HttpBinHeaders
- HttpBinJSON - Class in com.azure.android.core.test.implementation.entities
-
Maps to the JSON return values from http://httpbin.org.
- HttpBinJSON() - Constructor for class com.azure.android.core.test.implementation.entities.HttpBinJSON
- HttpClientTests - Class in com.azure.android.core.test.http
-
Generic test suite for
HttpClients. - HttpClientTests() - Constructor for class com.azure.android.core.test.http.HttpClientTests
- HttpClientTestsWireMockServer - Class in com.azure.android.core.test
-
WireMock server used when running
HttpClientTests. - HttpClientTestsWireMockServer() - Constructor for class com.azure.android.core.test.HttpClientTestsWireMockServer
I
- i(String, String) - Static method in class android.util.Log
-
Send an
Log.INFOlog message. - i(String, String, Throwable) - Static method in class android.util.Log
-
Send a
Log.INFOlog message and log the exception. - id() - Method in class com.azure.android.core.test.implementation.entities.SignedIdentifierInner
-
Get the id value.
- INFO - Static variable in class android.util.Log
-
Priority constant for the println method; use Log.i.
- interceptorManager - Variable in class com.azure.android.core.test.TestBase
- InterceptorManager - Class in com.azure.android.core.test
-
A class that keeps track of network calls by either reading the data from an existing test session record or recording the network calls in memory.
- InterceptorManager(TestContextManager) - Constructor for class com.azure.android.core.test.InterceptorManager
-
Creates a new InterceptorManager that either replays test-session records or saves them.
- InterceptorManager(String, URL, Map<String, String>, boolean, String) - Constructor for class com.azure.android.core.test.InterceptorManager
-
Creates a new InterceptorManager that replays test session records.
- invalidHeaderResponse() - Method in class com.azure.android.core.test.http.HttpClientTests
-
Tests that a response with a 'Content-Type' containing an invalid or unsupported charset encodes using UTF-8.
- isLiveMode() - Method in class com.azure.android.core.test.InterceptorManager
-
Gets whether this InterceptorManager is in live mode.
- isLoggable(String, int) - Static method in class android.util.Log
-
Checks to see whether or not a log for the specified tag is loggable at the specified level.
- isPlaybackMode() - Method in class com.azure.android.core.test.InterceptorManager
-
Gets whether this InterceptorManager is in playback mode.
- items() - Method in class com.azure.android.core.test.implementation.entities.Slide
-
Gets the content strings of the slide.
L
- LARGE - com.azure.android.core.test.implementation.entities.HttpBinFormDataJSON.PizzaSize
- LIVE - com.azure.android.core.test.TestMode
-
Run a live test without recording.
- Log - Class in android.util
-
Mock Log implementation that writes to the console when testing on non android host.
- LOG_ID_CRASH - Static variable in class android.util.Log
- LOG_ID_EVENTS - Static variable in class android.util.Log
- LOG_ID_MAIN - Static variable in class android.util.Log
- LOG_ID_RADIO - Static variable in class android.util.Log
- LOG_ID_SYSTEM - Static variable in class android.util.Log
M
- MEDIUM - com.azure.android.core.test.implementation.entities.HttpBinFormDataJSON.PizzaSize
- MockHttpClient - Class in com.azure.android.core.test.http
-
This HttpClient attempts to mimic the behavior of http://httpbin.org without ever making a network call.
- MockHttpClient() - Constructor for class com.azure.android.core.test.http.MockHttpClient
- MockHttpResponse - Class in com.azure.android.core.test.http
-
An HTTP response that is created to simulate a HTTP request.
- MockHttpResponse(HttpRequest, int) - Constructor for class com.azure.android.core.test.http.MockHttpResponse
-
Creates a HTTP response associated with a
request, returns thestatusCode, and has an empty response body. - MockHttpResponse(HttpRequest, int, byte[]) - Constructor for class com.azure.android.core.test.http.MockHttpResponse
-
Creates an HTTP response associated with a
request, returns thestatusCode, and response body ofbodyBytes. - MockHttpResponse(HttpRequest, int, HttpHeaders) - Constructor for class com.azure.android.core.test.http.MockHttpResponse
-
Creates an HTTP response associated with a
request, returns thestatusCode, and http headers. - MockHttpResponse(HttpRequest, int, HttpHeaders, byte[]) - Constructor for class com.azure.android.core.test.http.MockHttpResponse
-
Creates an HTTP response associated with a
request, returns thestatusCode, contains theheaders, and response body ofbodyBytes. - MockHttpResponse(HttpRequest, int, HttpHeaders, Object) - Constructor for class com.azure.android.core.test.http.MockHttpResponse
-
Creates an HTTP response associated with a
request, returns thestatusCode, contains the givenheaders, and response body that is JSON serialized fromserializable. - MockHttpResponse(HttpRequest, int, Object) - Constructor for class com.azure.android.core.test.http.MockHttpResponse
-
Creates an HTTP response associated with a
request, returns thestatusCode, and response body that is JSON serialized fromserializable. - MyRestException - Exception in com.azure.android.core.test
-
A test exception.
- MyRestException(String, HttpResponse, HttpBinJSON) - Constructor for exception com.azure.android.core.test.MyRestException
-
Creates a service request exception.
N
- NetworkCallError - Class in com.azure.android.core.test.models
-
This class represents a caught throwable during a network call.
- NetworkCallError() - Constructor for class com.azure.android.core.test.models.NetworkCallError
-
Empty constructor used by deserialization.
- NetworkCallError(Throwable) - Constructor for class com.azure.android.core.test.models.NetworkCallError
-
Constructs the class setting the throwable and its class name.
- NetworkCallRecord - Class in com.azure.android.core.test.models
-
Keeps track of network call records from each unit test session.
- NetworkCallRecord() - Constructor for class com.azure.android.core.test.models.NetworkCallRecord
- NoOpHttpClient - Class in com.azure.android.core.test.http
-
An HttpClient instance that returns statusCode 200 with empty/no content.
- NoOpHttpClient() - Constructor for class com.azure.android.core.test.http.NoOpHttpClient
- now() - Method in class com.azure.android.core.test.utils.TestResourceNamer
-
Gets an OffsetDateTime of UTC now.
P
- Pair<F,S> - Class in android.util
-
Mock Pair implementation for testing on non android host.
- Pair(F, S) - Constructor for class android.util.Pair
-
Creates a Mock pair.
- patchRequest() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- permission() - Method in class com.azure.android.core.test.implementation.entities.AccessPolicy
-
Get the permission value.
- pizzaSize() - Method in class com.azure.android.core.test.implementation.entities.HttpBinFormDataJSON.Form
- pizzaSize(HttpBinFormDataJSON.PizzaSize) - Method in class com.azure.android.core.test.implementation.entities.HttpBinFormDataJSON.Form
- plainResponse() - Method in class com.azure.android.core.test.http.HttpClientTests
-
Tests that a response without a byte order mark or a 'Content-Type' header encodes using UTF-8.
- PLAYBACK - com.azure.android.core.test.TestMode
-
Playback data from an existing test session.
- PlaybackClient - Class in com.azure.android.core.test.http
-
HTTP client that plays back
NetworkCallRecords. - PlaybackClient(RecordedData, Map<String, String>) - Constructor for class com.azure.android.core.test.http.PlaybackClient
-
Creates a PlaybackClient that replays network calls from
recordedDataand replacesresponse textfor any rules specified intextReplacementRules. - postRequestWithNullBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- postRequestWithStringBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- postUrlForm() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- postUrlFormEncoded() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- println(int, int, String, String) - Static method in class android.util.Log
-
Print log message to the console.
- println(int, String, String) - Static method in class android.util.Log
-
Low-level logging call.
- process(HttpPipelinePolicyChain) - Method in class com.azure.android.core.test.policy.RecordNetworkCallPolicy
- putRequestWithBodyAndEqualContentLength() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- putRequestWithIntBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- putRequestWithUnexpectedResponse() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- putRequestWithUnexpectedResponseAndDeterminedExceptionType() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- putRequestWithUnexpectedResponseAndExceptionType() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- putRequestWithUnexpectedResponseAndFallthroughExceptionType() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- putRequestWithUnexpectedResponseAndNoFallthroughExceptionType() - Method in class com.azure.android.core.test.implementation.RestProxyTests
R
- randomName(String, int) - Method in class com.azure.android.core.test.utils.ResourceNamer
-
Gets a random name.
- randomName(String, int) - Method in class com.azure.android.core.test.utils.TestResourceNamer
-
Gets a random name.
- randomUuid() - Method in class com.azure.android.core.test.utils.ResourceNamer
-
Creates a random UUID.
- randomUuid() - Method in class com.azure.android.core.test.utils.TestResourceNamer
-
Gets a random UUID.
- RECORD - com.azure.android.core.test.TestMode
-
Record data from a live test.
- RecordedData - Class in com.azure.android.core.test.models
-
Keeps track of the network calls and variable names that were made in a test session.
- RecordedData() - Constructor for class com.azure.android.core.test.models.RecordedData
-
Creates a new instance of RecordedData to manage network calls and variables in a test session.
- RecordingRedactor - Class in com.azure.android.core.test.models
-
This class used to redact the sensitive information when recording
- RecordingRedactor() - Constructor for class com.azure.android.core.test.models.RecordingRedactor
- RecordNetworkCallPolicy - Class in com.azure.android.core.test.policy
-
HTTP Pipeline policy that keeps track of each HTTP request and response that flows through the pipeline.
- RecordNetworkCallPolicy(RecordedData) - Constructor for class com.azure.android.core.test.policy.RecordNetworkCallPolicy
-
Creates a policy that records network calls into
recordedData. - recordValueFromConfig(String) - Method in class com.azure.android.core.test.utils.TestResourceNamer
-
Record the value into recordedData, and pop it up when playback.
- redact(String) - Method in class com.azure.android.core.test.models.RecordingRedactor
-
Redact the sensitive information.
- removeVariable() - Method in class com.azure.android.core.test.models.RecordedData
-
Removes the first variable from the list and returns it.
- requestWithByteArrayReturnType() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- requestWithByteArrayReturnTypeAndParameterizedHostAndPath() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- requestWithMultipleHostParams() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- ResourceNamer - Class in com.azure.android.core.test.utils
-
A random string generator used in tests.
- ResourceNamer(String) - Constructor for class com.azure.android.core.test.utils.ResourceNamer
-
Creates a ResourceNameGenerator that prefixes its strings with the name.
- RestProxyTests - Class in com.azure.android.core.test.implementation
- RestProxyTests() - Constructor for class com.azure.android.core.test.implementation.RestProxyTests
- RestProxyTestsWireMockServer - Class in com.azure.android.core.test
-
The WireMockServer for REST proxy tests.
- RestProxyTestsWireMockServer() - Constructor for class com.azure.android.core.test.RestProxyTestsWireMockServer
S
- second - Variable in class android.util.Pair
-
The second value in the pair.
- send(HttpRequest, CancellationToken, HttpCallback) - Method in class com.azure.android.core.test.http.MockHttpClient
- send(HttpRequest, CancellationToken, HttpCallback) - Method in class com.azure.android.core.test.http.NoOpHttpClient
- send(HttpRequest, CancellationToken, HttpCallback) - Method in class com.azure.android.core.test.http.PlaybackClient
- service16Put() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service18GetStatus200() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service18GetStatus200WithExpectedResponse200() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service18GetStatus300() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service18GetStatus300WithExpectedResponse300() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service18GetStatus400() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service18GetStatus400WithExpectedResponse400() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service18GetStatus500() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service18GetStatus500WithExpectedResponse500() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithBodyParamApplicationJsonContentTypeAndByteArrayBodyWithEmptyBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithBodyParamApplicationJsonContentTypeAndByteArrayBodyWithNonEmptyBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithBodyParamApplicationJsonContentTypeAndByteArrayBodyWithNullBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithBodyParamApplicationJsonContentTypeAndCharsetAndStringBodyWithEmptyBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithBodyParamApplicationJsonContentTypeAndCharsetAndStringBodyWithNonEmptyBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithBodyParamApplicationJsonContentTypeAndCharsetAndStringBodyWithNullBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithBodyParamApplicationJsonContentTypeAndStringBodyWithEmptyBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithBodyParamApplicationJsonContentTypeAndStringBodyWithNonEmptyBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithBodyParamApplicationJsonContentTypeAndStringBodyWithNullBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithBodyParamApplicationOctetStreamContentTypeAndByteArrayBodyWithEmptyBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithBodyParamApplicationOctetStreamContentTypeAndByteArrayBodyWithNonEmptyBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithBodyParamApplicationOctetStreamContentTypeAndByteArrayBodyWithNullBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithBodyParamApplicationOctetStreamContentTypeAndStringBodyWithEmptyBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithBodyParamApplicationOctetStreamContentTypeAndStringBodyWithNonEmptyBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithBodyParamApplicationOctetStreamContentTypeAndStringBodyWithNullBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithHeaderApplicationJsonContentTypeAndByteArrayBodyWithEmptyBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithHeaderApplicationJsonContentTypeAndByteArrayBodyWithNonEmptyBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithHeaderApplicationJsonContentTypeAndByteArrayBodyWithNullBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithHeaderApplicationJsonContentTypeAndCharsetAndStringBodyWithEmptyBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithHeaderApplicationJsonContentTypeAndCharsetAndStringBodyWithNonEmptyBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithHeaderApplicationJsonContentTypeAndCharsetAndStringBodyWithNullBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithHeaderApplicationJsonContentTypeAndStringBodyWithEmptyBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithHeaderApplicationJsonContentTypeAndStringBodyWithNonEmptyBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithHeaderApplicationJsonContentTypeAndStringBodyWithNullBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithHeaderApplicationOctetStreamContentTypeAndByteArrayBodyWithEmptyBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithHeaderApplicationOctetStreamContentTypeAndByteArrayBodyWithNonEmptyBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithHeaderApplicationOctetStreamContentTypeAndByteArrayBodyWithNullBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithHeaderApplicationOctetStreamContentTypeAndStringBodyWithEmptyBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithHeaderApplicationOctetStreamContentTypeAndStringBodyWithNonEmptyBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithHeaderApplicationOctetStreamContentTypeAndStringBodyWithNullBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithNoContentTypeAndByteArrayBodyWithEmptyBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithNoContentTypeAndByteArrayBodyWithNonEmptyBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithNoContentTypeAndByteArrayBodyWithNullBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithNoContentTypeAndStringBodyWithEmptyBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithNoContentTypeAndStringBodyWithNonEmptyBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service19PutWithNoContentTypeAndStringBodyWithNullBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service20GetBytes100BodyAndHeaders() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service20GetBytes100OnlyHeaders() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service20GetBytesOnlyHeaders() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service20GetBytesOnlyStatus() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service20GetResponseBody() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service20GetVoidResponse() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service20PutBodyAndHeaders() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service20PutOnlyHeaders() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service21GetBytes100() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service22GetBytes() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service23GetBytes() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- service24Put() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- setClassName(String) - Method in class com.azure.android.core.test.models.NetworkCallError
-
Sets the name of the class of the throwable.
- setErrorMessage(String) - Method in class com.azure.android.core.test.models.NetworkCallError
-
Sets the error message of the class of the throwable.
- setException(NetworkCallError) - Method in class com.azure.android.core.test.models.NetworkCallRecord
-
Sets the throwable thrown during evaluation of the network call.
- setHeaders(Map<String, String>) - Method in class com.azure.android.core.test.models.NetworkCallRecord
-
Sets the HTTP headers for the network call.
- setMethod(String) - Method in class com.azure.android.core.test.models.NetworkCallRecord
-
Sets the HTTP method for with this network call
- setResponse(Map<String, String>) - Method in class com.azure.android.core.test.models.NetworkCallRecord
-
Sets the contents of the HTTP response as a map of its HTTP headers and response body.
- setThrowable(Throwable) - Method in class com.azure.android.core.test.models.NetworkCallError
-
Sets the throwable that was thrown during a network call.
- setupClass() - Static method in class com.azure.android.core.test.TestBase
-
Before tests are executed, determines the test mode by reading the
TestBase.AZURE_TEST_MODEenvironment variable. - setupTest(TestInfo) - Method in class com.azure.android.core.test.TestBase
-
Sets-up the
TestBase.testResourceNamerandTestBase.interceptorManagerbefore each test case is run. - setUri(String) - Method in class com.azure.android.core.test.models.NetworkCallRecord
-
Sets the URL for this network call.
- shouldClientBeTested(HttpClient) - Static method in class com.azure.android.core.test.TestBase
-
Returns whether the given http clients match the rules of test framework.
- SignedIdentifierInner - Class in com.azure.android.core.test.implementation.entities
-
signed identifier.
- SignedIdentifierInner() - Constructor for class com.azure.android.core.test.implementation.entities.SignedIdentifierInner
- signedIdentifiers() - Method in class com.azure.android.core.test.implementation.entities.SignedIdentifiersWrapper
-
Get the SignedIdentifiers value.
- SignedIdentifiersWrapper - Class in com.azure.android.core.test.implementation.entities
- SignedIdentifiersWrapper(List<SignedIdentifierInner>) - Constructor for class com.azure.android.core.test.implementation.entities.SignedIdentifiersWrapper
-
Creates a wrapper for
signedIdentifiers. - simpleDownloadResponseTest() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- simpleDownloadStreamResponseTest() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- skipInPlayback() - Method in annotation type com.azure.android.core.test.annotation.DoNotRecord
-
Returns whether the test will be ignored during a
playbacktest run. - sleepIfRunningAgainstService(long) - Method in class com.azure.android.core.test.TestBase
-
Sleeps the test for the given amount of milliseconds if
TestModeisn'tTestMode.PLAYBACK. - Slide - Class in com.azure.android.core.test.implementation.entities
- Slide() - Constructor for class com.azure.android.core.test.implementation.entities.Slide
- slides() - Method in class com.azure.android.core.test.implementation.entities.Slideshow
-
Gets the slides in the slideshow.
- Slideshow - Class in com.azure.android.core.test.implementation.entities
- Slideshow() - Constructor for class com.azure.android.core.test.implementation.entities.Slideshow
- SMALL - com.azure.android.core.test.implementation.entities.HttpBinFormDataJSON.PizzaSize
- start() - Method in class com.azure.android.core.test.implementation.entities.AccessPolicy
-
Get the start value.
- syncVoidHeadRequest() - Method in class com.azure.android.core.test.implementation.RestProxyTests
T
- teardownTest(TestInfo) - Method in class com.azure.android.core.test.TestBase
-
Disposes of
InterceptorManagerand its inheriting class' resources. - TestBase - Class in com.azure.android.core.test
-
Base class for running live and playback tests using
InterceptorManager. - TestBase() - Constructor for class com.azure.android.core.test.TestBase
- testContextManager - Variable in class com.azure.android.core.test.TestBase
- TestContextManager - Class in com.azure.android.core.test
-
This class handles managing context about a test, such as custom testing annotations and verifying whether the test is capable of running.
- TestContextManager(Method, URL, TestMode) - Constructor for class com.azure.android.core.test.TestContextManager
-
Constructs a
TestContextManagerbased on the test method. - TestMode - Enum in com.azure.android.core.test
-
The possible testing modes.
- testResourceNamer - Variable in class com.azure.android.core.test.TestBase
- TestResourceNamer - Class in com.azure.android.core.test.utils
-
Provides random string names.
- TestResourceNamer(TestContextManager, RecordedData) - Constructor for class com.azure.android.core.test.utils.TestResourceNamer
-
Constructor of TestResourceNamer
- TestResourceNamer(String, TestMode, RecordedData) - Constructor for class com.azure.android.core.test.utils.TestResourceNamer
-
Deprecated.Use
TestResourceNamer(TestContextManager, RecordedData)instead. - title() - Method in class com.azure.android.core.test.implementation.entities.Slide
-
Gets the slide title.
- title() - Method in class com.azure.android.core.test.implementation.entities.Slideshow
-
Gets the title of the slideshow.
- toppings() - Method in class com.azure.android.core.test.implementation.entities.HttpBinFormDataJSON.Form
- toppings(List<String>) - Method in class com.azure.android.core.test.implementation.entities.HttpBinFormDataJSON.Form
- toString() - Method in class android.util.Pair
- type() - Method in class com.azure.android.core.test.implementation.entities.Slide
-
Gets the type of slide.
U
- unexpectedHTTPOK() - Method in class com.azure.android.core.test.implementation.RestProxyTests
- url() - Method in class com.azure.android.core.test.implementation.entities.HttpBinFormDataJSON
- url() - Method in class com.azure.android.core.test.implementation.entities.HttpBinJSON
-
Gets the URL associated with this request.
- url(String) - Method in class com.azure.android.core.test.implementation.entities.HttpBinFormDataJSON
- url(String) - Method in class com.azure.android.core.test.implementation.entities.HttpBinJSON
-
Sets the URL associated with this request.
- utf16BeBomResponse() - Method in class com.azure.android.core.test.http.HttpClientTests
-
Tests that a response with a byte order mark encodes using the specified charset.
- utf16LeBomResponse() - Method in class com.azure.android.core.test.http.HttpClientTests
-
Tests that a response with a byte order mark encodes using the specified charset.
- utf32BeBomResponse() - Method in class com.azure.android.core.test.http.HttpClientTests
-
Tests that a response with a byte order mark encodes using the specified charset.
- utf32LeBomResponse() - Method in class com.azure.android.core.test.http.HttpClientTests
-
Tests that a response with a byte order mark encodes using the specified charset.
- utf8BomResponse() - Method in class com.azure.android.core.test.http.HttpClientTests
-
Tests that a response with a byte order mark encodes using the specified charset.
V
- v(String, String) - Static method in class android.util.Log
-
Send a
Log.VERBOSElog message. - v(String, String, Throwable) - Static method in class android.util.Log
-
Send a
Log.VERBOSElog message and log the exception. - valueOf(String) - Static method in enum com.azure.android.core.test.implementation.entities.HttpBinFormDataJSON.PizzaSize
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum com.azure.android.core.test.TestMode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum com.azure.android.core.test.implementation.entities.HttpBinFormDataJSON.PizzaSize
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum com.azure.android.core.test.TestMode
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VERBOSE - Static variable in class android.util.Log
-
Priority constant for the println method; use Log.v.
- via() - Method in class com.azure.android.core.test.implementation.entities.HttpBinHeaders
-
Gets any proxy information.
- via(String) - Method in class com.azure.android.core.test.implementation.entities.HttpBinHeaders
-
Sets any proxy information.
W
- w(String, String) - Static method in class android.util.Log
-
Send a
Log.WARNlog message. - w(String, String, Throwable) - Static method in class android.util.Log
-
Send a
Log.WARNlog message and log the exception. - w(String, Throwable) - Static method in class android.util.Log
-
Send a
Log.WARNlog message and log the exception. - WARN - Static variable in class android.util.Log
-
Priority constant for the println method; use Log.w.
- withAccessPolicy(AccessPolicy) - Method in class com.azure.android.core.test.implementation.entities.SignedIdentifierInner
-
Set the accessPolicy value.
- withExpiry(OffsetDateTime) - Method in class com.azure.android.core.test.implementation.entities.AccessPolicy
-
Set the expiry value.
- withId(String) - Method in class com.azure.android.core.test.implementation.entities.SignedIdentifierInner
-
Set the id value.
- withPermission(String) - Method in class com.azure.android.core.test.implementation.entities.AccessPolicy
-
Set the permission value.
- withStart(OffsetDateTime) - Method in class com.azure.android.core.test.implementation.entities.AccessPolicy
-
Set the start value.
X
- xProcessedTime() - Method in class com.azure.android.core.test.implementation.entities.HttpBinHeaders
-
Gets the time it took to process this request.
All Classes All Packages