mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-10-27 22:37:15 +00:00
Bug3199: renamed objekt into object & JavaDoc
This commit is contained in:
1 parent
731b97d054
commit
d1e455a573
6 files changed
+27
-21
No files matched your search
+7
-6
@@ -1,6 +1,7 @@
|
||||
package com.sap.sailing.domain.test;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.junit.Assert;
|
||||
import org.junit.Before;
|
||||
@@ -10,7 +11,7 @@ import com.sap.sailing.domain.base.DomainFactory;
|
||||
import com.sap.sailing.domain.tractracadapter.impl.DomainFactoryImpl;
|
||||
|
||||
public class DomainFactoryImplTest {
|
||||
DomainFactoryImpl domainFactory;
|
||||
private DomainFactoryImpl domainFactory;
|
||||
|
||||
@Before
|
||||
public void setUp() {
|
||||
@@ -25,19 +26,19 @@ public class DomainFactoryImplTest {
|
||||
|
||||
@Test
|
||||
public void testGetDominantBoatClass_TestEmptyCollection() {
|
||||
ArrayList<String> emptyList = new ArrayList<String>();
|
||||
List<String> emptyList = new ArrayList<String>();
|
||||
Assert.assertEquals(null, domainFactory.getDominantBoatClass(emptyList));
|
||||
}
|
||||
@Test
|
||||
public void testGetDominantBoatClass_TestWithOneObject() {
|
||||
ArrayList<String> list = new ArrayList<String>();
|
||||
List<String> list = new ArrayList<String>();
|
||||
list.add("LSR");
|
||||
Assert.assertEquals("Laser Int.", domainFactory.getDominantBoatClass(list).getDisplayName());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testGetDominantBoatClass_TestWithTheSameCount() {
|
||||
ArrayList<String> list = new ArrayList<String>();
|
||||
List<String> list = new ArrayList<String>();
|
||||
list.add("LSR");
|
||||
list.add("18.Footer");
|
||||
String result = domainFactory.getDominantBoatClass(list).getDisplayName();
|
||||
@@ -48,7 +49,7 @@ public class DomainFactoryImplTest {
|
||||
|
||||
@Test
|
||||
public void testGetDominantBoatClass_TestWithMoreThanOneObject() {
|
||||
ArrayList<String> list = new ArrayList<String>();
|
||||
List<String> list = new ArrayList<String>();
|
||||
list.add("LSR");
|
||||
list.add("18.Footer");
|
||||
list.add("LSR");
|
||||
@@ -58,7 +59,7 @@ public class DomainFactoryImplTest {
|
||||
|
||||
@Test
|
||||
public void testGetDominantBoatClass_TestWithSynonymNames() {
|
||||
ArrayList<String> list = new ArrayList<String>();
|
||||
List<String> list = new ArrayList<String>();
|
||||
list.add("LSR");
|
||||
list.add("18.Footer");
|
||||
list.add("18.Footer");
|
||||
|
||||
Reference in new issue
Block a user