Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {

}

public void k(){
public void k(){ //All test cases are added here.
SQLiteDatabase database = this.getWritableDatabase();
String create_return_Table_query = "CREATE TABLE return (SubItemID VARCHAR(11) PRIMARY KEY,Qty INTEGER,Date datetime default current_timestamp,ActualPrice FLOAT,Sync BOOLEAN)";
database.execSQL(create_return_Table_query);
Expand Down Expand Up @@ -180,7 +180,7 @@ public void k(){
Log.d("Table print error ",e.toString());
}
}

//This function let the Add new user to login database
public void insertToLogin(String EmpId_ins,String username_ins,String encpassword_ins,String Question_ins,String enc_Ans_ins){

SQLiteDatabase database = this.getWritableDatabase();
Expand Down