~ubuntu-branches/ubuntu/utopic/testng/utopic

« back to all changes in this revision

Viewing changes to src/main/org/testng/internal/FactoryMethod.java

  • Committer: Bazaar Package Importer
  • Author(s): Marcus Better
  • Date: 2009-07-23 12:11:17 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20090723121117-k1so370589zvpef2
* Changed section to "java".
* debian/rules: Make it work with debhelper 7.3.5. (Closes: #538016)
* Use qdox 1.9 and add a patch for the API changes. Thanks to Ludovic
  Claude.
* debian/control: Bump policy version to 3.8.2.
* debian/control: Build with default-jdk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
package org.testng.internal;
2
2
 
 
3
import org.testng.ITestContext;
 
4
import org.testng.ITestNGMethod;
 
5
import org.testng.ITestResult;
 
6
import org.testng.TestNGException;
 
7
import org.testng.internal.annotations.IAnnotationFinder;
 
8
import org.testng.xml.XmlTest;
 
9
 
3
10
import java.lang.reflect.InvocationTargetException;
4
11
import java.lang.reflect.Method;
5
12
import java.util.ArrayList;
8
15
import java.util.List;
9
16
import java.util.Map;
10
17
 
11
 
import org.testng.ITestClass;
12
 
import org.testng.ITestContext;
13
 
import org.testng.ITestNGMethod;
14
 
import org.testng.TestNGException;
15
 
import org.testng.internal.annotations.IAnnotationFinder;
16
 
import org.testng.xml.XmlTest;
17
 
 
18
18
/**
19
19
 * This class represents a method annotated with @Factory
20
20
 * 
61
61
      Parameters.handleParameters(this, 
62
62
          allParameterNames, 
63
63
          m_instance,
64
 
          new Parameters.MethodParameters(m_xmlTest.getParameters(), null, null, m_testContext), 
 
64
          new Parameters.MethodParameters(m_xmlTest.getParameters(), null, null, m_testContext,
 
65
              null /* testResult */), 
65
66
          m_xmlTest.getSuite(), 
66
67
          m_annotationFinder,
67
 
          null /* fedInstance */);
 
68
          null /* fedInstance */).parameters;
68
69
    
69
70
    try {
70
71
      while (parameterIterator.hasNext()) {