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

I'm pretty sure you have to do at least a piggy-back CQ. Chris?

On Thu, Dec 2, 2010 at 7:32 PM, Shawn Pearce <spearce@xxxxxxxxxxx> wrote:
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.  :-)

--
Shawn.
_______________________________________________
jgit-dev mailing list
jgit-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jgit-dev



--
Benjamin Muskalla
Tasktop Technologies
+49 721 33 59 204
http://tasktop.com

Back to the top