aboutsummaryrefslogtreecommitdiff
path: root/src/test
AgeCommit message (Collapse)Author
2021-07-13Update parchment urlmodmuss50
2021-07-12Test AW field remapping (#433)Juuxel
2021-07-10Fix header file from merge.modmuss50
I should have really waited for the PRs to be merged first thinking about it..
2021-07-10Fix local file mod dependencies (#430)Juuxel
* ModProcessor: Add more descriptive error TR output error message * Fix flatDir/files/fileTree mod dependencies * Add clarifying comment * Use hash as a placeholder version * ProjectTestTrait: Copy instead of reading and writing text This allows having jars and other binary data in tests. * Add integration test for local file dependencies * Use File.bytes instead of Files.copy * Use truncated SHA256 instead of murmur3
2021-07-10Use spotless for header validation, years have been back-filled from git historymodmuss50
2021-07-05Fix yet another gradle deprecation, expand tests to cover itmodmuss50
2021-07-04Use a detached configuration to add jetbrains annotations to the source ↵modmuss50
remapper classpath.
2021-06-30Update ReproducibleBuildTest hashes, the tiny remapper update caused this.modmuss50
2021-06-30Update ASM and nightly gradlemodmuss50
2021-06-28fix broken test introduced in 54d6ef7896f22f89d6594703d09e3195c814cf10 (#424)LogicFan
2021-06-20Fix typo "officalMojangMappings" (#420)shedaniel
Signed-off-by: shedaniel <daniel@shedaniel.me>
2021-06-14Basic layered mappings with @ParchmentMC support (#413)modmuss50
2021-06-13Fix new gradle 8.0 deprecation added in 7.2 (#416)modmuss50
* Fix new gradle 8.0 deprecation added in 7.2 * Handle bootstrap tests a bit better * Fix 0.9 wrapper tests
2021-06-02Revert "Update mercury (#408)"modmuss50
This reverts commit 50d6fd298d7ac450dea1b8475c43e73255e674b5.
2021-06-02Update mercury (#408)modmuss50
2021-06-01Fix MergedNestedJarProvider not calling the child's preparemodmuss50
2021-05-28Fix local ivy layout not respecting classifiers. Fixes #407modmuss50
2021-05-22add support for new dependencyResolutionManagement (#400)LogicFan
* move repo declartions - Move repository declartions in MavenConfiguration.java to LoomRepositoryPlugin.java * move repo declartions - Move repository declartions in MinecraftMappedProvider.java to LoomRepositoryPlugin.java * move repo declartions - Move repository declarations in MinecraftProcessedProvider.java to LoomRepositoryPlugin.java * do not add repositories if dependencyResolutionManagement is used * Simplify the change on LoomGradlePlugin - this is the suggestion from liach * change name to follow fabric naming convension - change getProjectUUID to getProjectUuid - change PROJECT_MAPPED_CLASSIFIER to projectMappedClassifier * remove MavenConfiguration.java - the file currently do nothing. * clean-up for all `instanceof` clause * add DependencyResolutionManagementTest * code cleanup * Update src/test/resources/projects/dependencyResolutionManagement/projmap/src/main/resources/modid.accesswidener * change project uuid to project full name Co-authored-by: modmuss50 <modmuss50@gmail.com>
2021-05-20Add SignedProjectTest #404modmuss50
2021-05-12Add a simple java 16 project testmodmuss50
2021-05-12Java 16modmuss50
2021-05-04Update to release 7.0 gradlemodmuss50
2021-05-04Merge branch 'dev/0.7' into future/devmodmuss50
# Conflicts: # src/test/groovy/net/fabricmc/loom/test/util/ProjectTestTrait.groovy
2021-04-10Update to run tests against gradle 7.0 releasemodmuss50
2021-04-09Fix typomodmuss50
2021-04-04Update to Gradle 7 (#380)modmuss50
* Gradle 7 part 1 * Fix actions? * Update actions * Fix tests not running * Fix some broken tests * Update kotlin to try and fix JDK 16 support * Disable KotlinTest on j16 * exclude kotlin test from actions...
2021-04-02Support Groovy 3's QName in GroovyXmlUtil (#379)modmuss50
2021-04-02Update UnpickTest to latest snapshot.modmuss50
This ensures that constants included in the mc jar can be used.
2021-04-02Reorganise tests (#378)modmuss50
2021-03-29Fix name comparision in GroovyXmlUtil (#373)Octavia Togami
Nodes can also have groovy.xml.QNames, which need to be compared using their matches(Object) method.
2021-03-27Add MavenProjectTest (#372)modmuss50
2021-03-25Add basic groovy code style validation.modmuss50
IDK how well this would work on a gradle script but might be interesting to try on yarn or something.
2021-03-25Constant unpicking (#328)modmuss50
* Start adding constant unpicking * Update to use unpick cli * Fix build? * Fix? * Fix log spam when unpicking * Improve unpick tests
2021-03-23Revert some of the changes to genSource's.modmuss50
More work is needed to fix all the issues with it but its not really something I want to get into right now.
2021-03-23Run tests against 7.0-rc-1modmuss50
2021-03-15Ensure outputs are reproducable across all OS's. (#363)modmuss50
2021-03-12Mod Remapping Refactor. (#362)modmuss50
Improved gradle 7 support General cleanup
2021-03-06Add basic MultiProjectTest and a basic RunConfigTestmodmuss50
This should cover most of the main things now.
2021-03-06Fix tests on windowsmodmuss50
2021-03-06Try and fix fernflower forking for the final time. Hopefully helps with #355modmuss50
2021-03-06Fix ReproducibleBuildTestmodmuss50
2021-03-06Rewrite tests to be easier to write and maintain (#361)modmuss50
2021-02-14Run tests against gradle 7 and fail on deprecation. Fix gradle 8 support again.modmuss50
2021-01-29Improve run configs (#318) (#338)modmuss50
Co-authored-by: ShadewRG <onankman@gmail.com> Co-authored-by: UndeadCat | Shadew <redgalaxysw@gmail.com> Co-authored-by: liach <7806504+liach@users.noreply.github.com>
2021-01-17Gradle 7 (and hopefully 8) support (#332)modmuss50
* First pass on gradle 7 support * Fix Gradle 8 deprecation warnings * Add a deprecated compile constant
2020-08-26Tweak testsmodmuss50
2020-06-08Test across java and gradle versions with github actions. (#218)modmuss50
* Experiment with github actions * Fix? * another fix * Fix? * Change github actions run args * Tried and tested is better right? * spaces spaces spaces * revert * info * Just 4.9 * Fixes to support building on newer gradle versions * Forward log output and run tests on runtime gradle version * Remove travis * De-duplicate * Remove daily action, doesnt seem to work so well.
2019-11-09Support using TinyV2 mappings (#132)Fudge
2019-07-24downgrade to gradle 4.9, fix tiny-remapper deprecations, restore old ↵asie
dev/noclassifier behaviour for default RemapJarTask settings
2019-06-16Update Gradle wrapper and make tests use older Gradle version to test ↵Mitchell Skaggs
compatibility