aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/testng/internal/DataProviderHolder.java
blob: 47162cc3a0922d472fcdc060c2148fa6c2699cd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
package org.testng.internal;

import org.testng.annotations.IDataProviderAnnotation;

import java.lang.reflect.Method;

/**
 * A holder for a pair of Method and IDataProviderAnnotation
 */
public class DataProviderHolder {
  Object instance;
  Method method;
  IDataProviderAnnotation annotation;

  public DataProviderHolder(IDataProviderAnnotation annotation, Method method, Object instance) {
    this.annotation = annotation;
    this.method = method;
    this.instance = instance;
  }
}