use of com.google.refine.expr.HasFieldsListImpl in project OpenRefine by OpenRefine.
the class CrossTests method crossFunctionIntegerArgumentTest2.
@Test
public void crossFunctionIntegerArgumentTest2() throws Exception {
Row row = (((WrappedRow) ((HasFieldsListImpl) invoke("cross", "1600", "My Address Book", "friend")).get(0)).row);
String address = row.getCell(1).value.toString();
Assert.assertEquals(address, "integer");
}
use of com.google.refine.expr.HasFieldsListImpl in project OpenRefine by OpenRefine.
the class CrossTests method crossFunctionDateTimeArgumentTest.
@Test
public void crossFunctionDateTimeArgumentTest() throws Exception {
Row row = (((WrappedRow) ((HasFieldsListImpl) invoke("cross", dateTimeValue, "My Address Book", "friend")).get(0)).row);
String address = row.getCell(1).value.toString();
Assert.assertEquals(address, "dateTime");
}
use of com.google.refine.expr.HasFieldsListImpl in project OpenRefine by OpenRefine.
the class CrossTests method crossFunctionOneToOneTest.
@Test
public void crossFunctionOneToOneTest() throws Exception {
Row row = (((WrappedRow) ((HasFieldsListImpl) invoke("cross", "mary", "My Address Book", "friend")).get(0)).row);
String address = row.getCell(1).value.toString();
Assert.assertEquals(address, "50 Broadway Ave.");
}
use of com.google.refine.expr.HasFieldsListImpl in project OpenRefine by OpenRefine.
the class CrossTests method crossFunctionIntegerArgumentTest.
@Test
public void crossFunctionIntegerArgumentTest() throws Exception {
Row row = (((WrappedRow) ((HasFieldsListImpl) invoke("cross", 1600, "My Address Book", "friend")).get(0)).row);
String address = row.getCell(1).value.toString();
Assert.assertEquals(address, "integer");
}
use of com.google.refine.expr.HasFieldsListImpl in project OpenRefine by OpenRefine.
the class CrossTests method crossFunctionIntegerArgumentTest1.
@Test
public void crossFunctionIntegerArgumentTest1() throws Exception {
Row row = (((WrappedRow) ((HasFieldsListImpl) invoke("cross", 1600L, "My Address Book", "friend")).get(0)).row);
String address = row.getCell(1).value.toString();
Assert.assertEquals(address, "integer");
}
Aggregations