{"action":"created","issue":{"url":"https://api.github.com/repos/venusdrogon/feilong-core/issues/144","repository_url":"https://api.github.com/repos/venusdrogon/feilong-core","labels_url":"https://api.github.com/repos/venusdrogon/feilong-core/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/venusdrogon/feilong-core/issues/144/comments","events_url":"https://api.github.com/repos/venusdrogon/feilong-core/issues/144/events","html_url":"https://github.com/venusdrogon/feilong-core/issues/144","id":170828009,"number":144,"title":"完善 CollectionsUtil.removeAll(Collection<O>, String, V...)单元测试","user":{"login":"venusdrogon","id":3479472,"avatar_url":"https://avatars.githubusercontent.com/u/3479472?v=3","gravatar_id":"","url":"https://api.github.com/users/venusdrogon","html_url":"https://github.com/venusdrogon","followers_url":"https://api.github.com/users/venusdrogon/followers","following_url":"https://api.github.com/users/venusdrogon/following{/other_user}","gists_url":"https://api.github.com/users/venusdrogon/gists{/gist_id}","starred_url":"https://api.github.com/users/venusdrogon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/venusdrogon/subscriptions","organizations_url":"https://api.github.com/users/venusdrogon/orgs","repos_url":"https://api.github.com/users/venusdrogon/repos","events_url":"https://api.github.com/users/venusdrogon/events{/privacy}","received_events_url":"https://api.github.com/users/venusdrogon/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/venusdrogon/feilong-core/labels/test","name":"test","color":"fef2c0"}],"state":"open","locked":false,"assignee":{"login":"venusdrogon","id":3479472,"avatar_url":"https://avatars.githubusercontent.com/u/3479472?v=3","gravatar_id":"","url":"https://api.github.com/users/venusdrogon","html_url":"https://github.com/venusdrogon","followers_url":"https://api.github.com/users/venusdrogon/followers","following_url":"https://api.github.com/users/venusdrogon/following{/other_user}","gists_url":"https://api.github.com/users/venusdrogon/gists{/gist_id}","starred_url":"https://api.github.com/users/venusdrogon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/venusdrogon/subscriptions","organizations_url":"https://api.github.com/users/venusdrogon/orgs","repos_url":"https://api.github.com/users/venusdrogon/repos","events_url":"https://api.github.com/users/venusdrogon/events{/privacy}","received_events_url":"https://api.github.com/users/venusdrogon/received_events","type":"User","site_admin":false},"assignees":[{"login":"venusdrogon","id":3479472,"avatar_url":"https://avatars.githubusercontent.com/u/3479472?v=3","gravatar_id":"","url":"https://api.github.com/users/venusdrogon","html_url":"https://github.com/venusdrogon","followers_url":"https://api.github.com/users/venusdrogon/followers","following_url":"https://api.github.com/users/venusdrogon/following{/other_user}","gists_url":"https://api.github.com/users/venusdrogon/gists{/gist_id}","starred_url":"https://api.github.com/users/venusdrogon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/venusdrogon/subscriptions","organizations_url":"https://api.github.com/users/venusdrogon/orgs","repos_url":"https://api.github.com/users/venusdrogon/repos","events_url":"https://api.github.com/users/venusdrogon/events{/privacy}","received_events_url":"https://api.github.com/users/venusdrogon/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/venusdrogon/feilong-core/milestones/8","html_url":"https://github.com/venusdrogon/feilong-core/milestones/1.8.5","labels_url":"https://api.github.com/repos/venusdrogon/feilong-core/milestones/8/labels","id":1931419,"number":8,"title":"1.8.5","description":"1.8.5","creator":{"login":"venusdrogon","id":3479472,"avatar_url":"https://avatars.githubusercontent.com/u/3479472?v=3","gravatar_id":"","url":"https://api.github.com/users/venusdrogon","html_url":"https://github.com/venusdrogon","followers_url":"https://api.github.com/users/venusdrogon/followers","following_url":"https://api.github.com/users/venusdrogon/following{/other_user}","gists_url":"https://api.github.com/users/venusdrogon/gists{/gist_id}","starred_url":"https://api.github.com/users/venusdrogon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/venusdrogon/subscriptions","organizations_url":"https://api.github.com/users/venusdrogon/orgs","repos_url":"https://api.github.com/users/venusdrogon/repos","events_url":"https://api.github.com/users/venusdrogon/events{/privacy}","received_events_url":"https://api.github.com/users/venusdrogon/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":42,"state":"open","created_at":"2016-08-09T05:55:18Z","updated_at":"2016-08-15T10:38:01Z","due_on":"2016-08-30T16:00:00Z","closed_at":null},"comments":1,"created_at":"2016-08-12T09:01:31Z","updated_at":"2016-08-15T15:37:23Z","closed_at":null,"body":"完善 CollectionsUtil.removeAll(Collection<O>, String, V...)单元测试"},"comment":{"url":"https://api.github.com/repos/venusdrogon/feilong-core/issues/comments/239835461","html_url":"https://github.com/venusdrogon/feilong-core/issues/144#issuecomment-239835461","issue_url":"https://api.github.com/repos/venusdrogon/feilong-core/issues/144","id":239835461,"user":{"login":"venusdrogon","id":3479472,"avatar_url":"https://avatars.githubusercontent.com/u/3479472?v=3","gravatar_id":"","url":"https://api.github.com/users/venusdrogon","html_url":"https://github.com/venusdrogon","followers_url":"https://api.github.com/users/venusdrogon/followers","following_url":"https://api.github.com/users/venusdrogon/following{/other_user}","gists_url":"https://api.github.com/users/venusdrogon/gists{/gist_id}","starred_url":"https://api.github.com/users/venusdrogon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/venusdrogon/subscriptions","organizations_url":"https://api.github.com/users/venusdrogon/orgs","repos_url":"https://api.github.com/users/venusdrogon/repos","events_url":"https://api.github.com/users/venusdrogon/events{/privacy}","received_events_url":"https://api.github.com/users/venusdrogon/received_events","type":"User","site_admin":false},"created_at":"2016-08-15T15:37:23Z","updated_at":"2016-08-15T15:37:23Z","body":"```JAVA\r\n\r\n    //****************CollectionsUtil.removeAll(Collection<User>, String, String...)************************\r\n    /**\r\n     * Test remove all1.\r\n     */\r\n    @Test\r\n    public void testRemoveAll1(){\r\n        User zhangfei = new User(\"张飞\", 23);\r\n        User guanyu = new User(\"关羽\", 24);\r\n        User liubei = new User(\"刘备\", 25);\r\n        List<User> list = toList(zhangfei, guanyu, liubei);\r\n\r\n        assertThat(CollectionsUtil.removeAll(list, \"name\", \"刘备\"), contains(zhangfei, guanyu));\r\n        assertThat(list, contains(zhangfei, guanyu, liubei));\r\n\r\n        assertThat(CollectionsUtil.removeAll(list, \"name\", (String) null), contains(zhangfei, guanyu, liubei));\r\n        assertThat(list, contains(zhangfei, guanyu, liubei));\r\n\r\n        assertThat(CollectionsUtil.removeAll(list, \"name\", \"刘备\", \"关羽\"), contains(zhangfei));\r\n        assertThat(list, contains(zhangfei, guanyu, liubei));\r\n    }\r\n\r\n    @Test(expected = NullPointerException.class)\r\n    public void testRemoveAllNullObjectCollection(){\r\n        CollectionsUtil.removeAll(null, \"name\", \"刘备\");\r\n    }\r\n\r\n    //******\r\n\r\n    @Test(expected = NullPointerException.class)\r\n    public void testRemoveAllNullPropertyName(){\r\n        List<User> list = toList(new User(\"张飞\", 23), new User(\"关羽\", 24), new User(\"刘备\", 25));\r\n        CollectionsUtil.removeAll(list, null, \"刘备\");\r\n    }\r\n\r\n    @Test(expected = IllegalArgumentException.class)\r\n    public void testRemoveAllEmptyPropertyName(){\r\n        List<User> list = toList(new User(\"张飞\", 23), new User(\"关羽\", 24), new User(\"刘备\", 25));\r\n        CollectionsUtil.removeAll(list, \"\", \"刘备\");\r\n    }\r\n\r\n    @Test(expected = IllegalArgumentException.class)\r\n    public void testRemoveAllEmptyPropertyName1(){\r\n        List<User> list = toList(new User(\"张飞\", 23), new User(\"关羽\", 24), new User(\"刘备\", 25));\r\n        CollectionsUtil.removeAll(list, \" \", \"刘备\");\r\n    }\r\n\r\n```"}}
{"actor":{"display_login":"venusdrogon"}}