Skip to content

Commit

Permalink
Cleared up Class name for Imports
Browse files Browse the repository at this point in the history
  • Loading branch information
MeAlam1 committed Dec 11, 2024
1 parent 39488a8 commit b492358
Show file tree
Hide file tree
Showing 10 changed files with 68 additions and 68 deletions.
106 changes: 53 additions & 53 deletions common/src/main/java/software/bluelib/test/markdown/Markdown.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,107 +9,107 @@ public class Markdown {
@GameTest
public static void bold(GameTestHelper pHelper) {
pHelper.succeedIf(() -> {
Bold.bold(pHelper);
Bold.boldBold(pHelper);
Bold.boldItalic(pHelper);
Bold.boldUnderline(pHelper);
Bold.boldStrikethrough(pHelper);
Bold.boldHyperlink(pHelper);
Bold.boldColor(pHelper);
Bold.boldCancel(pHelper);
BoldTest.bold(pHelper);
BoldTest.boldBold(pHelper);
BoldTest.boldItalic(pHelper);
BoldTest.boldUnderline(pHelper);
BoldTest.boldStrikethrough(pHelper);
BoldTest.boldHyperlink(pHelper);
BoldTest.boldColor(pHelper);
BoldTest.boldCancel(pHelper);
});
}

@GameTest
public static void italic(GameTestHelper pHelper) {
pHelper.succeedIf(() -> {
Italic.italic(pHelper);
Italic.italicBold(pHelper);
Italic.italicItalic(pHelper);
Italic.italicUnderline(pHelper);
Italic.italicStrikethrough(pHelper);
Italic.italicHyperlink(pHelper);
Italic.italicColor(pHelper);
Italic.italicCancel(pHelper);
ItalicTest.italic(pHelper);
ItalicTest.italicBold(pHelper);
ItalicTest.italicItalic(pHelper);
ItalicTest.italicUnderline(pHelper);
ItalicTest.italicStrikethrough(pHelper);
ItalicTest.italicHyperlink(pHelper);
ItalicTest.italicColor(pHelper);
ItalicTest.italicCancel(pHelper);
});
}

@GameTest
public static void underline(GameTestHelper pHelper) {
pHelper.succeedIf(() -> {
Underline.underline(pHelper);
Underline.underlineBold(pHelper);
Underline.underlineItalic(pHelper);
Underline.underlineUnderline(pHelper);
Underline.underlineStrikethrough(pHelper);
Underline.underlineHyperlink(pHelper);
Underline.underlineColor(pHelper);
Underline.underlineCancel(pHelper);
UnderlineTest.underline(pHelper);
UnderlineTest.underlineBold(pHelper);
UnderlineTest.underlineItalic(pHelper);
UnderlineTest.underlineUnderline(pHelper);
UnderlineTest.underlineStrikethrough(pHelper);
UnderlineTest.underlineHyperlink(pHelper);
UnderlineTest.underlineColor(pHelper);
UnderlineTest.underlineCancel(pHelper);
});
}

@GameTest
public static void strikethrough(GameTestHelper pHelper) {
pHelper.succeedIf(() -> {
Strikethrough.strikethrough(pHelper);
Strikethrough.strikethroughBold(pHelper);
Strikethrough.strikethroughItalic(pHelper);
Strikethrough.strikethroughUnderline(pHelper);
Strikethrough.strikethroughStrikethrough(pHelper);
Strikethrough.strikethroughHyperlink(pHelper);
Strikethrough.strikethroughColor(pHelper);
Strikethrough.strikethroughCancel(pHelper);
StrikethroughTest.strikethrough(pHelper);
StrikethroughTest.strikethroughBold(pHelper);
StrikethroughTest.strikethroughItalic(pHelper);
StrikethroughTest.strikethroughUnderline(pHelper);
StrikethroughTest.strikethroughStrikethrough(pHelper);
StrikethroughTest.strikethroughHyperlink(pHelper);
StrikethroughTest.strikethroughColor(pHelper);
StrikethroughTest.strikethroughCancel(pHelper);
});
}

@GameTest
public static void hyperlink(GameTestHelper pHelper) {
pHelper.succeedIf(() -> {
Hyperlink.hyperlink(pHelper);
Hyperlink.hyperlinkBold(pHelper);
Hyperlink.hyperlinkItalic(pHelper);
Hyperlink.hyperlinkUnderline(pHelper);
Hyperlink.hyperlinkStrikethrough(pHelper);
Hyperlink.hyperlinkHyperlink(pHelper);
Hyperlink.hyperlinkColor(pHelper);
Hyperlink.hyperlinkCancel(pHelper);
Hyperlink.hyperlinkInvalid(pHelper);
HyperlinkTest.hyperlink(pHelper);
HyperlinkTest.hyperlinkBold(pHelper);
HyperlinkTest.hyperlinkItalic(pHelper);
HyperlinkTest.hyperlinkUnderline(pHelper);
HyperlinkTest.hyperlinkStrikethrough(pHelper);
HyperlinkTest.hyperlinkHyperlink(pHelper);
HyperlinkTest.hyperlinkColor(pHelper);
HyperlinkTest.hyperlinkCancel(pHelper);
HyperlinkTest.hyperlinkInvalid(pHelper);
});
}

@GameTest
public static void color(GameTestHelper pHelper) {
pHelper.succeedIf(() -> {
Color.color(pHelper);
Color.colorBold(pHelper);
Color.colorItalic(pHelper);
Color.colorUnderline(pHelper);
Color.colorStrikethrough(pHelper);
Color.colorHyperlink(pHelper);
Color.colorColor(pHelper);
Color.colorCancel(pHelper);
Color.colorInvalid(pHelper);
ColorTest.color(pHelper);
ColorTest.colorBold(pHelper);
ColorTest.colorItalic(pHelper);
ColorTest.colorUnderline(pHelper);
ColorTest.colorStrikethrough(pHelper);
ColorTest.colorHyperlink(pHelper);
ColorTest.colorColor(pHelper);
ColorTest.colorCancel(pHelper);
ColorTest.colorInvalid(pHelper);
});
}

@GameTest
public static void all(GameTestHelper pHelper) {
pHelper.succeedIf(() -> {
All.testAllCombinations(pHelper);
MarkdownAllTest.testAllCombinations(pHelper);
});
}

@GameTest
public static void allTwice(GameTestHelper pHelper) {
pHelper.succeedIf(() -> {
AllTwice.testAllCombinations(pHelper);
MarkdownAllTwiceTest.testAllCombinations(pHelper);
});
}

@GameTest
public static void allCancel(GameTestHelper pHelper) {
pHelper.succeedIf(() -> {
AllCancel.testAllCombinations(pHelper);
MarkdownAllCancelTest.testAllCombinations(pHelper);
});
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import net.minecraft.gametest.framework.GameTestHelper;
import software.bluelib.test.utils.MessageUtils;

public class AllCancel {
public class MarkdownAllCancelTest {

private static final List<String> STYLES = List.of(
"**bold**", // Bold
Expand Down Expand Up @@ -33,14 +33,14 @@ public static void testAllCombinations(GameTestHelper pHelper) {

private static List<List<String>> generateCombinations() {
List<List<String>> combinations = new ArrayList<>();
int n = AllCancel.STYLES.size();
int n = MarkdownAllCancelTest.STYLES.size();
int totalCombinations = 1 << n;

for (int i = 0; i < totalCombinations; i++) {
List<String> combination = new ArrayList<>();
for (int j = 0; j < n; j++) {
if ((i & (1 << j)) != 0) {
combination.add(AllCancel.STYLES.get(j));
combination.add(MarkdownAllCancelTest.STYLES.get(j));
}
}
combinations.add(combination);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import net.minecraft.gametest.framework.GameTestHelper;
import software.bluelib.test.utils.MessageUtils;

public class All {
public class MarkdownAllTest {

private static final List<String> STYLES = List.of(
"**bold**", // Bold
Expand All @@ -27,14 +27,14 @@ public static void testAllCombinations(GameTestHelper pHelper) {

private static List<List<String>> generateCombinations() {
List<List<String>> combinations = new ArrayList<>();
int n = All.STYLES.size();
int n = MarkdownAllTest.STYLES.size();
int totalCombinations = 1 << n;

for (int i = 0; i < totalCombinations; i++) {
List<String> combination = new ArrayList<>();
for (int j = 0; j < n; j++) {
if ((i & (1 << j)) != 0) {
combination.add(All.STYLES.get(j));
combination.add(MarkdownAllTest.STYLES.get(j));
}
}
combinations.add(combination);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import net.minecraft.gametest.framework.GameTestHelper;
import software.bluelib.test.utils.MessageUtils;

public class AllTwice {
public class MarkdownAllTwiceTest {

private static final List<String> STYLES = List.of(
"**bold**", // Bold
Expand Down Expand Up @@ -33,14 +33,14 @@ public static void testAllCombinations(GameTestHelper pHelper) {

private static List<List<String>> generateCombinations() {
List<List<String>> combinations = new ArrayList<>();
int n = AllTwice.STYLES.size();
int n = MarkdownAllTwiceTest.STYLES.size();
int totalCombinations = 1 << n;

for (int i = 0; i < totalCombinations; i++) {
List<String> combination = new ArrayList<>();
for (int j = 0; j < n; j++) {
if ((i & (1 << j)) != 0) {
combination.add(AllTwice.STYLES.get(j));
combination.add(MarkdownAllTwiceTest.STYLES.get(j));
}
}
combinations.add(combination);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import net.minecraft.gametest.framework.GameTestHelper;
import software.bluelib.test.utils.MessageUtils;

public class Bold {
public class BoldTest {

public static void bold(GameTestHelper pHelper) {
MessageUtils.sendMessageToPlayers(pHelper, "§6 This is a bold test: §r **bold**");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import net.minecraft.gametest.framework.GameTestHelper;
import software.bluelib.test.utils.MessageUtils;

public class Color {
public class ColorTest {

public static void color(GameTestHelper pHelper) {
MessageUtils.sendMessageToPlayers(pHelper, "§6 This is a color test: §r -#" + MessageUtils.getRandomHex() + "-(Color)");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import net.minecraft.gametest.framework.GameTestHelper;
import software.bluelib.test.utils.MessageUtils;

public class Hyperlink {
public class HyperlinkTest {

public static void hyperlink(GameTestHelper pHelper) {
MessageUtils.sendMessageToPlayers(pHelper, "§6 This is a hyperlink test: §r [Hyperlink](https://www.curseforge.com/minecraft/mc-mods/bluelib)");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import net.minecraft.gametest.framework.GameTestHelper;
import software.bluelib.test.utils.MessageUtils;

public class Italic {
public class ItalicTest {

public static void italic(GameTestHelper pHelper) {
MessageUtils.sendMessageToPlayers(pHelper, "§6 This is an italic test: §r *italic*");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import net.minecraft.gametest.framework.GameTestHelper;
import software.bluelib.test.utils.MessageUtils;

public class Strikethrough {
public class StrikethroughTest {

public static void strikethrough(GameTestHelper pHelper) {
MessageUtils.sendMessageToPlayers(pHelper, "§6 This is a strikethrough test: §r ~~Strikethrough~~");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import net.minecraft.gametest.framework.GameTestHelper;
import software.bluelib.test.utils.MessageUtils;

public class Underline {
public class UnderlineTest {

public static void underline(GameTestHelper pHelper) {
MessageUtils.sendMessageToPlayers(pHelper, "§6 This is an underline test: §r __Underline__");
Expand Down

0 comments on commit b492358

Please sign in to comment.