b4eff1600a5731105aff6a3063b583a906e7601a |
24-Oct-2016 |
Teng-Hui Zhu <ztenghui@google.com> |
View.SetLayoutDirection didn't update the drawable until API 19 So we only check the mirrored version after API 19 Test: this test on API 17 / 18 emulator, API 19 N4 fix:32372106 Change-Id: I2c8cf91c7d6d9cbc5a189b565b1c9ab2370d6358
ndroid/support/v7/app/AppCompatVectorDrawableIntegrationTest.java
|
0327a65adda49ea1f39440a3127836b41ff43084 |
07-Oct-2016 |
Teng-Hui Zhu <ztenghui@google.com> |
Properly setup autoMirror in VDC and AVDC. Add a new test to cover it for API >= 17 Test: added new test, ran on GB Nexus S, KK Nexus 4 and Nougat Nexus 6p b/31951281 Change-Id: I4d76e2ad81abae0959cad6ee2d6251bef426acaf
ndroid/support/v7/app/AppCompatVectorDrawableIntegrationActivity.java
ndroid/support/v7/app/AppCompatVectorDrawableIntegrationTest.java
|
98fb75eaf45370ead657c78e03d5bf7b83f67a6b |
26-Aug-2016 |
Chris Banes <chrisbanes@google.com> |
Fix night mode for config-based color upconversions This works around an issue in the platform where night-configured color resources which are converted to ColorDrawables are not purged from the Resources cache. Fixed by manually forcing the resources instance to purge its caches when the night mode changes. BUG: 30132023 Change-Id: I68128bd752d7c8451940631df336154246e921ae
ndroid/support/v7/app/NightModeActivity.java
ndroid/support/v7/app/NightModeTestCase.java
ndroid/support/v7/testutils/TestUtils.java
|
85ac705f8f1e9f1a6b4b7bb2bda72ad13eb303e4 |
07-Sep-2016 |
Yuichi Araki <yaraki@google.com> |
Remove unnecessary requestFocus DrawerLayout restricts focus to its drawer items when the drawer is open. There is no need to forcibly request focus on the drawer. This fixes undesirable scrolling of RecyclerView when the drawer is closed. Bug: 31041758 Change-Id: I96fbce77e3853dcac6527cd759d1994b7a817ea4
ndroid/support/v7/app/DrawerLayoutTest.java
|
aa1fef9a2f7268f5cb1e68ce2dde4b8fd6404963 |
17-Aug-2016 |
Aurimas Liutikas <aurimas@google.com> |
Merge "Fixing a couple of keyboard shortcuts tests." into nyc-mr1-dev
|
fad2335f169d36b7b6f2c0ec8ddfe6c0094c2072 |
16-Aug-2016 |
Aurimas Liutikas <aurimas@google.com> |
Annotate more support lib tests with size annotations. Turns out we were not running these tests because they are not annotated with @SmallTest, @MediumTest, or @LargeTest. Bug: 30892341 Change-Id: I4ed870d4c1a456c1fcd446243179c005653a041d
ndroid/support/v7/app/DialogTestCase.java
ndroid/support/v7/widget/AppCompatImageViewTest.java
ndroid/support/v7/widget/TintResourcesTest.java
|
9a7543438e16c1e20c398fddc02fb48c30f1e5e2 |
15-Aug-2016 |
Aurimas Liutikas <aurimas@google.com> |
Fixing a couple of keyboard shortcuts tests. - KeyboardShortcutsTestCaseWithWindowDecor#testAccessActionBar was failing as it did not have a toolbar or EditText. - KeyboardShortcutsTestCaseWithToolbar#testAccessActionBar was failing in landscape because of ime fullscreen UI and assuming focus does not move to toolbar with DPAD-UP (removed assertion). Bug: 29748261 Change-Id: I4262573337baed0d95f4af054e350fff9e19c567
ndroid/support/v7/app/BaseKeyboardShortcutsTestCase.java
ndroid/support/v7/app/KeyboardShortcutsTestCaseWithToolbar.java
|
d7d01383deb3aac00ea54aab340cb43ff1ba3984 |
15-Aug-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Fix failing PopupMenuTest to account for popup top padding. Bug: 30818204 Change-Id: I89b2d2939f9b83115537780fb51d2f0bfb179dca
ndroid/support/v7/widget/PopupMenuTest.java
|
545617cf6df96f5da817709d7a0854befbef0289 |
25-Jul-2016 |
Aurimas Liutikas <aurimas@google.com> |
Fix PopupMenuTest#testBasicContent in landscape. am: 70058e4bc3 Change-Id: I0263c059a7d6a7a1e1793c47fe0973e15f903a30
|
88a4195a63cfa5494d63c51c75d19aca8bc7c11c |
20-Jul-2016 |
Aurimas Liutikas <aurimas@google.com> |
Fix AppCompatBaseViewTest to work in landscape mode. Certain view might not be visible due to the height of the screen. It was failing AppCompatTintableViewActions#setEnabled which does not actually require views to be on screen anyway. Bug: 30198627 Change-Id: I023cbe559fbbb4958c57a8b741ab6bb877a39424
ndroid/support/v7/testutils/AppCompatTintableViewActions.java
|
70058e4bc399c316f1c7197b694ee54d0001b985 |
20-Jul-2016 |
Aurimas Liutikas <aurimas@google.com> |
Fix PopupMenuTest#testBasicContent in landscape. Added onData(...) calls to scroll PopupMenu items into view before checking their visibility. Bug: 30217946 Change-Id: I387066823110c71adf461e445caca027146dc968
ndroid/support/v7/widget/PopupMenuTest.java
|
d377289e3c691310fcb21512da91befbbdceeb45 |
19-Jul-2016 |
Aurimas Liutikas <aurimas@google.com> |
Fix ListPopupWindowTest#testDismissalViaTouch In certain screen configurations (landscape mode) there might not be enough space to tap below the popup. Instead tap above to achieve the same effect. Bug: 30198627 Change-Id: I6e39356ce4f515ed8307ac456bf708b37976febf
ndroid/support/v7/widget/ListPopupWindowTest.java
|
12acd8f6d6926aaa5cc16543386e0aeee64716ed |
30-Jun-2016 |
Chris Banes <chrisbanes@google.com> |
Make sure we recreate the Activity for night changes Also added a delayed runnable which will automatically update if we go over a time change while an Activity is open. BUG: 29872805 Change-Id: I2581efebe641d94e9e35c6ce63199ddcee40ee42
ndroid/support/v7/app/NightModeActivity.java
ndroid/support/v7/app/NightModeTestCase.java
|
261ba392bba9ff4018ff7dd53091f71549bf56ad |
28-Jun-2016 |
Chris Banes <chrisbanes@google.com> |
Fix testBackCollapsesSearchView tests Caused by a timing issue with the IME on N. Fixed by moving to an Espresso based test. BUG: 29570777 Change-Id: I80a8e62d04392399e17134a411f7ff66c1d02f2a
ndroid/support/v7/app/BaseKeyEventsTestCase.java
ndroid/support/v7/testutils/BaseTestActivity.java
|
68f91b88db86d1352ac9d88a0fc602a9c8e51d4f |
27-Jun-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Fix TintContextWrapper not always handling vector assets"
|
4c99f0e29b0926d8e5de44b7e3980d47f052f04c |
24-Jun-2016 |
Chris Banes <chrisbanes@google.com> |
Add AppCompatResources.getDrawable() This CL adds the new public method, which just proxies to AppCompatDrawableManager for now. Also moved all internal calls of AppCompatDrawableManager.getDrawable() to the new method. Looks like a huge commit, but it's mostly just moving things to use the new method. BUG: 29564497 Change-Id: Ie1603cc83d58333d70b90aefcfaf21fd367081ae
ndroid/support/v7/res/content/AppCompatResourcesTestCase.java
ndroid/support/v7/testutils/TestUtils.java
|
7ddd1ffee15f045e17a1da78808be97b64772e4b |
23-Jun-2016 |
Chris Banes <chrisbanes@google.com> |
Fix TintContextWrapper not always handling vector assets Caused by a race condition in the theme and resources instantiation logic. Fixed by moving all instantation to the constructor. BUG: 29600970 Change-Id: I2f7da8b60a4feec8f04230fb4559a0b52495b723
ndroid/support/v7/app/LayoutInflaterFactoryTestCase.java
ndroid/support/v7/custom/ContextWrapperFrameLayout.java
|
dd23fbd1ef89f0debb29072153fab19ebf22fe50 |
22-Jun-2016 |
Aurimas Liutikas <aurimas@google.com> |
Fix AppCompatImageViewTest test. Check drawable state using a matcher that calls it from the UI thread. This is needed because assertAllPixelsOfColor changes the bounds of the drawable that can only be done from the UI thread. Bug: 29550691 Change-Id: I0d39ec9fea66e60a8e793991b341816b13d8f9f1
ndroid/support/v7/widget/AppCompatImageViewTest.java
|
6b4229ad3e9b38a9521873397828e0bd7ce1a326 |
22-Jun-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "LayoutInflaterFactoryTestCase fixes"
|
58641eb8513b7181a73a9db3ea7b68ba10d1c15e |
22-Jun-2016 |
Chris Banes <chrisbanes@google.com> |
Fix AppCompat window insets tests Caused by us not actually triggering something to dispatch insets. BUG: 29551731 Change-Id: I661920eb90fde3fe73e9480fe8db604265ff5fb3
ndroid/support/v7/app/BaseBasicsTestCase.java
ndroid/support/v7/testutils/TestUtilsActions.java
|
a8d36d764e14a111c0009fb54e1068e88bf3b880 |
22-Jun-2016 |
Chris Banes <chrisbanes@google.com> |
LayoutInflaterFactoryTestCase fixes BUG: 29551700 BUG: 29551487 Change-Id: Ic48c31997d444bf242d2b4a22dfeb3b42e7eda8c
ndroid/support/v7/app/LayoutInflaterFactoryTestCase.java
|
ef98a859f3bee881ca0ba11a927493557a87389c |
24-May-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Fix AlertDialog ignoring the provided theme" into nyc-dev am: 53fb1392f4 am: 83e81b8f73 am: 8250f16cb3 * commit '8250f16cb3fe43951e545cf702a056cf35769c67': Fix AlertDialog ignoring the provided theme Change-Id: I72cdb7f05fc61fb25a6102c020fca68a5d6cca34
|
512bb28a39aed8b154b60f3fc1752aa96f7f1125 |
23-May-2016 |
Chris Banes <chrisbanes@google.com> |
Fix AlertDialog ignoring the provided theme Caused by us not being able to use the new 3-arg Dialog constructor. Fixed by going back to the old way of always re-setting the theme. BUG: 28851195 Change-Id: I94b068f2c38a3c98086a73ff3392d53b6f5dfff4
ndroid/support/v7/app/AlertDialogTest.java
|
0bf773fd51175202e5ce115f08491855a65e1e3f |
05-May-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Fix srcCompat set ordering issue" into nyc-dev am: 673521e1e5 am: fa12fe02af am: 30b205acea * commit '30b205acea76d05322005a7ad0d0d71f27c13208': Fix srcCompat set ordering issue Change-Id: I4fb0db481ffc33c0e78a063f1cc5530aa92a6cac
|
e977fb30d84d42ac77198e6f700404f34e9dbbc0 |
05-May-2016 |
Chris Banes <chrisbanes@google.com> |
Fix srcCompat set ordering issue If srcCompat is set, it will always overwrite android:src. This isn't what most developers expect though so we'll flip the ordering so that android:src overwrites srcCompat. This allows developers to override AppCompat styles which use srcCompat, with drawables set with android:src. BUG: 28613558 Change-Id: I927123a06b2ce4d762920564c9e545f6ede48734
ndroid/support/v7/widget/AppCompatImageViewTest.java
|
e4d2246959c6c71784d9a557d11e2134f7bbc56d |
26-Apr-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "ActionMode fixes found in testing" into nyc-dev am: 409da25 am: 133d344 am: e42641d * commit 'e42641d2d4542d1ea9d3cf4eb5114fd32bd7ced1': ActionMode fixes found in testing Change-Id: Ife36dfcaef65957904aa32a246b5afb97bdcf1e6
|
bfc9bd50c5c7e6874dc6f32a5d81620398a5c1e5 |
26-Apr-2016 |
Chris Banes <chrisbanes@google.com> |
ActionMode fixes found in testing - Fix onSupportActionModeFinished() being called twice. Caused by double wrapping the callback which means that each call is called twice. - Fix onPrepareActionMode not being called. Caused by setting the current action mode too late. BUG: 28378961 BUG: 28392319 Change-Id: I7e41f1396c7230a37880c8c812d4622e969e032b
ndroid/support/v7/app/BaseBasicsTestCase.java
ndroid/support/v7/app/BasicsTestCaseWithToolbar.java
ndroid/support/v7/app/BasicsTestCaseWithWindowDecor.java
ndroid/support/v7/testutils/BaseTestActivity.java
|
6ded1dd0a8837c5823986843ae2cc83df5ff1c24 |
23-Apr-2016 |
Adam Powell <adamp@google.com> |
Merge "Remove dependencies on Activity from common Fragment superclasses" into nyc-dev am: 9fa2191 am: 08cb206 am: 4dfa240 * commit '4dfa24017f71f594a35bcf5dccfd4bc9803f0bc5': Remove dependencies on Activity from common Fragment superclasses Change-Id: Ia1c0b7e8ec9d737a85cb3119e400b02c52e66ff0
|
05c8a189672f5d883555e068549c0a84eeeff4aa |
22-Apr-2016 |
Adam Powell <adamp@google.com> |
Remove dependencies on Activity from common Fragment superclasses Support lib edition Allow common Fragments to be used in non-Activity hosts. Bug 28337394 Change-Id: Ia06b560b2863d995a6b67dafac770a4c25ff4ab9
ndroid/support/v7/app/DialogTestCase.java
|
27d62e750b1363e416d15adff325fd320542755e |
22-Apr-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Align all-caps test on AppCompatButton with AppCompatTextView logic. Also tweak the comments to reflect the new logic. Change-Id: I8d6acb608258d071f58051067459837e21c6b90e
ndroid/support/v7/widget/AppCompatButtonTest.java
ndroid/support/v7/widget/AppCompatTextViewTest.java
|
3ab41277a085b829e15eca69442cfe45cae58a8c |
22-Apr-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Update AppCompatSpinner popup color tests * Use android:colorBackground instead of android:background for default popup theming * Only query the center pixel of the combined background to eliminate need for checking rounded corners and drop shadow * Also mark the entire buildSrc to be ignored by Git Change-Id: Ida519ddb4091e5263f94b22b6461b9bb56669875
ndroid/support/v7/testutils/TestUtils.java
ndroid/support/v7/testutils/TestUtilsMatchers.java
ndroid/support/v7/widget/AppCompatSpinnerTest.java
|
ee4afb511cf51d082e3226f442799a59725bdac2 |
07-Apr-2016 |
Aurimas Liutikas <aurimas@google.com> |
Add methods to open and close a Drawer in DrawerLayout without animation. Bug: 27611787 Change-Id: I250bd58cb9490eb0e44d1784c122c5b0ff374ac5
ndroid/support/v7/app/DrawerLayoutTest.java
ndroid/support/v7/testutils/DrawerLayoutActions.java
|
60cc94cdf2f9dfd10f2fe0b3fa0fa438d51df271 |
04-Apr-2016 |
Chris Banes <chrisbanes@google.com> |
Back out TintResources changes They were causing memory and configuration issues therefore we need to back it out. This will revert the functionality of being able to reference vector drawables from within resources, but it's a necessary cost. We still need TintResources, but it's now back to being a wrapper object which does not cause any issues. BUG: 27877272 BUG: 27808232 Change-Id: Iad401718e51da15fddbd7ff88e41743dca40ad04
ndroid/support/v7/widget/TintResourcesTest.java
|
39e275d4c81cd3470f5ed78fa147d214f70ee580 |
24-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
resolve merge conflicts of e07f24b to nyc-dev
|
9eee6ba8edef2ab70d99fbaea6349f29d28b8fb6 |
22-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Fix issues around setting text color In AppCompat, we now reset the text color if we detect a String reference. Since most platform styles declare a string referenced color in their text appearance, this means that the text appearance can override an explicit android:textColor on the view. Fixed by always resetting the text color on API < 23. BUG: 27784645 Change-Id: Ic5a2c7e1fb49da419bbfd3c6176c7a28c6eb4ac1
ndroid/support/v7/testutils/TestUtilsActions.java
ndroid/support/v7/widget/AppCompatTextViewTest.java
|
2a1d775c02ced0fb89c6056a0fa63a915d8543c1 |
22-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Revert a change wrt app:textAllCaps in text appearances If android:textAllCaps is also set in the text appearance, which can happen if it extends a platform style, we need to make sure that app:textAllCaps has the opportunity to override it. BUG: 27782941 Change-Id: I219f180e76a90de1715c0b855d16e34483ed4053
ndroid/support/v7/widget/AppCompatTextViewTest.java
|
e9507e4f5f36a0032dfe881410869f38bd2edb2c |
17-Mar-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Test coverage for drag-to-open listener in ListPopupWindow Change-Id: I3ac83d021b9baec9539d1668d83e54cc32d90a8d
ndroid/support/v7/widget/ListPopupWindowTest.java
|
761b027b1f44363d66d855f31cf7e077441c7191 |
17-Mar-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Restore background color check. The fix for ViewCompat tinting in mnc-ub-dev required removing a check that was added in nyc-dev. That check was removed in ag/888740 in mnc-ub-dev. Now that it has merged into nyc-dev, we should remove it. Change-Id: Ifc0816a49fb8eca16077b81c528af9450876d872
ndroid/support/v7/widget/AppCompatBaseViewTest.java
|
80c7d05f409e568a440a6a379c937dd85324c3bb |
17-Mar-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Fix broken tests build. am: 833646c * commit '833646c4a64b35e255aaf4e85c2fee8bca4d6d96': Fix broken tests build.
|
833646c4a64b35e255aaf4e85c2fee8bca4d6d96 |
17-Mar-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Fix broken tests build. Change-Id: Ia8a0bd95b2a6a87cfadc93a37ce2622a6ff6c566
ndroid/support/v7/widget/AppCompatBaseViewTest.java
|
ba747ac60a883079492ac2594e462568df9fe438 |
17-Mar-2016 |
Kirill Grouchnikov <kirillg@google.com> |
resolve merge conflicts of cd5e42a to nyc-dev Change-Id: Ic81e161d4560a814e8bfba600a8cfd18bef147d6
|
cd5e42a478a6cb4592f87971b7eadd29b47b8007 |
15-Mar-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Work around incomplete tinting support on L devices. Background tinting implementation on L has a bug (fixed in L MR1 onwards) which results in tinting not working in some cases. Work around the bug by forcing state update on background drawable on L devices. Bug: 27674299 Change-Id: I40166c33a34c29bbfad43ca03d4897b52eb39f3b
ndroid/support/v7/testutils/AppCompatTintableViewActions.java
ndroid/support/v7/testutils/TestUtilsActions.java
ndroid/support/v7/widget/AppCompatBaseViewTest.java
|
47fbe49701a3b7b08cbbebf91eb692c37e877b93 |
09-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Add simple test for AppCompat's vector support" into nyc-dev
|
b2e154794fb0415e19150d0eb3d4c9a2c4684d20 |
03-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Add simple test for AppCompat's vector support BUG: 27454914
ndroid/support/v7/app/LayoutInflaterFactoryTestCase.java
|
c19888d785a8ae316c580086c7a8c3fb30f41870 |
04-Mar-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Don't crash on removing an unregistered drawer listener. Bug: 27493658 Change-Id: Iec0285476f208c810265b589ab310675c2c794cf (cherry picked from commit fb3ebd35681524b6f89446f39a0e95428c637eea)
ndroid/support/v7/app/DrawerDynamicLayoutTest.java
|
fb3ebd35681524b6f89446f39a0e95428c637eea |
04-Mar-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Don't crash on removing an unregistered drawer listener. Bug: 27493658 Change-Id: Iec0285476f208c810265b589ab310675c2c794cf
ndroid/support/v7/app/DrawerDynamicLayoutTest.java
|
708522730268f27e2db46d12561c5658593d7883 |
03-Mar-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Tinting / all-caps tests for AppCompatButton class Change-Id: I7a610a3becf9ca21f15de686f9d8e11d4122b622
ndroid/support/v7/testutils/AppCompatTextViewActions.java
ndroid/support/v7/testutils/TestUtilsActions.java
ndroid/support/v7/widget/AppCompatButtonActivity.java
ndroid/support/v7/widget/AppCompatButtonTest.java
ndroid/support/v7/widget/AppCompatTextViewTest.java
|
1d6e3840486930e276d142861afb6c7e72d5ce72 |
02-Mar-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Tinting / popup theming tests for AppCompatSpinner. Change-Id: I44268bc9a3d7f946c97cf0af027464b3ecbf3c92
ndroid/support/v7/testutils/TestUtils.java
ndroid/support/v7/testutils/TestUtilsMatchers.java
ndroid/support/v7/widget/AppCompatBaseViewTest.java
ndroid/support/v7/widget/AppCompatImageViewTest.java
ndroid/support/v7/widget/AppCompatSpinnerActivity.java
ndroid/support/v7/widget/AppCompatSpinnerTest.java
ndroid/support/v7/widget/AppCompatTextViewTest.java
|
53aa3c2ad835155dcfeb6d6f3361dd581ee3e56f |
02-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Revert "Make TintResources inherit from ResourcesWrapper"" into mnc-ub-dev am: 4c022451f1 * commit '4c022451f18cc1a06f0d070da60814357ffa5902': Revert "Make TintResources inherit from ResourcesWrapper"
|
4c022451f18cc1a06f0d070da60814357ffa5902 |
02-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Revert "Make TintResources inherit from ResourcesWrapper"" into mnc-ub-dev
|
717b628928c9f5cf22a783d1b9719d88eb0d993a |
02-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Revert "Make TintResources inherit from ResourcesWrapper" BUG: 27403642 This reverts commit 2e39b329595dd77df6ad8ba7272879cd2a99012a. Change-Id: I4747a1b5b0253cf4232bd3a21f0b1a2913817733
ndroid/support/v7/widget/TintResourcesTest.java
|
464d8397d0d19c4432eba2f5c1cc02b59a34b314 |
01-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
resolve merge conflicts of d07aba8c95 to nyc-dev Change-Id: Ieb661326b323d179b50a3eb4298464f00c4164b6
|
5a044fddba6ba7295599dddc2ff397925823efa8 |
01-Mar-2016 |
Chris Banes <chrisbanes@google.com> |
Make app:textAllCaps="false" override android:textAllCaps BUG: 27403186 Change-Id: Ia10394eb40c477c2f051478f7574e84a123d3691
ndroid/support/v7/widget/AppCompatTextViewTest.java
|
61cdffa5decbafb909e8d1bd0567746e638393e2 |
01-Mar-2016 |
Diego Perez <diegoperez@google.com> |
Merge "Make TintResources inherit from ResourcesWrapper" into mnc-ub-dev am: 994a654f14 * commit '994a654f14ced2a3242ae5c3d132fcdf392421bc': Make TintResources inherit from ResourcesWrapper
|
2e39b329595dd77df6ad8ba7272879cd2a99012a |
29-Feb-2016 |
Diego Perez <diegoperez@google.com> |
Make TintResources inherit from ResourcesWrapper BUG: 27403642 Change-Id: If24f4da29a2e622047763cfbe8af45fadeed8ba5
ndroid/support/v7/widget/TintResourcesTest.java
|
e3f831f7e879aee02f5bd6e265c4a670c0366208 |
22-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Fix fragments to android.R.id.content not be removable Caused by the way that AppCompat switches the content view for its own. It transplants any views already added to the window content view into its own, which works. Fragment though keeps a reference to its container view though, which is then incorrect. Fixed by making sure that any call to findViewById() installs AppCompat's sub-decor. Ensuring that any fragments added to a container via an ID, already have the sub-decor installed. BUG: 27286333 Change-Id: Ia1bfc4f69620b4dbbe5e4625b268f1a2d7789e3a (cherry picked from commit 8c3845ebb7e8198950510cd7a08bc8e66e2195fe)
ndroid/support/v7/app/FragmentContentIdActivity.java
ndroid/support/v7/app/FragmentContentIdTest.java
|
94940fe6cff4af4f084b8cb5692e0501e3fe7912 |
25-Feb-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Fix PopupMenuTest Recent refactoring changed the internal implementation details of the class name of the container that is used to show the popup content. Also in one of the tests (anchoring alignment) we no longer need to account for the cumulative ancestor padding. Bug: 27363875 Change-Id: Ia9c00a04f712e0279d296c22a49275fa9abd8815
ndroid/support/v7/widget/PopupMenuTest.java
|
8c3845ebb7e8198950510cd7a08bc8e66e2195fe |
22-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Fix fragments to android.R.id.content not be removable Caused by the way that AppCompat switches the content view for its own. It transplants any views already added to the window content view into its own, which works. Fragment though keeps a reference to its container view though, which is then incorrect. Fixed by making sure that any call to findViewById() installs AppCompat's sub-decor. Ensuring that any fragments added to a container via an ID, already have the sub-decor installed. BUG: 27286333 Change-Id: Ia1bfc4f69620b4dbbe5e4625b268f1a2d7789e3a
ndroid/support/v7/app/FragmentContentIdActivity.java
ndroid/support/v7/app/FragmentContentIdTest.java
|
80164058c98abaec2960102bfb65d0a9b74dbcd7 |
12-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Tint wrap all Views when running on < v21" into mnc-ub-dev am: 2aa5f24e18 * commit '2aa5f24e1840309c61b58d10e632e7115c5ea8c1': Tint wrap all Views when running on < v21
|
604c6317360c5f744cfebb7c23b243358aef58e0 |
12-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Tint wrap all Views when running on < v21 This allows vector resources to be automatically inflated when they used as a part of a DrawableContainer, on any view (currently it only works on AppCompat's own widgets). Also tidied up the themeing test to actually check theme values rather than relying on class checks of the Context. Change-Id: Ie9be91ddf8aa2853dafda5d9f9838cae02d3b783
ndroid/support/v7/app/LayoutInflaterFactoryTestCase.java
|
320463c1cf5f8e50cce340df195b60835fe23002 |
11-Feb-2016 |
Aurimas Liutikas <aurimas@google.com> |
Set activity enter and exit transitions to be no animation. This should speed up our tests as we spend a significant amount of time opening and closing activities. Bug: 27116907 Change-Id: I1bdb0530100abe8c4e8ae217e873b35e4332e79d
ndroid/support/v7/testutils/BaseTestActivity.java
|
8d17a67a43232becf301146b6a907ba07ecc6c09 |
05-Feb-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Tests for locking / unlocking drawer am: df1317cf00 am: d6b5f06bbf * commit 'd6b5f06bbf6195b43b973295b766498ed93543cd': Tests for locking / unlocking drawer
|
df1317cf003b4b6c16f1657018c91519d279f13b |
05-Feb-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Tests for locking / unlocking drawer Change-Id: I0c95f57b0abe5cdc9cb3107baf0adeaea91b2cd1
ndroid/support/v7/app/DrawerLayoutTest.java
ndroid/support/v7/testutils/DrawerLayoutActions.java
|
e5982e6ae9bfecbc4c75b91eb3f5ec018e13125f |
05-Feb-2016 |
Chris Banes <chrisbanes@google.com> |
Fix AppCompat tests not compiling Change-Id: Id43afdb797279a027e6bd5d6a03e85fc3b5f637c
ndroid/support/v7/app/BaseKeyboardShortcutsTestCase.java
ndroid/support/v7/app/KeyboardShortcutsTestCaseWithToolbar.java
|
084c82b9d5f04ed1777540d745a6ecabadd59173 |
04-Feb-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Use mocked Handler for AlertDialog testing. am: edfcdcf219 am: 1bbb90a1ba * commit '1bbb90a1ba50d67e9c208bbbf6e7fe966e0619e1': Use mocked Handler for AlertDialog testing.
|
edfcdcf21924eae3c7c2999ec22c0d9dc84a6cdd |
04-Feb-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Use mocked Handler for AlertDialog testing. Bug: 26926971 Change-Id: I16e3b28cce414e3b8a33e9af172e21afe7dd66cf
ndroid/support/v7/app/AlertDialogTest.java
|
586b96b02ff2b6efb4df62f7588c98d65ab0bfb3 |
03-Feb-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Merge "Convert tests with listeners to use Mockito." into mnc-ub-dev am: 838e581a90 am: 9bb5629eb0 * commit '9bb5629eb0614920ad6afa48c756e441912bf47b': Convert tests with listeners to use Mockito.
|
31c1690d6ed7ebec75bd9f6c0c74ac29528bd2f8 |
02-Feb-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Convert tests with listeners to use Mockito. Bug: 26926971 Change-Id: I776102521df9f6244be8e039087fb82fcf2590cd
ndroid/support/v7/app/AlertDialogCursorTest.java
ndroid/support/v7/app/AlertDialogTest.java
ndroid/support/v7/widget/ListPopupWindowTest.java
ndroid/support/v7/widget/PopupMenuTest.java
|
1ad1c598009677343e6109209d60cd2dea127407 |
02-Feb-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Merge "First pass for testing DrawerLayout callback logic." into mnc-ub-dev am: 014ca4b2e4 am: 7b92544072 * commit '7b92544072335848fc7b6c07a98a5e32d56db817': First pass for testing DrawerLayout callback logic.
|
21f78eb90b3217aa5cf69c3ffd359506468b55f4 |
01-Feb-2016 |
Kirill Grouchnikov <kirillg@google.com> |
First pass for testing DrawerLayout callback logic. Use Mockito-powered listeners that track calls to its methods and verify that expected methods have been called with consistent values. Change-Id: Ief6107929f9945da32ce48f065a9e3c3b1a39f31
ndroid/support/v7/app/DrawerLayoutActions.java
ndroid/support/v7/app/DrawerLayoutDoubleTest.java
ndroid/support/v7/app/DrawerLayoutTest.java
ndroid/support/v7/testutils/DrawerLayoutActions.java
ndroid/support/v7/testutils/TestUtilsMatchers.java
|
461eb9e9ce2c929d8e6ea8cb8774337f53cf8a53 |
01-Feb-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Convert AlertDialog tests to the new world am: 80e9962beb am: ebd7c2d960 * commit 'ebd7c2d9603c127751b891a22e8d36d237105bc8': Convert AlertDialog tests to the new world
|
80e9962bebc88b43b59807f36b4e43fa2fc91c8a |
01-Feb-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Convert AlertDialog tests to the new world To use JUnit4 + test rules Change-Id: If43bb665303cdc860e20b0cc79cd87bbf3edf35c
ndroid/support/v7/app/AlertDialogCursorTest.java
ndroid/support/v7/app/AlertDialogTest.java
|
0d1db30aa424955920c187e2c54b512e5b1300b1 |
29-Jan-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Merge "Remove flakiness from DrawerLayout tests." into mnc-ub-dev am: b569d84555 am: 72729acfe0 * commit '72729acfe08a38c9d94a75943b7fba66797cd425': Remove flakiness from DrawerLayout tests.
|
3eb01e183e6eef7610881c8b9c0914afbe23b442 |
29-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Remove flakiness from DrawerLayout tests. Expose a new pair of APIs on DrawerLayout that allows registering multiple listeners. Wrap API / swipe actions with a custom action that uses Espresso's idling resource functionality to wait until the DrawerLayout transitions into STATE_IDLE state. Also add custom measure logic to our test activity to that the drawer is not too wide on smaller screens. Otherwise a swipe on an already opened drawer is treated as a click on one of the items which is then results in closing the drawer. Bug: 26003516 Bug: 26160710 Change-Id: Ifa7b99ad396636cedb4429e3e3204ca521188f70
ndroid/support/v7/app/DrawerLayoutActions.java
ndroid/support/v7/app/DrawerLayoutActivity.java
ndroid/support/v7/app/DrawerLayoutTest.java
|
80ced2596fddcba178d3dfc10af27b4a5a053258 |
26-Jan-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Merge "Convert AppCompat*View tests to activity rules." into mnc-ub-dev am: d5a6f1a166 am: 0cc95adccd * commit '0cc95adccda150cf54c9537fca392e12d6d6966f': Convert AppCompat*View tests to activity rules.
|
d5a6f1a166496d01666db3d012909bd88d6e9940 |
26-Jan-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Merge "Convert AppCompat*View tests to activity rules." into mnc-ub-dev
|
72f7ca1ea8354f1f9709c5b028b98e0a3ee2f532 |
26-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Fix crash on Explay Fresh 4.2.2 devices, caused by bug in the ROM" am: d65ba39101 am: 7afe35edff * commit '7afe35edff4b259d4110a239f24c14946e79b423': Fix crash on Explay Fresh 4.2.2 devices, caused by bug in the ROM
|
0266170ba1eb3c57cb16acde4c3f6ddf69bfd37a |
25-Jan-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Migrate tests away from deprecated methods am: eb673c3e06 am: 94465903f5 * commit '94465903f554f605adae3df5695f68d480a93a0c': Migrate tests away from deprecated methods
|
4f219f0318951f9e7c93ac92ac6eb52889cef223 |
25-Jan-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Convert AppCompat*View tests to activity rules. Change-Id: Ia06a8c5836dbe114a725ab56f89b1929be793aca
ndroid/support/v7/widget/AppCompatBaseViewTest.java
ndroid/support/v7/widget/AppCompatImageViewTest.java
ndroid/support/v7/widget/AppCompatTextViewTest.java
|
eb673c3e06976775075d489cdd53f65208e5b551 |
25-Jan-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Migrate tests away from deprecated methods Change-Id: I06044741e6495e633ffd24ff45e4d39865ec8ef1
ndroid/support/v7/app/DrawerDynamicLayoutTest.java
ndroid/support/v7/widget/ListPopupWindowTest.java
ndroid/support/v7/widget/PopupMenuTest.java
|
d1050505eb460dc53c48bdae3e890af980c11b2d |
25-Jan-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Merge "More tests for DrawerLayout." into mnc-ub-dev am: 8b7529de00 am: 9a330384c2 * commit '9a330384c2099114a235fd4f888d94ff771e5256': More tests for DrawerLayout.
|
431713be0958fd0f4d878f5f25755575191fb8ba |
20-Jan-2016 |
Kirill Grouchnikov <kirillg@google.com> |
More tests for DrawerLayout. Add tests that cover the internal DrawerLayout.isDrawerView via a variety of API calls - opening / closing a drawer, checking open state, setting lock mode and querying the lock mode. Also add the same isDrawerView check to getDrawerLockMode as we have in isDrawerOpen, isDrawerVisible and various setters that get View as the parameter. Finally, annotate all the existing DrawerLayout tests so that they can properly run on Sponge and simplify the inner layout of the drawer content. Bug: 26642831 Change-Id: Ia62b415eda39a2a6560b15cc0a55e6d227261a6c
ndroid/support/v7/app/DrawerDynamicLayoutTest.java
ndroid/support/v7/app/DrawerLayoutActions.java
ndroid/support/v7/app/DrawerLayoutDoubleActivity.java
ndroid/support/v7/app/DrawerLayoutDoubleTest.java
ndroid/support/v7/app/DrawerLayoutTest.java
ndroid/support/v7/testutils/TestUtilsActions.java
|
91d3117432fe69a5f199404fbcfce813595d6348 |
25-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Fix appcompat-test build am: 0f3f71c172 am: c819ab7425 * commit 'c819ab7425867795a0c747a8cbecdeda2a2cc9b7': Fix appcompat-test build
|
0f3f71c172e87b05b0a6b766cf129f4be56179d5 |
25-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Fix appcompat-test build Change-Id: I0c175edbe522587e3a19f8b9cc11e4ceb34d3682
ndroid/support/v7/widget/ListPopupWindowTest.java
ndroid/support/v7/widget/PopupMenuTest.java
|
5f69cdbc375c26e8565cf19da7827267efc49c29 |
25-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
resolve merge conflicts of 3e9fd69022 to master. Change-Id: I060d1852effdaebd01a5d888a4a964aec10b442d
|
421678a85c7b3366779451296e8666aa1a596cb5 |
25-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Merge changes Ibf3a3ee0,I13eea877 into mnc-ub-dev * changes: Add tests to ensure window insets work Update AppCompat tests to use Activity Rules
|
5e763fb82d2f29142bb34eb7040d92d0264d324d |
25-Jan-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Merge "Tests for PopupMenu" into mnc-ub-dev am: 117fb0fafc am: 3136e3df20 * commit '3136e3df204806cb01ce8f2d8b04ba885a12da72': Tests for PopupMenu
|
e91ec2c1719ac56156909abeb69bd8f934632b8e |
25-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Add tests to ensure window insets work Change-Id: Ibf3a3ee043d873f71a1f63485d4bfdd48676057f
ndroid/support/v7/app/BaseBasicsTestCase.java
ndroid/support/v7/custom/FitWindowsContentLayout.java
|
24391daa4e5831395924e2f48df86e19294cc211 |
25-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Update AppCompat tests to use Activity Rules Also tidied up some tests which test the Activity finishing. These tests should be less flaky now. Change-Id: I13eea877896b4a5fd38e9ea510a0bed03b1fcb33
ndroid/support/v7/app/BaseBasicsTestCase.java
ndroid/support/v7/app/BaseInstrumentationTestCase.java
ndroid/support/v7/app/BaseKeyEventsTestCase.java
ndroid/support/v7/app/BaseKeyboardShortcutsTestCase.java
ndroid/support/v7/app/DialogTestCase.java
ndroid/support/v7/app/DrawerDynamicLayoutTest.java
ndroid/support/v7/app/DrawerLayoutTest.java
ndroid/support/v7/app/LayoutInflaterFactoryTestCase.java
ndroid/support/v7/testutils/TestUtils.java
|
002d5bbb223ba6742d1c20a9a87064fbe62cd78f |
25-Jan-2016 |
Anatoly Korniltsev <korniltsev.anatoly@gmail.com> |
Fix crash on Explay Fresh 4.2.2 devices, caused by bug in the ROM This change is to workaround bug in the ROM of Explay Fresh devices with 4.2.2 ROM. Manufacturer has modified ROM and added a public method setOptionalIconsVisible to android.view.Menu interface. Because of that the runtime can't load MenuBuilder class because it had no such public method (it was package local) Change-Id: Iefa42d75a97ae7ff193336d6037533ee6c5d6a2f
ndroid/support/v7/app/MenuBuilderTest.java
|
2da48305c96b4cd11dda7f480003b1559c774ed7 |
22-Jan-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Tests for PopupMenu Change-Id: Ibaa30e2a5fd01318959c2539313d0cb47363b255
ndroid/support/v7/widget/ListPopupWindowTest.java
ndroid/support/v7/widget/PopupMenuTest.java
ndroid/support/v7/widget/PopupTestActivity.java
|
cdc09b492c61906615def159117fb1fc4f6d6ed9 |
15-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Merge "Fix LayoutInflaterFactoryTestCase failures on API 21+" into mnc-ub-dev am: 617798b047 am: ec75c40907 * commit 'ec75c40907e93e0e90130a3c534e482630c564eb': Fix LayoutInflaterFactoryTestCase failures on API 21+
|
02fed4f52c1d33f1a7f53a10cf12d93323c83f66 |
15-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Fix LayoutInflaterFactoryTestCase failures on API 21+ BUG: 26579775 Change-Id: I8a15bd117474c70673d6ca762917f580e0095daa
ndroid/support/v7/app/LayoutInflaterFactoryTestCase.java
|
70f154623ac68f5fd32a6dddcca9fdf913d05482 |
14-Jan-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Merge "Fix the logic that tracks presence of drawers along edges." into mnc-ub-dev am: f201a221cb am: 5376ab3787 * commit '5376ab37873791e7440cabd627fb034d6c6ebde6': Fix the logic that tracks presence of drawers along edges.
|
e6e27ab94303516b1e196568cee520832c38710c |
14-Jan-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Fix the logic that tracks presence of drawers along edges. Doing bitwise masks in a single integer is not good since LEFT (3) and RIGHT (5) share a common bit. Bug: 26555813 Change-Id: Ie9e461f68424f13c4ce9ead5f3dc0a000dbee4e5
ndroid/support/v7/app/DrawerDynamicLayoutActivity.java
ndroid/support/v7/app/DrawerDynamicLayoutTest.java
|
0e8e0b02bc68013c199a011610bd7d3fdae6f8d5 |
13-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Improve AppCompat\'s LayoutInflater tests am: fdbdbce204 am: 28938a209e * commit '28938a209ec6d86dad80701bac2b4a94ac1344c6': Improve AppCompat's LayoutInflater tests
|
fdbdbce204c4a25cb215267d3ce1fd4a7609937e |
06-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Improve AppCompat's LayoutInflater tests Now adds tests for AppCompat's declarative onClick workaround, and themeing inheritance. Change-Id: Ibe4c94d0eb637bd196d3d83e69ce573a65c2733f
ndroid/support/v7/app/LayoutInflaterFactoryTestActivity.java
ndroid/support/v7/app/LayoutInflaterFactoryTestCase.java
|
56be6056d204bd0ee371ee17edd601edc3dee6ed |
12-Jan-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Merge "Extending background tinting tests to AppCompatImageView" into mnc-ub-dev am: 239ef5acfd am: 5888cdeaf6 * commit '5888cdeaf6d33b9e1e3cdb75f9eb138f2d207c7a': Extending background tinting tests to AppCompatImageView
|
e5200fdeda1b39c557d9a1313f0cebaab2bc41ba |
11-Jan-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Extending background tinting tests to AppCompatImageView Extract all the tint-related logic to a new generic class and have AppCompatTextView / AppCompatImageView (and more in the next CLs) inherit all that logic. Then specific subclasses can add tests that are specific to one component - such as all-caps in AppCompatTextView. Change-Id: Ic4c00983feff58c435033bdc0e3ce67ec774439a
ndroid/support/v7/widget/AppCompatBaseViewTest.java
ndroid/support/v7/widget/AppCompatImageViewActivity.java
ndroid/support/v7/widget/AppCompatImageViewTest.java
ndroid/support/v7/widget/AppCompatTextViewTest.java
|
ed3edbc908439fd6129d28ce70c810b583abaf90 |
11-Jan-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Merge "More tests for background tinting of AppCompatTextView" into mnc-ub-dev am: 90fbd6e3fd am: 217df4851d * commit '217df4851d34e3c79491c26417724c5235e0fc92': More tests for background tinting of AppCompatTextView
|
1b81f288853d60e25e870fd522c927fd72f2efb5 |
11-Jan-2016 |
Kirill Grouchnikov <kirillg@google.com> |
More tests for background tinting of AppCompatTextView Change-Id: I354c3f64e914f99dc00d8b796ca9cdc1943de63f
ndroid/support/v7/testutils/AppCompatTintableViewActions.java
ndroid/support/v7/testutils/TestUtils.java
ndroid/support/v7/testutils/TestUtilsMatchers.java
ndroid/support/v7/widget/AppCompatTextViewTest.java
|
43308c4607e7e8bd361f5c3ce71865ab6bb8f4e7 |
11-Jan-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Merge "Add tests for background tinting of AppCompatTextView" into mnc-ub-dev am: 00be94f2b4 am: 198f787afc * commit '198f787afcb1f24a563ad5c4071a1db9675d45b0': Add tests for background tinting of AppCompatTextView
|
c61fa0cf4ba1a608aef07e03801f8ee952716229 |
11-Jan-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Merge "AppCompatTextView tests for allCaps" into mnc-ub-dev am: 0fa3716a5a am: 8214b10915 * commit '8214b10915d216493b4ee82aa6604b2769d4b102': AppCompatTextView tests for allCaps
|
ee9519c17254b5e992164ff278173c4b2c7c5fce |
08-Jan-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Add tests for background tinting of AppCompatTextView Change-Id: Ie4db66bd3fc0dbafdcbfe9d05742ab5220da010c
ndroid/support/v7/testutils/AppCompatTintableViewActions.java
ndroid/support/v7/testutils/TestUtils.java
ndroid/support/v7/testutils/TestUtilsMatchers.java
ndroid/support/v7/widget/AppCompatTextViewTest.java
|
87d26d017740f9f0f9dabadfbc66fa99c5c99334 |
07-Jan-2016 |
Kirill Grouchnikov <kirillg@google.com> |
AppCompatTextView tests for allCaps Change-Id: Ib5c81365d2a5597fd6009e2d39f5637b2b88c9b5
ndroid/support/v7/testutils/AppCompatTextViewActions.java
ndroid/support/v7/widget/AppCompatTextViewActivity.java
ndroid/support/v7/widget/AppCompatTextViewTest.java
|
4c2a264f003088f45cedf8c9120dfbc08f2b2c5d |
08-Jan-2016 |
George Mount <mount@google.com> |
Change toolbar shortcut to Control-< Bug 26423159 Change-Id: I05640afc5c8beb026c7b34cea7b76d568ab7dcf3
ndroid/support/v7/app/KeyboardShortcutsTestCaseWithToolbar.java
|
8a7d734aa813d9697611038c6ac3e68861898bcd |
04-Jan-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Additional tests for AlertDialog Cover setAdapter, setCustomTitle, setMessage and setView APIs Change-Id: I057162b7664eb60a2b0db7c6c49c55eafd581069
ndroid/support/v7/app/AlertDialogTest.java
|
92a7c52c3ee81670f5b87a80e64606c9730762d6 |
04-Jan-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Merge "Tests for AlertDialog button APIs" into mnc-ub-dev
|
90079ce0ebfcdd61c65d84ce7b3e4521fe755616 |
04-Jan-2016 |
Kirill Grouchnikov <kirillg@google.com> |
Tests for AlertDialog button APIs Also clarify when AlertDialog.setButton can be called. Change-Id: I6759f0da41db29ea4c66327e6df5fbb99c61f24a
ndroid/support/v7/app/AlertDialogTest.java
|
733d0b2acb07ede7455b9d020901a10586053923 |
04-Jan-2016 |
Chris Banes <chrisbanes@google.com> |
Fix ToolbarActionBar invalidating destroyed Activities BUG: 26375399 Change-Id: I4e4298748b9040b8ee307bbf1c09450618bdd494
ndroid/support/v7/app/BaseBasicsTestCase.java
ndroid/support/v7/testutils/BaseTestActivity.java
|
daea069fe33cc750bcb733ebcb6206d2dcedae76 |
29-Dec-2015 |
Chris Banes <chrisbanes@google.com> |
Annotate other support library tests - Added NO_DOCS files to other test folders - All test APKs are copied (if they have tests) via ./gradlew assembleAndroidTest I've left leanback out since they have a odd test project hierarchy, and they'd probably need TV devices on the CI server anyway. BUG: 24494874 Change-Id: Iff25af777438e62f30b63843d89325d380cf7e1e
ndroid/support/v7/app/BaseBasicsTestCase.java
ndroid/support/v7/app/BaseKeyEventsTestCase.java
ndroid/support/v7/app/BaseKeyboardShortcutsTestCase.java
ndroid/support/v7/app/LayoutInflaterFactoryTestCase.java
|
1d8515a3b783e9b091bea2891606b466515b4fdd |
18-Dec-2015 |
Kirill Grouchnikov <kirillg@google.com> |
Cursor-based tests for AlertDialog Change-Id: Ib2bc6f6bcc8fd8b29f506159d497bd115668da9a
ndroid/support/v7/app/AlertDialogCursorTest.java
ndroid/support/v7/testutils/TestUtilsMatchers.java
|
2d18d3a4b92369971ed446cf54d98fb0fc55646a |
17-Dec-2015 |
Kirill Grouchnikov <kirillg@google.com> |
Second pass for AlertDialog tests. * Adding a bit more logic to the existing tests to test getListView API. * Testing setMultiChoiceItems and setSingleChoiceItems APIs.o Change-Id: Id0d3bdcaa03724f8848c683f057379c8f3e51f12
ndroid/support/v7/app/AlertDialogTest.java
ndroid/support/v7/testutils/TestUtilsMatchers.java
|
244abf1fee3fe4fab72a1d8925407e29219940be |
16-Dec-2015 |
Kirill Grouchnikov <kirillg@google.com> |
First pass for testing AlertDialog. Change-Id: I0ed035a6e9356ddb3de1d030c67476fda5c81e9b
ndroid/support/v7/app/AlertDialogTest.java
ndroid/support/v7/app/AlertDialogTestActivity.java
ndroid/support/v7/testutils/TestUtils.java
ndroid/support/v7/testutils/TestUtilsMatchers.java
|
40f6f6c7c73894aec7dd994bfc6265f06f9f0e35 |
16-Dec-2015 |
Kirill Grouchnikov <kirillg@google.com> |
Remove unused imports Change-Id: I94df41cdec3e3019a4b105ee68e818de9363925d
ndroid/support/v7/widget/ListPopupWindowTest.java
|
a37e9311de7ff4407104965ff66146f87e55ba5c |
15-Dec-2015 |
Kirill Grouchnikov <kirillg@google.com> |
First pass for ListPopupWindow testing * Basic content display * Anchoring to the specific view * Dismissal via API call or tapping outside the bounds * Outside tap to dismiss a non-modal window should deliver the tap to the underlying view * Item click via API or tap Change-Id: I00b9c4f1c90646075f0caeddeda81d14b6afebea
ndroid/support/v7/app/BaseBasicsTestCase.java
ndroid/support/v7/app/BaseKeyEventsTestCase.java
ndroid/support/v7/app/BaseKeyboardShortcutsTestCase.java
ndroid/support/v7/app/BaseTestActivity.java
ndroid/support/v7/app/DrawerLayoutActivity.java
ndroid/support/v7/app/ToolbarActionBarActivity.java
ndroid/support/v7/app/WindowDecorActionBarActivity.java
ndroid/support/v7/testutils/BaseTestActivity.java
ndroid/support/v7/widget/ListPopupWindowTest.java
ndroid/support/v7/widget/PopupTestActivity.java
|
e8c9f7dbd2d75bce83410ce4b6bcf5c1c69a7cfb |
10-Dec-2015 |
Kirill Grouchnikov <kirillg@google.com> |
Fix package name for the custom drawer layout. Change-Id: Icdfd8e49994cfdecc7ec8a9d6e79ce7b2b55e660
ndroid/support/v7/app/DrawerLayoutTest.java
ndroid/support/v7/custom/CustomDrawerLayout.java
|
79bdaf9f66d9000feb54d8f4011fc412dd7829bc |
05-Dec-2015 |
Kirill Grouchnikov <kirillg@google.com> |
Testing DrawerLayout for respecting fitsSystemWindows attribute Change-Id: I774a525ce92c35fe39311ff961b6f292ae69c6fc
ndroid/support/v7/app/DrawerLayoutTest.java
ndroid/support/v7/custom/CustomDrawerLayout.java
|
bb2fd572a11bcd12f767b3ecab6fbdf9112279af |
03-Dec-2015 |
Kirill Grouchnikov <kirillg@google.com> |
Testing DrawerLayout's open / close via swipe gestures. * Also wrap the existing open / close test via API to run a few more times in a loop to check that the drawer doesn't carry some old state when the drawer is getting continuously open / close. Change-Id: Iad3468a40be61b4ad60d08fe944d85f97695b301
ndroid/support/v7/app/DrawerLayoutTest.java
|
30c25a404365719cbe21a0886ddbe8be544c8e90 |
02-Dec-2015 |
Kirill Grouchnikov <kirillg@google.com> |
First pass for basic testing of DrawerLayout with Espresso Change-Id: I01d543ccfb272dae9307790426b7f0cd712ac865
ndroid/support/v7/app/DrawerLayoutActions.java
ndroid/support/v7/app/DrawerLayoutActivity.java
ndroid/support/v7/app/DrawerLayoutTest.java
ndroid/support/v7/testutils/Shakespeare.java
|
66698bb15ba0f873aa1c2290cc50d6bb839a474a |
26-Oct-2015 |
Chris Banes <chrisbanes@google.com> |
Flatten AppCompat class hierarchy This allows us to do two things: 1) Move away from using public @hidden classes everywhere. 2) Workaround silly OEM bugs. BUG: 18218511 Change-Id: I7582e242c7564c32feeb044fc9eff6bfb5c56536
ndroid/support/v7/app/DialogTestCase.java
|
2f769dc974bd526d945efe8a644f3f89112e08fe |
09-Sep-2015 |
Chris Banes <chrisbanes@google.com> |
Fix back button not working with empty menu Happens on ICS+. Caused by AppCompat letting dispatchKeyEvent() to bubble up to PhoneWindow when the menu is empty. PhoneWindow's KEYCODE_BACK handling then steals all events, not allowing the Activity to onBackPressed(). Fixed by making AppCompat handle all KEYCODE_MENU events. BUG: 23379766 Change-Id: I1d9bd25cb117cd19d1af9967964c0c1da67ddec4
ndroid/support/v7/app/BaseKeyEventsTestCase.java
ndroid/support/v7/app/BaseTestActivity.java
|
a4b5c35036e68c7551dd77641ceec17b92c6368d |
19-Aug-2015 |
Chris Banes <chrisbanes@google.com> |
Fix AppCompatDialogFragment crashing We now model PhoneWindow in when it reads the theme window flags. Added a unit test too BUG: 23336734 Change-Id: I990bd91d29d1009e0e18f976c7b3c542782660e6
ndroid/support/v7/app/DialogTestCase.java
|
9d9c6a22548670bf017e69fd5d0f47134a18b53f |
22-Jul-2015 |
Chris Banes <chrisbanes@google.com> |
Fix alpha keyboard shortcuts with ToolbarActionBar BUG: 22651750 Change-Id: Ia012f19cb31840f8df85ba69de45cf284ab06441
ndroid/support/v7/app/BaseKeyboardShortcutsTestCase.java
ndroid/support/v7/app/BaseTestActivity.java
ndroid/support/v7/app/KeyboardShortcutsTestCaseWithToolbar.java
ndroid/support/v7/app/KeyboardShortcutsTestCaseWithWindowDecor.java
|
c63438dce2904355f08ad2b57a8386d474b309be |
21-Jul-2015 |
Chris Banes <chrisbanes@google.com> |
Merge "Fix KEYCODE_MENU not being dispatched to an Activity" into lmp-mr1-ub-dev
|
20e7abe79da33b056ef2603404883f3abcb64456 |
20-Jul-2015 |
Chris Banes <chrisbanes@google.com> |
Fix LayoutInflaterFactoryTestCase The test can failing because the example layouts were trying to inflate <View /> which AppCompat doesn't handle. Moving to TextView is a more valid test. Change-Id: I1c00b6907073d8b5f74acea238e004dfc482ed79
ndroid/support/v7/app/LayoutInflaterFactoryTestCase.java
|
4d95686e7ade79bfb1081047e90de4bf2affbbca |
20-Jul-2015 |
Chris Banes <chrisbanes@google.com> |
Fix KEYCODE_MENU not being dispatched to an Activity Also fix onPanelClosed() not being called, by moving the related logic closer to that of PhoneWindow. BUG: 22596497 Change-Id: Ia1b66b92646aceb49ed58b913c05984e81503124
ndroid/support/v7/app/BaseKeyEventsTestCase.java
|
cdbdcb29b4a4e3bf1553f824902562cee3fcb723 |
10-Jul-2015 |
Chris Banes <chrisbanes@google.com> |
Add tests to AppCompat At the moment they're only covering regressions which have been fixed recently, and basics. Change-Id: I24fbae975bd1a7642d2e30ddee9f622bd36b23d2
ndroid/support/v7/app/BaseBasicsTestCase.java
ndroid/support/v7/app/BaseInstrumentationTestCase.java
ndroid/support/v7/app/BaseKeyEventsTestCase.java
ndroid/support/v7/app/BaseTestActivity.java
ndroid/support/v7/app/BasicsTestCaseWithToolbar.java
ndroid/support/v7/app/BasicsTestCaseWithWindowDecor.java
ndroid/support/v7/app/KeyEventsTestCaseWithToolbar.java
ndroid/support/v7/app/KeyEventsTestCaseWithWindowDecor.java
ndroid/support/v7/app/LayoutInflaterFactoryTestCase.java
ndroid/support/v7/app/ToolbarActionBarActivity.java
ndroid/support/v7/app/WindowDecorActionBarActivity.java
|