Class BuildTypeTemplateAssert
- java.lang.Object
-
- org.assertj.core.api.AbstractAssert<S,A>
-
- jetbrains.buildServer.serverSide.asserts.SPersistentEntityAssert<BuildTypeTemplateAssert,BuildTypeTemplate>
-
- jetbrains.buildServer.serverSide.asserts.BuildTypeTemplateAssert
-
- All Implemented Interfaces:
org.assertj.core.api.Assert<BuildTypeTemplateAssert,BuildTypeTemplate>,org.assertj.core.api.Descriptable<BuildTypeTemplateAssert>,org.assertj.core.api.ExtensionPoints<BuildTypeTemplateAssert,BuildTypeTemplate>
public class BuildTypeTemplateAssert extends SPersistentEntityAssert<BuildTypeTemplateAssert,BuildTypeTemplate>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildTypeTemplateAssertbelongsTo(SProject expected)<T> BuildTypeTemplateAsserthasDeclaredOption(Option<T> option, T expected)<T> BuildTypeTemplateAsserthasOption(Option<T> option, T value)<T> BuildTypeTemplateAsserthasOptionDefaultValue(Option<T> option, T expected)BuildTypeTemplateAsserthasParameter(String parameterKey, String value, String spec)BuildTypeTemplateAsserthasParametersContainingOnly(org.assertj.core.data.MapEntry... expected)BuildTypeTemplateAsserthasParameterValue(String parameterKey, String expectedValue)BuildTypeTemplateAsserthasVcsRootsContainingOnly(String... vcsRootExternalIds)Assert that Teamplate has only VcsRoots with specified external ids in any order.BuildTypeTemplateAsserthasVcsRootsContainingOnly(SVcsRoot... vcsRoots)Assert that Teamplate has only specified VcsRoots in any order.-
Methods inherited from class jetbrains.buildServer.serverSide.asserts.SPersistentEntityAssert
hasExternalId, hasName
-
Methods inherited from class org.assertj.core.api.AbstractAssert
as, as, describedAs, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, equals, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, inBinary, inHexadecimal, is, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, overridingErrorMessage, usingComparator, usingDefaultComparator
-
-
-
-
Method Detail
-
belongsTo
public BuildTypeTemplateAssert belongsTo(SProject expected)
-
hasParametersContainingOnly
public BuildTypeTemplateAssert hasParametersContainingOnly(org.assertj.core.data.MapEntry... expected)
-
hasVcsRootsContainingOnly
public BuildTypeTemplateAssert hasVcsRootsContainingOnly(String... vcsRootExternalIds)
Assert that Teamplate has only VcsRoots with specified external ids in any order.
-
hasVcsRootsContainingOnly
public BuildTypeTemplateAssert hasVcsRootsContainingOnly(SVcsRoot... vcsRoots)
Assert that Teamplate has only specified VcsRoots in any order.
-
hasOption
public <T> BuildTypeTemplateAssert hasOption(@NotNull Option<T> option, @NotNull T value)
-
hasOptionDefaultValue
public <T> BuildTypeTemplateAssert hasOptionDefaultValue(Option<T> option, T expected)
-
hasDeclaredOption
public <T> BuildTypeTemplateAssert hasDeclaredOption(Option<T> option, T expected)
-
hasParameterValue
public BuildTypeTemplateAssert hasParameterValue(@NotNull String parameterKey, @Nullable String expectedValue)
-
hasParameter
public BuildTypeTemplateAssert hasParameter(@NotNull String parameterKey, @Nullable String value, @Nullable String spec)
-
-