Question Detail

Google Releases Android Testing Support Library 1.0 Ahead of Android O

6 years ago Views 1589 Visit Post Reply

To commence the week, Google declared what is likely the final Developer review refresh for Android O. We say likely in light of the fact that there aren't any extra updates arranged, however, Google could wind up revealing another on the off chance that they have to test something before the last build. While very little has changed from DP3 (other than the evacuation of the greater part of the known issues from DP3), they announced that another variant of Android Testing Support Library was being made accessible too. 

Adaptation 1.0 of the Android Testing Support Library is portrayed as a noteworthy refresh to the stage's current trying APIs. Not exclusively are we getting various bug settles and enhanced dependability/execution, however, Google is likewise conveying some new testing API to the table with this refresh. Some of these elements, such as Multiprocess Espresso and the Android Test Orchestrator, were discussed at individual sessions back at Google I/O prior this year. 

With this refresh, we get a refresh to Espresso that conveys it up to rendition 3.0.0. Multiprocess Espresso is another element for engineers that adds support for instrumenting tests outside of your application's default procedure. So you can test your application's UI communications that cross procedure limits all while having the capacity to maintain Espresso's synchronization ensures. Multiprocess Espresso matched with the new Idling Registry API lets you register lingering assets from any procedure inside your application code. 

The last huge expansion to Espresso is the expansion of all the more Idling Resources so you can spare time from writing your own custom arrangements. Two new ones are being included (IdlingThreadPoolExecutor and IdlingScheduledThreadPoolExecutor) with all the more coming soon. Some other new components in v1.0 of the Android Testing Support Library are some ProviderTestRule APIs, an approach to mimic a client conceding an authorization to your app, achieve test segregation altogether on the gadget with Android Test Orchestrator, and some new elements for AndroidJUnitRunner. 

Make sure to check the blog entry beneath for more nitty gritty depictions of these new testing highlights.


Thread Reply

Anonymous

- 6 years ago

Powers, and beyond accessibility


button

Allows you to quickly access from the navigation bar accessibility features, like magnification, and functionality within accessibility services, like Select to Speak.

Accessibility volume

Accessibility services can optimize the audio experience for users with disabilities.

Adaptive icons

Developers can now provide a full-bleed square shaped icon and OEMs will mask the icon to ensure intra-device consistency.

Ambient screen

Highlights the incoming notification with larger font, highlighted app name and immediate access to actions.


Background execution limits

More control over how apps run in the background for better overall system performance.

Background location limits

Limits the frequency of location updates in the background for better overall system health.

Deep color

Enables applications to render richer visual content with more vibrant colors and subtler gradients. Supports full color management which allows applications to render images in the format and quality they were intended.

Downloadable fonts

Applications no longer need to bundle custom fonts, which helps reduce their size.


Install unknown apps

Hostile downloader apps can't operate without permission; users now permit the installation of APKs per-source.

Integrated printing support

Compatible with all Mopria-certified printers, which make up 97% of printers sold worldwide.

Linkable files

API that allows you to share files across the Internet via web links.

Native C/C++ API for high-performance audio

API function for high-performance audio including Native C/C++ audio API.


Notification categories

More granular and consistent control over which notifications can appear and how intrusive they are.

Notification snoozing

Lets users hide notifications for a period of time, similar to Inbox snoozing.

Pointer capture

Pointer capture allows the app to capture all mouse input.

Project Treble

The biggest change to the foundations of Android to date: a modular architecture that makes it easier and faster for hardware makers to deliver Android updates.


TextView autosizing

Developers can now let the size of their text expand or contract automatically based on the size and characteristics of the TextView, making it much easier to optimize the text size on different screens or with dynamic content.

Tooltips

Support for tooltips (small popup windows with descriptive text) for views and menu items.

Wi-Fi Assistant

Auto-connects you to high quality open WiFi and secures your connection with a VPN back to Google.