projects
/
cfb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Add some unit testing of the CfbSchema.
[cfb.git]
/
test
/
net
/
jaekl
/
cfb
/
db
/
SequenceMock.java
1
package net.jaekl.cfb.db;
2
3
public class SequenceMock extends Sequence {
4
5
long m_val;
6
7
public SequenceMock(String name) {
8
super(name);
9
m_val = 0;
10
}
11
12
public SequenceMock(Sequence seq) {
13
this(seq.getName());
14
}
15
16
public long mock_nextVal() {
17
m_val += 1;
18
return m_val;
19
}
20
}