{"push_id":1322483517,"size":1,"distinct_size":1,"ref":"refs/heads/issue-0006895-full-tests-for-Score","head":"3de630585062c99aa5d2a98c9d300b135cf9eb4f","before":"b78c26f5b16d6b63ba29d9990a2cd39ec71d88b0","commits":[{"sha":"3de630585062c99aa5d2a98c9d300b135cf9eb4f","author":{"name":"xor-freenet","email":"ffce6e23752e02a6686debc831f50fb1af39e8ee@freenetproject.org"},"message":"ScoreTest: Test ScoreID.constructAndValidate(String), fail intentionally\ndue to bug in tested function\n\nFails intentionally due to lack of the function under test checking\nwhether we have enough tokens. I.e. the constructor throws\nNoSuchElementException where it should throw IllegalArgumentException\nto be coherent with its other throws. Will fix in upcoming commit.\n\njava.util.NoSuchElementException\n    at java.util.StringTokenizer.nextToken(StringTokenizer.java:349)\n    at plugins.WebOfTrust.Score$ScoreID.<init>(Score.java:137)\n    at plugins.WebOfTrust.Score$ScoreID.constructAndValidate(Score.java:149)\n    at plugins.WebOfTrust.ScoreTest.testScoreIDconstructAndValidateString(ScoreTest.java:105)","distinct":true,"url":"https://api.github.com/repos/freenet/plugin-WebOfTrust/commits/3de630585062c99aa5d2a98c9d300b135cf9eb4f"}]}
{"actor":{"display_login":"xor-freenet"}}