Commits
md_5 authored d022084a476
1 1 | package org.bukkit.metadata; |
2 2 | |
3 3 | import static org.junit.jupiter.api.Assertions.*; |
4 4 | import java.util.List; |
5 5 | import java.util.concurrent.Callable; |
6 6 | import org.bukkit.plugin.Plugin; |
7 7 | import org.bukkit.plugin.TestPlugin; |
8 + | import org.junit.jupiter.api.MethodOrderer; |
8 9 | import org.junit.jupiter.api.Test; |
10 + | import org.junit.jupiter.api.TestMethodOrder; |
9 11 | |
12 + | MethodOrderer.MethodName.class) | (
10 13 | public class MetadataStoreTest { |
11 14 | private Plugin pluginX = new TestPlugin("x"); |
12 15 | private Plugin pluginY = new TestPlugin("y"); |
13 16 | |
14 17 | StringMetadataStore subject = new StringMetadataStore(); |
15 18 | |
16 19 | |
17 20 | public void testMetadataStore() { |
18 21 | subject.setMetadata("subject", "key", new FixedMetadataValue(pluginX, 10)); |
19 22 | |