Class RegistryCodecTests<T>
java.lang.Object
net.darkhax.bookshelf.impl.gametest.tests.CodecTests<T>
net.darkhax.bookshelf.impl.gametest.tests.RegistryCodecTests<T>
- All Implemented Interfaces:
ITestable
-
Field Summary
Fields inherited from class net.darkhax.bookshelf.impl.gametest.tests.CodecTests
codecHelper, collection, equality, singleton, type -
Constructor Summary
ConstructorsConstructorDescriptionRegistryCodecTests(String type, CodecHelper<T> codecHelper, T... collection) -
Method Summary
Modifier and TypeMethodDescriptionvoidtest_missing_gives_null(net.minecraft.gametest.framework.GameTestHelper helper) Methods inherited from class net.darkhax.bookshelf.impl.gametest.tests.CodecTests
fromJson, fromJson, getDefaultBatch, test_array, test_list, test_list_empty, test_list_singleton, test_nullable, test_nullable_null, test_optional, test_optional_empty, test_set, test_singleton, test_weighted, test_weighted_list, toJson, toJson
-
Constructor Details
-
RegistryCodecTests
-
-
Method Details
-
test_missing_gives_null
public void test_missing_gives_null(net.minecraft.gametest.framework.GameTestHelper helper)
-