software-project-v2's Issues
login page name should not accept numbers
username should not contain numbers
Application crash when trying to fetch a deleted model
please handle the error and return null when trying to fetch a deleted budget/category/expense by its ID
Removing a budget doesn't remove the corresponding categories
Please remove the related categories for a deleted budget.
end date should always be later than start date
for example, I can set start date as 1/1/2018, and I can set the end date as 1/1/2015
which doesn't make any sense
No validators for budget/category name field
I can create 2 budgets with the same name, Please add some validators
test is not asserting for anything
hey Maysara
I think that this test asserts nothing?
@test
public void checkRelatedCategories() {
createBudgetInstance();
}
Removing a category doesn't remove the corresponding expenses
Please delete the corresponding expense when a category is deleted
editing budget data should not be in a new activity
try to click on "edit" icon, then press edit without changing anything, then press return and you will see the old edit activity.
try to use a dialog instead of a new activity
rename getAllCategories test on expensesTest file
hey Maysara
please rename the signature of this function on expenses Test file
@test
public void getAllCategories() {
for (int i = 1; i < expenseNumber + 1; i++) {
createExpensesInstance(i);
}
Expense[] expenses = helper.getAllExpenses();
Category[] categories = helper.getAllCategories();
assertEquals(expenseNumber, expenses.length);
assertEquals(expenseNumber, categories.length);
helper.clearDB();
}
Deleting the budget doesn't refresh the adapter
If I deleted a budget, I need to close and reopen the app to see the changes
Error when creating an Expense instance
android.database.sqlite.SQLiteException: no such column: date (code 1): , while compiling: SELECT ID, label, amount, categoryID, date FROM expense WHERE ID = ? ################################################################# Error Code : 1 (SQLITE_ERROR) Caused By : SQL(query) error or missing database. (no such column: date (code 1): , while compiling: SELECT ID, label, amount, categoryID, date FROM expense WHERE ID = ?)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.