use of com.google.cloud.tools.opensource.classpath.MethodSymbol in project cloud-opensource-java by GoogleCloudPlatform.
the class LinkageMonitorTest method setup.
@Before
public void setup() throws IOException {
system = RepositoryUtility.newRepositorySystem();
session = RepositoryUtility.newSession(system);
methodNotFoundProblemFromA = new SymbolNotFoundProblem(new ClassFile(jarA, "com.abc.AAA"), new ClassFile(jarB, "io.grpc.protobuf.ProtoUtils"), new MethodSymbol("io.grpc.protobuf.ProtoUtils", "marshaller", "(Lcom/google/protobuf/Message;)Lio/grpc/MethodDescriptor$Marshaller;", false));
methodNotFoundProblemFromB = new SymbolNotFoundProblem(new ClassFile(jarA, "com.abc.BBB"), new ClassFile(jarB, "io.grpc.protobuf.ProtoUtils"), new MethodSymbol("io.grpc.protobuf.ProtoUtils", "marshaller", "(Lcom/google/protobuf/Message;)Lio/grpc/MethodDescriptor$Marshaller;", false));
}
Aggregations