Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jgit-dev] http server with authentication for EGit UI Tests

On Thu, Dec 2, 2010 at 7:57 AM, Baumgart, Jens <jens.baumgart@xxxxxxx> wrote:
> I’d like to implement EGit UI tests for the new EGit http authentication
> feature.
> These tests need a simple in process http server with authentication.
> I found that org.eclipse.jgit.http.test.util. AppServer plus some code from
> HttpTestCase and HttpClientTests implements such a server.
> I’d like to put this code in a new class SimpleHttpServer. This class could
> be resused by both JGit http tests and EGit UI tests.
> Where should I put SimpleHttpServer, AppServer etc to make it accessible
> from EGit UI tests? In a new plug in org.eclipse.jgit.junit.http?

Yes, it should move into a new junit.http component.

Depending on this will cause EGit to depend upon Jetty... but for
testing only.  Fortunately Jetty is an Eclipse hosted project, so you
don't need to open a CQ for it.  :-)


Back to the top