Skip to content

Commit

Permalink
#332 Create tips package
Browse files Browse the repository at this point in the history
  • Loading branch information
prmr committed Oct 22, 2020
1 parent 61962c3 commit 2e498a0
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ca.mcgill.cs.jetuml.gui;
package ca.mcgill.cs.jetuml.gui.tips;

import java.util.Optional;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ca.mcgill.cs.jetuml.gui;
package ca.mcgill.cs.jetuml.gui.tips;

/**
* Tip element represented as a Media/content pair.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package ca.mcgill.cs.jetuml.gui;
package ca.mcgill.cs.jetuml.gui.tips;

import static ca.mcgill.cs.jetuml.application.ApplicationResources.RESOURCES;

Expand Down Expand Up @@ -58,7 +58,7 @@ public String getTitle()
*/
public List<TipElement> getElements()
{
return new ArrayList<TipElement>(aElements);
return new ArrayList<>(aElements);
}

/**
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
package ca.mcgill.cs.jetuml.gui;
package ca.mcgill.cs.jetuml.gui.tips;

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.assertTrue;

import org.junit.jupiter.api.Test;

import java.util.Optional;
import ca.mcgill.cs.jetuml.gui.Media;

import org.junit.jupiter.api.Test;

public class TestMedia
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
package ca.mcgill.cs.jetuml.gui;
package ca.mcgill.cs.jetuml.gui.tips;

import static ca.mcgill.cs.jetuml.application.ApplicationResources.RESOURCES;
import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.fail;

import java.lang.reflect.Method;
import java.util.List;

import static org.junit.jupiter.api.Assertions.assertEquals;
import static org.junit.jupiter.api.Assertions.fail;

import org.json.JSONObject;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;
import org.json.JSONObject;

public class TestTipLoader
{
Expand Down

0 comments on commit 2e498a0

Please sign in to comment.