{"id":19508661,"url":"https://github.com/commit451/parcelcheck","last_synced_at":"2025-08-02T11:03:18.286Z","repository":{"id":83214002,"uuid":"58690847","full_name":"Commit451/ParcelCheck","owner":"Commit451","description":"Simple test to see if all models in project correctly implement Parcelable","archived":false,"fork":false,"pushed_at":"2022-06-27T04:35:45.000Z","size":111,"stargazers_count":33,"open_issues_count":3,"forks_count":7,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-26T02:52:35.384Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Commit451.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-05-13T01:56:48.000Z","updated_at":"2023-08-13T11:40:59.000Z","dependencies_parsed_at":"2023-03-01T21:00:24.514Z","dependency_job_id":null,"html_url":"https://github.com/Commit451/ParcelCheck","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/Commit451/ParcelCheck","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Commit451%2FParcelCheck","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Commit451%2FParcelCheck/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Commit451%2FParcelCheck/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Commit451%2FParcelCheck/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Commit451","download_url":"https://codeload.github.com/Commit451/ParcelCheck/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Commit451%2FParcelCheck/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268378334,"owners_count":24240894,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-10T23:08:37.116Z","updated_at":"2025-08-02T11:03:18.277Z","avatar_url":"https://github.com/Commit451.png","language":"Java","readme":"# ParcelCheck\nChecks models within specified packages to make sure they are properly parcelable\nSpecial thanks to [@alexkgwyn](https://github.com/alexkgwyn) for creating most of this library. \n\n[![Build Status](https://travis-ci.org/Commit451/ParcelCheck.svg?branch=master)](https://travis-ci.org/Commit451/ParcelCheck)\n[![](https://jitpack.io/v/Commit451/ParcelCheck.svg)](https://jitpack.io/#Commit451/ParcelCheck)\n\n# Dependency\n```gradle\nallprojects {\n    repositories {\n        maven { url \"https://jitpack.io\" }\n    }\n}\n```\nand within your application `build.gradle`\n\n```gradle\ndependencies {\n    androidTestCompile 'com.github.Commit451:ParcelCheck:1.0.1'\n}\n```\n# Usage\nSetup is simple, just create a class within your application's `androidTest` directory and make sure the newly created test extends `ParcelCheckPackageTest`. To test all models within a package:\n```java\npublic class AllModelsTest extends ParcelCheckPackageTest {\n\n    @Override\n    public String[] getModelPackageNames() {\n        return new String[] {\n                \"com.commit451.parcelcheck.sample.models\",\n                \"com.commit451.parcelcheck.sample.otherModels\"\n        };\n    }\n}\n```\nor alternatively, to test individual models:\n```java\npublic class DogAndPhoneParcelCheckTest extends ParcelCheckTest {\n\n    @Override\n    public Class[] getClassesToCheck() {\n        return new Class[] {\n                Dog.class,\n                Phone.class\n        };\n    }\n}\n```\nSee the sample app for more\n\n# Notes\nThis library does not check the validity of your Parcelable methods. In other words, if you were to flip the value of a boolean when parceling, this library would not catch that. Since most people use generators to generate Parcelable methods, it is more dedicated to catching errors of the user forgetting to regenerate methods after adding data to a model, or other such cases.\n\nLicense\n--------\n\n    Copyright 2016 Commit 451\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommit451%2Fparcelcheck","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcommit451%2Fparcelcheck","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcommit451%2Fparcelcheck/lists"}