summaryrefslogtreecommitdiff
path: root/resources/test/testcgitrepos.1.test
diff options
context:
space:
mode:
authorZhongheng Liu <z.liu@outlook.com.gr>2024-12-25 01:04:07 +0200
committerZhongheng Liu <z.liu@outlook.com.gr>2024-12-25 01:04:07 +0200
commit2c38482061c5f9f4485c421f3faae92e49afcd2a (patch)
tree8f76ab334af3e630d4be0df955e56f830ceee831 /resources/test/testcgitrepos.1.test
parent59319c4a0127766028aaf6f8404e0d3e239beba2 (diff)
downloadgit_service-2c38482061c5f9f4485c421f3faae92e49afcd2a.tar.gz
git_service-2c38482061c5f9f4485c421f3faae92e49afcd2a.tar.bz2
git_service-2c38482061c5f9f4485c421f3faae92e49afcd2a.zip
test: add some unit testsHEADmaster
test_config_read: tests if config can be read normally test_make_repo: checks if repo has been created and if cgitrepos updated
Diffstat (limited to 'resources/test/testcgitrepos.1.test')
-rw-r--r--resources/test/testcgitrepos.1.test15
1 files changed, 15 insertions, 0 deletions
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