diff options
Diffstat (limited to 'resources/test')
-rw-r--r-- | resources/test/config.test.0.json | 11 | ||||
-rw-r--r-- | resources/test/config.test.1.json | 11 | ||||
-rw-r--r-- | resources/test/testcgitrepos | 12 | ||||
-rw-r--r-- | resources/test/testcgitrepos.1.test | 15 |
4 files changed, 49 insertions, 0 deletions
diff --git a/resources/test/config.test.0.json b/resources/test/config.test.0.json new file mode 100644 index 0000000..f7c3851 --- /dev/null +++ b/resources/test/config.test.0.json @@ -0,0 +1,11 @@ +{ + "authorized_owners": [ + { + "name": "johndoe", + "email": "eg@example.com", + "gpg_pubkey_id": "XXXXXXXXXXXXXXXX" + } + ], + "cgitrepos_file_path": "/path/to/cgitrepos", + "git_host_dir_path": "/path/to/git/host/dir" +} diff --git a/resources/test/config.test.1.json b/resources/test/config.test.1.json new file mode 100644 index 0000000..798491a --- /dev/null +++ b/resources/test/config.test.1.json @@ -0,0 +1,11 @@ +{ + "authorized_owners": [ + { + "name": "johndoe", + "email": "eg@example.com", + "gpg_pubkey_id": "XXXXXXXXXXXXXXXX" + } + ], + "cgitrepos_file_path": "$TEST_CGITREPOS_PATH$", + "git_host_dir_path": "$TEST_GIT_REPOS_DIR_PATH$" +} diff --git a/resources/test/testcgitrepos b/resources/test/testcgitrepos new file mode 100644 index 0000000..755ff35 --- /dev/null +++ b/resources/test/testcgitrepos @@ -0,0 +1,12 @@ +section=my_code_section +repo.url=mock_repo_1 +repo.path=/path/to/mock_repo_1 +repo.desc=foo +repo.owner=bar + +section=put_test_repo_here +repo.url=mock_repo_1 +repo.path=/path/to/mock_repo_1 +repo.desc=foo +repo.owner=bar + diff --git a/resources/test/testcgitrepos.1.test b/resources/test/testcgitrepos.1.test new file mode 100644 index 0000000..9d7ee8a --- /dev/null +++ b/resources/test/testcgitrepos.1.test @@ -0,0 +1,15 @@ +section=my_code_section +repo.url=mock_repo_1 +repo.path=/path/to/mock_repo_1 +repo.desc=foo +repo.owner=bar +section=put_test_repo_here +repo.url=mock_repo_1 +repo.path=/path/to/mock_repo_1 +repo.desc=foo +repo.owner=bar +section=custom +repo.url=test +repo.path=/home/stvnliu/Development/git_service/resources/test/put_git_repo_here/test.git +repo.desc=test description +repo.owner=testuser
\ No newline at end of file |