android / android/android-test
Espresso: [BUG]: Espresso Doesn't Match SVG Drawable When Many Characters
- Lingua principale
- Java
- Stelle
- 1.2k
- Fork
- 342
- Merge medio
- 11h 29m
- PR unite (30g)
- 2
Descrizione
See: https://issuetracker.google.com/119052092
Hi there,
I'm using AS and Espresso to match a Vector drawable against the drawable on my imageView and after many attempts to solve an issue I'm inclined to believe there may be an issue with AS or Espresso itself instead. It seems some paths for the generated SVG don't work, usually the ones with more characters. When I comment those out then my code works fine.
I'm sending attached the image of the lines I need to comment to match the drawable. That's the SO link for the issue:
https://stackoverflow.com/questions/52968631/espresso-doesnt-match-some-vector-drawables
And this is one of my sample Vector Drawable:
These being the lines I need to comment out:
Thank you very much.
Build: 3.2.1, AI-181.5540.7.32.5056338, 201810090144,
AI-181.5540.7.32.5056338, JRE 1.8.0_152-release-1136-b06x64 JetBrains s.r.o, OS Windows 10(amd64) v10.0 , screens 1920x1080
Android Gradle Plugin: 3.2.1
Gradle: 4.6
NDK: from local.properties: (not specified); latest from SDK: (not found);
LLDB: pinned revision 3.1 not found; latest from SDK: (package not found);
CMake: from local.properties: (not specified); latest from SDK: (not found); from PATH: (not found);
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo il Vector Drawable di esempio con Espresso, confrontando il comportamento di rendering e matching con i tre elementi path commentati abilitati e disabilitati. L’issue non fornisce alcun file del repository né un punto di ingresso per i test; il lavoro sarà considerato completato quando saranno identificati i motivi per cui questi path impediscono il matching del drawable e sarà aggiunto un test di regressione riproducibile o una soluzione documentata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- android
- Ambito
- mobile-dev, testing
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 25/100