How to test AndroidViewModel in unit test

后端 未结 0 1872
忘掉有多难
忘掉有多难 2021-01-05 07:54

I\'m trying to test ViewModel(AndroidViewModel parent), in unit tests(test folder) but when using

val application = ApplicationProvider.getApplicationContext&         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题