[android] Android P 부터는 기본으로 TLS [android] Android P 부터는 기본으로 TLS https://android-developers.googleblog.com/2018/04/protecting-users-with-tls-by-default-in.html android:usesCleartextTraffic 이라는 manifest attribute 가 MOS 부터 추가되었다. NOS 에서는 Network Security Config 기능이 추가되었다. - 모든 Connection 이 TLS 를 사용한다면 아무런 조치를 취하지 않아도 된다. - TLS 는 느리지 않다. - Socket 을 직접 만들어 사용하는 경우 SocketFactory 대신 SSLSocketFactory 를 사용해라. SSLSocket 은 hostname veri.. 2019. 7. 24. [android] Espresso Tutorial [android] Espresso Tutorial http://www.vogella.com/tutorials/AndroidTestingEspresso/article.html 1. The Espresso test framework -Android testing framework 이며, UI test 를 쉽게 해준다.Google 이 2013년 10월에 첫 release 를 했고, 글 쓰는 시점에 2.0 이상이 release 되었으며 계속 유지보수 되고 있다. -Test 를 수행하기 전에 Activity 가 실행되었음을 보장한다. -single app test 가 주되지만, app 간의 테스트도 가능하다.너의 app 바깥쪽의 일을 테스트하는 것은 black box testing 만 가능하다. -Espresso.. 2019. 2. 4. 반응형 이전 1 다음