`

eclipse autocomplete junit asserts

 
阅读更多
  1. Go to Window > Preferences > Java > Editor > Content Assist > Favorites .
  2. Click New Type . This brings up a dialog where you can enter the fully qualified type.
  3. Enter org.junit.Assert and click Ok (you could also use the Browse… if you want to search for the type). Eclipse will add an entry to the list which reads org.junit.Assert.* .
  4. Click Ok on the preferences dialog to save and close the preferences.
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics