Revision 46109
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.db/org.gvsig.fmap.dal.db.jdbc/src/test/java/org/gvsig/fmap/dal/store/jdbc2/operations/sql/AbstractTestPerformChangesUpdateStructure.java | ||
---|---|---|
48 | 48 |
|
49 | 49 |
protected abstract AbstractTestUtils createUtils(); |
50 | 50 |
|
51 |
public void testPerformChangesAddPk() throws Exception {
|
|
51 |
protected void testPerformChangesAddPk() throws Exception {
|
|
52 | 52 |
JDBCHelper helper = utils().createJDBCHelper(); |
53 | 53 |
JDBCSQLBuilderBase sqlbuilder = helper.createSQLBuilder(); |
54 | 54 |
OperationsFactory operations = helper.getOperations(); |
... | ... | |
103 | 103 |
} |
104 | 104 |
} |
105 | 105 |
|
106 |
public void testChangePk1() throws Exception {
|
|
106 |
protected void testChangePk1() throws Exception {
|
|
107 | 107 |
JDBCHelper helper = utils().createJDBCHelper(); |
108 | 108 |
JDBCSQLBuilderBase sqlbuilder = helper.createSQLBuilder(); |
109 | 109 |
OperationsFactory operations = helper.getOperations(); |
... | ... | |
163 | 163 |
} |
164 | 164 |
} |
165 | 165 |
|
166 |
public void testChangePk2() throws Exception {
|
|
166 |
protected void testChangePk2() throws Exception {
|
|
167 | 167 |
JDBCHelper helper = utils().createJDBCHelper(); |
168 | 168 |
JDBCSQLBuilderBase sqlbuilder = helper.createSQLBuilder(); |
169 | 169 |
OperationsFactory operations = helper.getOperations(); |
... | ... | |
223 | 223 |
} |
224 | 224 |
} |
225 | 225 |
|
226 |
public void testChangePk3() throws Exception {
|
|
226 |
protected void testChangePk3() throws Exception {
|
|
227 | 227 |
JDBCHelper helper = utils().createJDBCHelper(); |
228 | 228 |
JDBCSQLBuilderBase sqlbuilder = helper.createSQLBuilder(); |
229 | 229 |
OperationsFactory operations = helper.getOperations(); |
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.db/org.gvsig.fmap.dal.db.jdbc/src/test/java/org/gvsig/fmap/dal/store/jdbc2/operations/sql/AbstractTestCount.java | ||
---|---|---|
47 | 47 |
|
48 | 48 |
protected abstract AbstractTestUtils createUtils(); |
49 | 49 |
|
50 |
public void testCount() throws Exception {
|
|
50 |
protected void testCount() throws Exception {
|
|
51 | 51 |
try { |
52 | 52 |
JDBCHelper helper = utils().createJDBCHelper(); |
53 | 53 |
JDBCSQLBuilderBase sqlbuilder = helper.createSQLBuilder(); |
... | ... | |
82 | 82 |
} |
83 | 83 |
} |
84 | 84 |
|
85 |
public void testSimpleGroup() throws Exception {
|
|
85 |
protected void testSimpleGroup() throws Exception {
|
|
86 | 86 |
try { |
87 | 87 |
JDBCHelper helper = utils().createJDBCHelper(); |
88 | 88 |
JDBCSQLBuilderBase sqlbuilder = helper.createSQLBuilder(); |
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.db/org.gvsig.fmap.dal.db.jdbc/src/test/java/org/gvsig/fmap/dal/store/jdbc2/AbstractTestComputedAttributes.java | ||
---|---|---|
50 | 50 |
|
51 | 51 |
// TODO add test methods here. The name must begin with 'test'. For example: |
52 | 52 |
// public void testHello() {} |
53 |
public void testComputed1() throws Exception {
|
|
53 |
protected void testComputed1() throws Exception {
|
|
54 | 54 |
try { |
55 | 55 |
if (!utils().isTheDatabaseAvailable()) { |
56 | 56 |
return; |
... | ... | |
101 | 101 |
} |
102 | 102 |
|
103 | 103 |
@SuppressWarnings("UnusedAssignment") |
104 |
public void testComputed2() throws Exception {
|
|
104 |
protected void testComputed2() throws Exception {
|
|
105 | 105 |
try { |
106 | 106 |
if (!utils().isTheDatabaseAvailable()) { |
107 | 107 |
return; |
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.db/org.gvsig.fmap.dal.db.jdbc/src/test/java/org/gvsig/fmap/dal/store/jdbc2/AbstractTestExport2db.java | ||
---|---|---|
43 | 43 |
|
44 | 44 |
// TODO add test methods here. The name must begin with 'test'. For example: |
45 | 45 |
// public void testHello() {} |
46 |
public void testExport1() throws Exception {
|
|
46 |
protected void testExport1() throws Exception {
|
|
47 | 47 |
try { |
48 | 48 |
if (!utils().isTheDatabaseAvailable()) { |
49 | 49 |
return; |
Also available in: Unified diff