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

autofixture.interfaces.InlineGeneratorsFactory Maven / Gradle / Ivy

Go to download

An attempt to reimplement core features of a popular .NET anonymous value generator - AutoFixture - in Java

There is a newer version: 2.1.10
Show newest version
package autofixture.interfaces;

import com.google.common.reflect.TypeToken;

/**
 * Created by grzes on 20.03.2017.
 */
public interface InlineGeneratorsFactory {
  InlineInstanceGenerator stringContaining(String str);

  InlineInstanceGenerator alphaString(int length);

  InlineInstanceGenerator uppercaseString();

  InlineInstanceGenerator lowercaseString();

  InlineInstanceGenerator uppercaseString(int length);

  InlineInstanceGenerator lowercaseString(int length);

  InlineInstanceGenerator identifierString();

  InlineInstanceGenerator digitChar();

  InlineInstanceGenerator stringNotContaining(String... excludedSubstrings);

  InlineInstanceGenerator alphaChar();

  InlineInstanceGenerator alphaString();

  InlineInstanceGenerator stringOfLength(int charactersCount);

   InlineInstanceGenerator from(T[] possibleValues);

   InlineInstanceGenerator exploding(TypeToken instance);

   InlineConstrainedGenerator otherThan(T... omittedValues);

   InlineConstrainedGenerator without(T... omittedValues);

  InlineInstanceGenerator portNumber();
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy