- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for throw (0.15 sec)
-
build-logic/documentation/src/test/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepositoryTest.groovy
given: repository.put('unkown', new TestDomainObject('unknown')) when: repository.get('unknown') then: UnknownDomainObjectException e = thrown() e.message == 'No meta-data is available for class \'unknown\'. Did you mean? [unkown]' } def getFailsForWrongPackage() { given:
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Sat Apr 06 02:21:33 GMT 2024 - 3.8K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ExtractDslMetaDataTask.groovy
if (!sourceFile.name.endsWith('.java')) { throw new DocGenerationException("Parsing non-Java files is not supported: $sourceFile") } try { new JavaParser().parse(sourceFile).getResult().get().accept(new SourceMetaDataVisitor(), repository) } catch (Exception e) { throw new DocGenerationException("Could not parse '$sourceFile'.", e) } }
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Mon Jan 08 12:45:57 GMT 2024 - 4.4K bytes - Viewed (0) -
.github/workflows/CheckBadMerge.groovy
List<String> badFiles = MONITORED_FILES.grep { isBadFileInMergeCommit(it, commit, parentCommits[0], parentCommits[1]) } if (!badFiles.isEmpty()) { throw new RuntimeException("Found bad files in merge commit $commit: $badFiles") } else { println("No bad files found in $commit") } } else {
Groovy - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Tue Dec 19 10:35:44 GMT 2023 - 6.5K bytes - Viewed (0)