mirror of
https://github.com/geometer/FBReaderJ.git
synced 2025-10-03 09:49:19 +02:00
git-svn-id: https://only.mawhrin.net/repos/FBReaderJ/trunk@31 6a642e6f-84f6-412e-ac94-c4a38d5a04b0
This commit is contained in:
parent
0053227f43
commit
7524f6d5cb
1 changed files with 18 additions and 0 deletions
18
test/zlibrary/model/test/TestTextControlEntryPool.java
Normal file
18
test/zlibrary/model/test/TestTextControlEntryPool.java
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
package org.test.zlibrary.model;
|
||||||
|
|
||||||
|
import junit.framework.TestCase;
|
||||||
|
import org.zlibrary.model.entry.ZLTextControlEntryPool;
|
||||||
|
import org.zlibrary.model.entry.ZLTextParagraphEntry;
|
||||||
|
import org.zlibrary.model.impl.ZLModelFactory;
|
||||||
|
|
||||||
|
public class TestTextControlEntryPool extends TestCase {
|
||||||
|
private ZLModelFactory factory = new ZLModelFactory();
|
||||||
|
|
||||||
|
public void test() {
|
||||||
|
ZLTextControlEntryPool zpool = factory.createControlEntryPool();
|
||||||
|
byte kind = 0;
|
||||||
|
boolean start = true;
|
||||||
|
ZLTextParagraphEntry entry = zpool.getControlEntry(kind, start);
|
||||||
|
assertEquals(entry, zpool.getControlEntry(kind, start));
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue