Skip to content
Success

Changes

Summary

  1. Expand test framework (#2638) (commit: 13abdcb) (details)
Commit 13abdcb95b59994c758b09318401c497793793c9 by noreply
Expand test framework (#2638)

* Use assertj typed assertions
* Add getTestEmbed
* Remove public visibility from tests
* Expand JsonTest and fix bugs in DataArray
* Add more tests for ser/de
* Refactor LocalizationTest
* Improve test package layout
* Add basic RestAction tests
(commit: 13abdcb)
The file was addedsrc/test/java/net/dv8tion/jda/test/entitystring/ASnowflake.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/data/DataArray.java (diff)
The file was removedsrc/test/java/JsonTest.java
The file was removedsrc/test/java/net/dv8tion/jda/entitystring/EntityStringTest.java
The file was addedsrc/test/java/net/dv8tion/jda/test/data/JsonTest.java
The file was removedsrc/test/java/net/dv8tion/jda/ChannelConsistencyTest.java
The file was addedsrc/test/java/net/dv8tion/jda/test/entities/ActivityTest.java
The file was addedsrc/test/java/net/dv8tion/jda/test/entities/channel/ChannelCacheViewTest.java
The file was modifiedbuild.gradle.kts (diff)
The file was addedsrc/test/java/net/dv8tion/jda/test/entitystring/EntityStringTest.java
The file was addedsrc/test/java/net/dv8tion/jda/test/data/DataPathTest.java
The file was removedsrc/test/java/HelpersTest.java
The file was addedsrc/test/java/net/dv8tion/jda/test/interactions/CommandDataTest.java
The file was addedsrc/test/java/net/dv8tion/jda/test/compliance/ChannelConsistencyComplianceTest.java
The file was addedsrc/test/java/net/dv8tion/jda/test/util/MarkdownUtilTest.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/data/etf/ExTermEncoder.java (diff)
The file was removedsrc/test/java/MarkdownUtilTest.java
The file was addedsrc/test/java/net/dv8tion/jda/test/restaction/MessageCreateActionTest.java
The file was addedsrc/test/java/net/dv8tion/jda/test/util/MarkdownTest.java
The file was removedsrc/test/java/DataPathTest.java
The file was removedsrc/test/java/net/dv8tion/jda/entities/channel/ChannelCacheViewTest.java
The file was removedsrc/test/java/net/dv8tion/jda/entities/MessageSerializationTest.java
The file was addedsrc/test/java/net/dv8tion/jda/test/restaction/RestActionTest.java
The file was addedsrc/test/java/net/dv8tion/jda/test/util/HelpersTest.java
The file was addedsrc/test/java/net/dv8tion/jda/test/entities/MessageSerializationTest.java
The file was addedsrc/test/java/net/dv8tion/jda/test/IntegrationTest.java
The file was addedsrc/test/java/net/dv8tion/jda/test/compliance/EventConsistencyComplianceTest.java
The file was addedsrc/test/java/net/dv8tion/jda/test/interactions/LocalizationTest.java
The file was removedsrc/test/java/net/dv8tion/jda/entitystring/AnEntity.java
The file was removedsrc/test/java/MarkdownTest.java
The file was addedsrc/test/java/net/dv8tion/jda/test/entitystring/AnEntity.java
The file was removedsrc/test/java/LocalizationTest.java
The file was removedsrc/test/java/CommandDataTest.java
The file was modifiedsrc/main/java/net/dv8tion/jda/api/utils/data/DataObject.java (diff)
The file was removedsrc/test/java/net/dv8tion/jda/entities/ActivityTest.java
The file was removedsrc/test/java/net/dv8tion/jda/entitystring/ASnowflake.java
The file was removedsrc/test/java/net/dv8tion/jda/interactions/SelectMenuTests.java
The file was addedsrc/test/java/net/dv8tion/jda/test/PrettyRepresentation.java
The file was addedsrc/test/java/net/dv8tion/jda/test/interactions/SelectMenuTests.java
The file was removedsrc/test/java/net/dv8tion/jda/EventConsistencyTest.java