source-controller/pkg/git/libgit2
Sanskar Jaiswal 4ce31319ee libgit2: refactor tests to use managed and unmanaged transport cleanly
Refactors libgit2 checkout tests to test managed and unmanaged
transport by making sure the tests requiring unmanaged transport are run
before, any tests that require managed transport (since disabling
managed transport isn't possible). This is done via arranging the tests
carefully in alphabetically sorted names, i.e. the tests with unmanaged
transport go in `checkout_test.go`, which forces golang to run the tests
in that file before any other tests.

Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
2022-06-09 21:01:17 +05:30
..
managed libgit2: dispose connections in SubTransport.Close 2022-06-08 19:39:50 +01:00
checkout.go libgit2: return CheckoutTag with LastRevision 2022-06-03 14:00:23 +05:30
checkout_test.go libgit2: refactor tests to use managed and unmanaged transport cleanly 2022-06-09 21:01:17 +05:30
libgit2.go gogit: allow checkout of commit without branch 2021-10-27 00:43:31 +05:30
managed_checkout_test.go libgit2: refactor tests to use managed and unmanaged transport cleanly 2022-06-09 21:01:17 +05:30
managed_test.go libgit2: refactor tests to use managed and unmanaged transport cleanly 2022-06-09 21:01:17 +05:30
transport.go fix panics on unmanaged http and proxy on managed http 2022-05-27 14:01:23 +05:30
transport_test.go fix panics on unmanaged http and proxy on managed http 2022-05-27 14:01:23 +05:30