All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.kroxylicious.testing.kafka.api.KroxyliciousTestInfo Maven / Gradle / Ivy

Go to download

Provides the abstract API for a KafkaCluster and meta-annotation for annotations that constrain provided clusters.

The newest version!
/*
 * Copyright Kroxylicious Authors.
 *
 * Licensed under the Apache Software License version 2.0, available at http://www.apache.org/licenses/LICENSE-2.0
 */
package io.kroxylicious.testing.kafka.api;

import java.lang.reflect.Method;
import java.util.Optional;
import java.util.Set;

import org.junit.jupiter.api.TestInfo;

public record KroxyliciousTestInfo(String displayName, Optional> testClass, Optional testMethod, Set tags) implements TestInfo {
    @Override
    public String getDisplayName() {
        return displayName;
    }

    @Override
    public Set getTags() {
        return tags;
    }

    @Override
    public Optional> getTestClass() {
        return testClass;
    }

    @Override
    public Optional getTestMethod() {
        return testMethod;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy