Skip to content

Commit 185201d

Browse files
Moved the test files to the corresponding subfolder.
1 parent 44b8860 commit 185201d

File tree

9 files changed

+29
-17
lines changed

9 files changed

+29
-17
lines changed

src/main/java/coreapi/.project

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,15 @@
1414
<natures>
1515
<nature>org.eclipse.jdt.core.javanature</nature>
1616
</natures>
17+
<filteredResources>
18+
<filter>
19+
<id>1616774968964</id>
20+
<name></name>
21+
<type>30</type>
22+
<matcher>
23+
<id>org.eclipse.core.resources.regexFilterMatcher</id>
24+
<arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
25+
</matcher>
26+
</filter>
27+
</filteredResources>
1728
</projectDescription>
Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
package coreapi;
2-
3-
import org.junit.runner.RunWith;
4-
import org.junit.runners.Suite;
5-
6-
@RunWith(Suite.class)
7-
@Suite.SuiteClasses(
8-
{
9-
ProductImplTest.class,
10-
ProductTest.class,
11-
OrderImplTest.class,
12-
})
13-
14-
public class CoffeShopTestSuite
15-
{
16-
//Empty
1+
package coreapi;
2+
3+
import org.junit.runner.RunWith;
4+
import org.junit.runners.Suite;
5+
6+
@RunWith(Suite.class)
7+
@Suite.SuiteClasses(
8+
{
9+
ProductImplTest.class,
10+
ProductTest.class,
11+
OrderImplTest.class,
12+
})
13+
14+
public class CoffeShopTestSuite
15+
{
16+
//Empty
1717
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package coreapi
1+
package coreapi;
22

33
import junit.framework.Test;
44
import junit.framework.TestSuite;
@@ -11,6 +11,7 @@ public class TestRunner
1111
{
1212
public static void main(String[] args)
1313
{
14+
ProductCatalog.createProducts();
1415
Result result = JUnitCore.runClasses(CoffeShopTestSuite.class);
1516
for(Failure failure : result.getFailures())
1617
{

0 commit comments

Comments
 (0)