MProductTest

* doesn't compile because it used DBUtils from JasperReports project.
* fixed identation
* removed unused imports
* commented not used variables
This commit is contained in:
teo_sarca 2007-07-05 09:34:14 +00:00
parent ad941619ff
commit 3859f40636
1 changed files with 85 additions and 83 deletions

View File

@ -2,18 +2,20 @@
package test.functional; package test.functional;
import java.io.FileInputStream; import java.io.FileInputStream;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.Properties; import java.util.Properties;
import java.util.logging.Level; import java.util.logging.Level;
import junit.framework.TestCase; import junit.framework.TestCase;
import org.compiere.model.*; import org.adempiere.test.utils.DBUtils;
import org.compiere.model.MProduct;
import org.compiere.model.X_I_Product;
import org.compiere.util.CLogMgt; import org.compiere.util.CLogMgt;
import org.compiere.util.DB; import org.compiere.util.DB;
import org.compiere.util.Ini; import org.compiere.util.Ini;
import org.compiere.utils.DBUtils;
import org.compiere.util.*;
import java.sql.*;
public class MProductTest extends TestCase { public class MProductTest extends TestCase {
@ -40,7 +42,7 @@ public class MProductTest extends TestCase {
private int AD_Client_ID_Value = 11; private int AD_Client_ID_Value = 11;
// Test: Specific variables // Test: Specific variables
private MProduct location = null; // private MProduct location = null;
@Override @Override
@ -76,10 +78,10 @@ public class MProductTest extends TestCase {
// } // }
CLogMgt.setLevel(Level.FINEST); CLogMgt.setLevel(Level.FINEST);
/* Available levels: /* Available levels:
Level.OFF, Level.SEVERE, Level.WARNING, Level.INFO, Level.OFF, Level.SEVERE, Level.WARNING, Level.INFO,
Level.CONFIG, Level.FINE, Level.FINER, Level.FINEST, Level.ALL Level.CONFIG, Level.FINE, Level.FINER, Level.FINEST, Level.ALL
*/ */
} }
@Override @Override