use of android.database.CursorWindow in project android_frameworks_base by DirtyUnicorns.
the class CursorWindowTest method testConstructorWithNullName.
@SmallTest
public void testConstructorWithNullName() {
CursorWindow window = new CursorWindow(null);
assertEquals("<unnamed>", window.getName());
assertEquals(0, window.getStartPosition());
window.close();
}
use of android.database.CursorWindow in project android_frameworks_base by DirtyUnicorns.
the class CursorWindowTest method testConstructorWithEmptyName.
@SmallTest
public void testConstructorWithEmptyName() {
CursorWindow window = new CursorWindow("");
assertEquals("<unnamed>", window.getName());
assertEquals(0, window.getStartPosition());
window.close();
}
use of android.database.CursorWindow in project android_frameworks_base by DirtyUnicorns.
the class CursorWindowTest method testConstructor_WithName.
@SmallTest
public void testConstructor_WithName() {
CursorWindow window = new CursorWindow("MyWindow");
assertEquals("MyWindow", window.getName());
assertEquals(0, window.getStartPosition());
window.close();
}
use of android.database.CursorWindow in project android_frameworks_base by AOSPA.
the class CursorWindowTest method testConstructorWithNullName.
@SmallTest
public void testConstructorWithNullName() {
CursorWindow window = new CursorWindow(null);
assertEquals("<unnamed>", window.getName());
assertEquals(0, window.getStartPosition());
window.close();
}
use of android.database.CursorWindow in project android_frameworks_base by AOSPA.
the class CursorWindowTest method testConstructor_WithName.
@SmallTest
public void testConstructor_WithName() {
CursorWindow window = new CursorWindow("MyWindow");
assertEquals("MyWindow", window.getName());
assertEquals(0, window.getStartPosition());
window.close();
}
Aggregations