Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

添加单元测试(长期) #32

Open
MewX opened this issue Jul 12, 2018 · 1 comment
Open

添加单元测试(长期) #32

MewX opened this issue Jul 12, 2018 · 1 comment

Comments

@MewX
Copy link
Owner

MewX commented Jul 12, 2018

参考这里的report:https://coveralls.io/github/MewX/light-novel-library_Wenku8_Android

由于本项目使用的是Travis-CI,所有fork的版本均可以创建自己的travis-CI,然后进行code coverage测试。

@MewX
Copy link
Owner Author

MewX commented Jul 12, 2018

欢迎大家贡献unit tests,可以提交很多pull requests

MewX added a commit that referenced this issue Jul 24, 2018
MewX added a commit that referenced this issue Jul 25, 2018
MewX added a commit that referenced this issue Jul 25, 2018
MewX added a commit that referenced this issue Aug 12, 2018
MewX added a commit that referenced this issue Nov 3, 2018
…using lambda

Signed-off-by: MewX <xiayuanzhong@gmail.com>
MewX added a commit that referenced this issue Nov 3, 2018
```
java.lang.NullPointerException: Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference
	at org.mewx.wenku8.activity.NovelInfoActivity.showDirectJumpToReaderDialog(NovelInfoActivity.java)
	                                              lambda$optionCheckUpdates$11$NovelInfoActivity(NovelInfoActivity.java)
	                                              lambda$null$10$NovelInfoActivity(NovelInfoActivity.java)
	                                              lambda$onCreate$6$NovelInfoActivity(NovelInfoActivity.java)
	                                              access$502(NovelInfoActivity.java)
	                                              access$500(NovelInfoActivity.java)
	                                              access$900(NovelInfoActivity.java)
	at org.mewx.wenku8.activity.NovelInfoActivity.lambda$showDirectJumpToReaderDialog$18$NovelInfoActivity(NovelInfoActivity.java)
	                                              lambda$optionDownloadSelected$17$NovelInfoActivity(NovelInfoActivity.java)
	                                              lambda$null$16$NovelInfoActivity(NovelInfoActivity.java)
	                                              lambda$optionDownloadOverride$15$NovelInfoActivity(NovelInfoActivity.java)
	                                              lambda$null$14$NovelInfoActivity(NovelInfoActivity.java)
	                                              lambda$onCreate$9$NovelInfoActivity(NovelInfoActivity.java)
	                                              lambda$null$7$NovelInfoActivity(NovelInfoActivity.java)
	                                              access$000(NovelInfoActivity.java)
	                                              access$102(NovelInfoActivity.java)
	                                              access$200(NovelInfoActivity.java)
	                                              access$100(NovelInfoActivity.java)
	                                              access$302(NovelInfoActivity.java)
	                                              access$300(NovelInfoActivity.java)
	                                              access$602(NovelInfoActivity.java)
	                                              access$600(NovelInfoActivity.java)
	                                              access$700(NovelInfoActivity.java)
	                                              access$1300(NovelInfoActivity.java)
	                                              access$1402(NovelInfoActivity.java)
	                                              access$1500(NovelInfoActivity.java)
	                                              access$1400(NovelInfoActivity.java)
	                                              access$1700(NovelInfoActivity.java)
	                                              access$1800(NovelInfoActivity.java)
	                                              access$1900(NovelInfoActivity.java)
	at org.mewx.wenku8.activity.NovelInfoActivity$$Lambda$6.onClick(NovelInfoActivity.java)
	at android.view.View.performClick(View.java:5642)
	at android.view.View$PerformClick.run(View.java:22491)
	at android.os.Handler.handleCallback(Handler.java:751)
	at android.os.Handler.dispatchMessage(Handler.java:95)
	at android.os.Looper.loop(Looper.java:154)
	at android.app.ActivityThread.main(ActivityThread.java:6306)
	at java.lang.reflect.Method.invoke(Method.java)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1108)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:998)
```

Signed-off-by: MewX <xiayuanzhong@gmail.com>
MewX added a commit that referenced this issue Nov 3, 2018
Signed-off-by: MewX <xiayuanzhong@gmail.com>
@MewX MewX pinned this issue Dec 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant