Class KotlinDslGradleBuildAssert
java.lang.Object
org.assertj.core.api.AbstractAssert<SELF,ACTUAL>
org.assertj.core.api.AbstractCharSequenceAssert<SELF,String>
org.assertj.core.api.AbstractStringAssert<SELF>
io.spring.initializr.generator.test.io.AbstractTextAssert<SELF>
io.spring.initializr.generator.test.buildsystem.gradle.GradleBuildAssert<KotlinDslGradleBuildAssert>
io.spring.initializr.generator.test.buildsystem.gradle.KotlinDslGradleBuildAssert
- All Implemented Interfaces:
org.assertj.core.api.Assert<KotlinDslGradleBuildAssert,
,String> org.assertj.core.api.Descriptable<KotlinDslGradleBuildAssert>
,org.assertj.core.api.EnumerableAssert<KotlinDslGradleBuildAssert,
,Character> org.assertj.core.api.ExtensionPoints<KotlinDslGradleBuildAssert,
String>
Simple assertions for a kotlin build using the kotlin DSL.
- Author:
- Prithvi singh, Stephane Nicoll
-
Field Summary
Fields inherited from class org.assertj.core.api.AbstractAssert
actual, info, myself, objects, throwUnsupportedExceptionOnEquals
-
Constructor Summary
ConstructorDescriptionKotlinDslGradleBuildAssert
(String content) KotlinDslGradleBuildAssert
(Path buildGradleFile) -
Method Summary
Modifier and TypeMethodDescriptionAssertbuild.gradle.kts
defines a plugin with the specified id.Assertbuild.gradle.kts
defines a plugin with the specified id and version.protected String
Methods inherited from class io.spring.initializr.generator.test.buildsystem.gradle.GradleBuildAssert
containsOnlyExtProperties, hasProperty, hasSourceCompatibility, hasVersion
Methods inherited from class io.spring.initializr.generator.test.io.AbstractTextAssert
contains, containsExactly, hasSameContentAs, lines
Methods inherited from class org.assertj.core.api.AbstractStringAssert
asBase64Decoded, decodedAsBase64, isBase64, isBetween, isEqualTo, isEqualTo, isGreaterThan, isGreaterThanOrEqualTo, isLessThan, isLessThanOrEqualTo, isStrictlyBetween, usingComparator, usingComparator, usingDefaultComparator
Methods inherited from class org.assertj.core.api.AbstractCharSequenceAssert
contains, contains, containsAnyOf, containsIgnoringCase, containsIgnoringNewLines, containsIgnoringWhitespaces, containsOnlyDigits, containsOnlyOnce, containsOnlyWhitespaces, containsPattern, containsPattern, containsPatternSatisfying, containsPatternSatisfying, containsSequence, containsSequence, containsSubsequence, containsSubsequence, containsWhitespaces, doesNotContain, doesNotContain, doesNotContainAnyWhitespaces, doesNotContainIgnoringCase, doesNotContainOnlyWhitespaces, doesNotContainPattern, doesNotContainPattern, doesNotEndWith, doesNotEndWithIgnoringCase, doesNotMatch, doesNotMatch, doesNotStartWith, doesNotStartWithIgnoringCase, endsWith, endsWithIgnoringCase, hasLineCount, hasSameSizeAs, hasSameSizeAs, hasSameSizeAs, hasSize, hasSizeBetween, hasSizeGreaterThan, hasSizeGreaterThanOrEqualTo, hasSizeLessThan, hasSizeLessThanOrEqualTo, inHexadecimal, inUnicode, isAlphabetic, isAlphanumeric, isASCII, isBlank, isEmpty, isEqualToIgnoringCase, isEqualToIgnoringNewLines, isEqualToIgnoringWhitespace, isEqualToNormalizingNewlines, isEqualToNormalizingPunctuationAndWhitespace, isEqualToNormalizingUnicode, isEqualToNormalizingWhitespace, isHexadecimal, isJavaBlank, isLowerCase, isMixedCase, isNotBlank, isNotEmpty, isNotEqualToIgnoringCase, isNotEqualToIgnoringWhitespace, isNotEqualToNormalizingWhitespace, isNotJavaBlank, isNullOrEmpty, isPrintable, isSubstringOf, isUpperCase, isVisible, isXmlEqualTo, isXmlEqualToContentOf, matches, matches, matchesSatisfying, matchesSatisfying, startsWith, startsWithIgnoringCase, usingDefaultElementComparator, usingElementComparator
Methods inherited from class org.assertj.core.api.AbstractAssert
areEqual, asInstanceOf, asList, assertionError, asString, describedAs, descriptionText, doesNotHave, doesNotHaveSameClassAs, doesNotHaveSameHashCodeAs, doesNotHaveToString, equals, extracting, extracting, failure, failureWithActualExpected, failWithActualExpectedAndMessage, failWithMessage, getWritableAssertionInfo, has, hashCode, hasSameClassAs, hasSameHashCodeAs, hasToString, inBinary, is, isElementOfCustomAssert, isEqualTo, isExactlyInstanceOf, isIn, isIn, isInstanceOf, isInstanceOfAny, isInstanceOfSatisfying, isNot, isNotEqualTo, isNotExactlyInstanceOf, isNotIn, isNotIn, isNotInstanceOf, isNotInstanceOfAny, isNotNull, isNotOfAnyClassIn, isNotSameAs, isNull, isOfAnyClassIn, isSameAs, matches, matches, newListAssertInstance, overridingErrorMessage, overridingErrorMessage, satisfies, satisfies, satisfies, satisfiesAnyOf, satisfiesAnyOf, satisfiesAnyOfForProxy, satisfiesForProxy, setCustomRepresentation, setDescriptionConsumer, setPrintAssertionsDescription, throwAssertionError, usingRecursiveAssertion, usingRecursiveAssertion, usingRecursiveComparison, usingRecursiveComparison, withFailMessage, withFailMessage, withRepresentation, withThreadDumpOnError
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.assertj.core.api.Descriptable
as, as, as, describedAs
-
Constructor Details
-
KotlinDslGradleBuildAssert
-
KotlinDslGradleBuildAssert
-
-
Method Details
-
quote
- Specified by:
quote
in classGradleBuildAssert<KotlinDslGradleBuildAssert>
-
hasPlugin
Assertbuild.gradle.kts
defines a plugin with the specified id and version.- Parameters:
id
- the id of the pluginversion
- the version of the plugin- Returns:
this
assertion object
-
hasPlugin
Assertbuild.gradle.kts
defines a plugin with the specified id.- Parameters:
id
- the id of the plugin- Returns:
this
assertion object
-