Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » password for JUnit test
password for JUnit test [message #520357] Fri, 12 March 2010 05:10 Go to next message
Raistlin is currently offline RaistlinFriend
Messages: 4
Registered: March 2010
Junior Member
Hi,

I downloaded the Mylyn source code and tried to run a JUnit test for org.eclipse.mylyn.jira.tests

I followed the instructions on
http://wiki.eclipse.org/index.php/Mylyn/Contributor_Referenc e#JUnit_tests

I created the credentials.properties under org.eclipse.mylyn.context.tests with
user: test@mylyn.eclipse.org
pass:

I got the following error with the password values I tried:
org.eclipse.mylyn.internal.jira.core.service.JiraAuthenticat ionException: Invalid user name or password

Can I ask what is the password here? I don't understand what is the "<project's name lowercase>test" here. Can you give me an example?

Thanks
Lin

[Updated on: Fri, 12 March 2010 05:11]

Report message to a moderator

Re: password for JUnit test [message #520373 is a reply to message #520357] Fri, 12 March 2010 07:12 Go to previous messageGo to next message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
You should have the following lines in the credentials.properties:

user: test@mylyn.eclipse.org
pass: <project's name lowercase>test

Substitute <project's name lowercase> with mylyn.

Steffen


Raistlin wrote:

> Hi,
>
> I downloaded the Mylyn source code and tried to run a JUnit test for
> org.eclipse.mylyn.jira.tests
>
> I followed the instructions on
> http://wiki.eclipse.org/index.php/Mylyn/Contributor_Referenc e#JUnit_tests
>
> I created the credentials.properties under org.eclipse.mylyn.context.tests
> with user: mailto:test@mylyn.eclipse.org
> pass:
>
> I got the following error with the password values I tried:
> org.eclipse.mylyn.internal.jira.core.service.JiraAuthenticat
> ionException: Invalid user name or password
>
> Can I ask what is the password here? I don't understand what is the
> "<project's name lowercase>test" here. Can you give me an example?
>
> Thanks
> Lin

--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com
Re: password for JUnit test [message #520468 is a reply to message #520373] Fri, 12 March 2010 14:10 Go to previous messageGo to next message
Raistlin is currently offline RaistlinFriend
Messages: 4
Registered: March 2010
Junior Member
Hi Steffen,

Thank you very much. I tried with
user: test@org.eclipse.mylyn
pass: mylyntest

Then I got
org.eclipse.mylyn.internal.jira.core.service.JiraAuthenticat ionException: Invalid user name or password

The first error showed at method testValidate39 of org.eclipse.mylyn.jira.tests.core.JiraClientFactoryTest

Any idea? Thanks.

Lin
Re: password for JUnit test [message #520526 is a reply to message #520468] Fri, 12 March 2010 17:50 Go to previous message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
Hi,

sorry, the username had a typo. It needs to be tests and not test:

user: tests@org.eclipse.mylyn

The password looks rights.

Steffen


> Hi Steffen,
>
> Thank you very much. I tried with
> user: tests@org.eclipse.mylyn
> pass: mylyntest
>
> Then I got
> org.eclipse.mylyn.internal.jira.core.service.JiraAuthenticat
> ionException: Invalid user name or password
>
> The first error showed at method testValidate39 of
> org.eclipse.mylyn.jira.tests.core.JiraClientFactoryTest
>
> Any idea? Thanks.
>
> Lin

--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com
Re: password for JUnit test [message #600926 is a reply to message #520373] Fri, 12 March 2010 14:10 Go to previous message
Raistlin is currently offline RaistlinFriend
Messages: 4
Registered: March 2010
Junior Member
Hi Steffen,

Thank you very much. I tried with
user: mailto:test@org.eclipse.mylyn
pass: mylyntest

Then I got
org.eclipse.mylyn.internal.jira.core.service.JiraAuthenticat ionException: Invalid user name or password

The first error showed at method testValidate39 of org.eclipse.mylyn.jira.tests.core.JiraClientFactoryTest

Any idea? Thanks.

Lin
Re: password for JUnit test [message #600931 is a reply to message #600926] Fri, 12 March 2010 17:50 Go to previous message
Steffen Pingel is currently offline Steffen PingelFriend
Messages: 706
Registered: July 2009
Senior Member
Hi,

sorry, the username had a typo. It needs to be tests and not test:

user: tests@org.eclipse.mylyn

The password looks rights.

Steffen


> Hi Steffen,
>
> Thank you very much. I tried with
> user: tests@org.eclipse.mylyn
> pass: mylyntest
>
> Then I got
> org.eclipse.mylyn.internal.jira.core.service.JiraAuthenticat
> ionException: Invalid user name or password
>
> The first error showed at method testValidate39 of
> org.eclipse.mylyn.jira.tests.core.JiraClientFactoryTest
>
> Any idea? Thanks.
>
> Lin

--
Steffen Pingel
Committer, http://eclipse.org/mylyn
Senior Developer, http://tasktop.com
Previous Topic:password for JUnit test
Next Topic:open attachemtn with default editor?
Goto Forum:
  


Current Time: Fri Nov 28 17:32:42 GMT 2014

Powered by FUDForum. Page generated in 0.02975 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software