[Mantisconnect-cvs] SF.net SVN: mantisconnect: [147] mantisconnect/trunk/clients/java/ client-api
Brought to you by:
vboctor
From: <pl...@us...> - 2007-12-04 18:36:00
|
Revision: 147 http://mantisconnect.svn.sourceforge.net/mantisconnect/?rev=147&view=rev Author: planser Date: 2007-12-04 10:35:57 -0800 (Tue, 04 Dec 2007) Log Message: ----------- Some minor changes regarding tests Modified Paths: -------------- mantisconnect/trunk/clients/java/client-api/build.properties.sample mantisconnect/trunk/clients/java/client-api/src/test/org/mantisbt/connect/axis/MantisConnectPortTypeTest.java Property Changed: ---------------- mantisconnect/trunk/clients/java/client-api/ Property changes on: mantisconnect/trunk/clients/java/client-api ___________________________________________________________________ Name: svn:ignore - classes dist build.properties + classes dist build.properties build Modified: mantisconnect/trunk/clients/java/client-api/build.properties.sample =================================================================== --- mantisconnect/trunk/clients/java/client-api/build.properties.sample 2007-11-01 15:40:48 UTC (rev 146) +++ mantisconnect/trunk/clients/java/client-api/build.properties.sample 2007-12-04 18:35:57 UTC (rev 147) @@ -6,8 +6,8 @@ # The site we're testing against test.url = ${mantis.url} # Proxy settings, empty values allowed. -test.proxy.host = -test.proxy.port = +test.proxyHost = +test.proxyPort = test.user = administrator test.password = root # Projects which are accessible by the given user (separated by semicolon) @@ -21,7 +21,7 @@ # All future versions of the project with the id above (separated by semicolon) test.project.versions.future = 2.0 # All filters we get with the project (separated by semicolon) -# The first filter should return at least one issue. +# Each of them should return at least one issue. test.project.filters = ReportedByMe;AssignedToMe # Names of custom fields expected for issues test.project.customfields = ADateField;AStringField Modified: mantisconnect/trunk/clients/java/client-api/src/test/org/mantisbt/connect/axis/MantisConnectPortTypeTest.java =================================================================== --- mantisconnect/trunk/clients/java/client-api/src/test/org/mantisbt/connect/axis/MantisConnectPortTypeTest.java 2007-11-01 15:40:48 UTC (rev 146) +++ mantisconnect/trunk/clients/java/client-api/src/test/org/mantisbt/connect/axis/MantisConnectPortTypeTest.java 2007-12-04 18:35:57 UTC (rev 147) @@ -130,9 +130,8 @@ private IssueData getFirstIssue() { try { - FilterData filter = portType.mc_filter_get(user, pwd, getAccessibleProject())[0]; - IssueData issue = portType.mc_filter_get_issues(user, pwd, getAccessibleProject(), - filter.getId(), BigInteger.valueOf(1), BigInteger.valueOf(10))[0]; + IssueData issue = portType.mc_project_get_issues(user, pwd, getAccessibleProject(), + BigInteger.valueOf(1), BigInteger.valueOf(10))[0]; return issue; } catch (RemoteException e) { return null; @@ -141,9 +140,8 @@ private IssueData getLastIssue() { try { - FilterData filter = portType.mc_filter_get(user, pwd, getAccessibleProject())[0]; - IssueData[] issues = portType.mc_filter_get_issues(user, pwd, getAccessibleProject(), - filter.getId(), BigInteger.valueOf(1), BigInteger.valueOf(10)); + IssueData[] issues = portType.mc_project_get_issues(user, pwd, getAccessibleProject(), + BigInteger.valueOf(1), BigInteger.valueOf(10)); return issues[issues.length - 1]; } catch (RemoteException e) { return null; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |