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 BuildTypeTemplateAssert
belongsTo(SProject expected)
<T> BuildTypeTemplateAssert
hasDeclaredOption(Option<T> option, T expected)
<T> BuildTypeTemplateAssert
hasOption(Option<T> option, T value)
<T> BuildTypeTemplateAssert
hasOptionDefaultValue(Option<T> option, T expected)
BuildTypeTemplateAssert
hasParameter(String parameterKey, String value, String spec)
BuildTypeTemplateAssert
hasParametersContainingOnly(org.assertj.core.data.MapEntry... expected)
BuildTypeTemplateAssert
hasParameterValue(String parameterKey, String expectedValue)
BuildTypeTemplateAssert
hasVcsRootsContainingOnly(String... vcsRootExternalIds)
Assert that Teamplate has only VcsRoots with specified external ids in any order.BuildTypeTemplateAssert
hasVcsRootsContainingOnly(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)
-
-