-
Notifications
You must be signed in to change notification settings - Fork 138
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5bf87aa
commit 1521277
Showing
4 changed files
with
32 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
src/test/java/com/mojang/serialization/IntroCodecsRecordReaderTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package com.mojang.serialization; | ||
|
||
// Potential points for comment: | ||
// Introduce here a reference to scodec ? | ||
// Re-iterate on the dependencies between DFU s + Dynamics + Codecs here? | ||
|
||
import org.junit.jupiter.api.Test; | ||
|
||
import static org.hamcrest.MatcherAssert.assertThat; | ||
import static org.hamcrest.Matchers.is; | ||
|
||
record PlaceholderRecord(String name, int age) {} | ||
|
||
public class IntroCodecsRecordReaderTest { | ||
public IntroCodecsRecordReaderTest() {} | ||
|
||
// Define the Codec around here | ||
|
||
@Test | ||
public void FailOnPurpose() { | ||
assertThat("Works", false, is(true)); | ||
Check failure on line 21 in src/test/java/com/mojang/serialization/IntroCodecsRecordReaderTest.java GitHub Actions / JUnit Test ReportIntroCodecsRecordReaderTest.FailOnPurpose()
Raw output
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
src/test/java/com/mojang/serialization/intro_00_record_reader.java
This file was deleted.
Oops, something went wrong.