Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
92f0b12
Tests for email validation.
Joel0420 Jan 22, 2020
443a173
implemented isEmailValid, passing all tests
gabepesco Jan 23, 2020
377a67a
added one more test case that previous isEmailValid failed, fixed bug…
gabepesco Jan 23, 2020
4062f1e
corrected wrong call of indexOf to lastIndexOf, added withdraw function
gabepesco Jan 24, 2020
cde1671
added new test cases
Joel0420 Jan 24, 2020
32aee17
Merge branch 'master' of https://github.com/Joel0420/SoftwareEngineer…
Joel0420 Jan 24, 2020
0409ba0
added notes to the updated test cases.
Joel0420 Jan 27, 2020
1672780
added javadoc on the withdraw
Joel0420 Jan 27, 2020
1b4a0b0
added javadoc on the get balance function.
Joel0420 Jan 27, 2020
9863c6c
fixed constructor for BankAccount to throw exception when initialized…
gabepesco Jan 27, 2020
ba61c05
withdraw test and get balance test working.
Joel0420 Jan 28, 2020
019c4f2
Full bank account class working.
Joel0420 Jan 30, 2020
6c7b9fe
Full bank account class working with Contructor test.
Joel0420 Jan 30, 2020
614e410
Merge branch 'master' of https://github.com/Joel0420/SoftwareEngineer…
Joel0420 Feb 3, 2020
072eba3
added the api files
Joel0420 Feb 4, 2020
5319f02
api files in correct location
Joel0420 Feb 4, 2020
73ea2b5
changed something in central bank
Joel0420 Feb 6, 2020
0e66053
Merge pull request #1 from Joel0420/checkBalance1
PraveshPatel703 Feb 9, 2020
b0c7799
checkbalance is working with unit tests
Joel0420 Feb 9, 2020
452a27c
checkbalance working
Joel0420 Feb 9, 2020
e48fd39
deposit is working
Joel0420 Feb 9, 2020
95535d6
<committing confirmCredentials>
Feb 9, 2020
fc4a4c7
<committing credentials>
Feb 9, 2020
6d626e6
Withdraw Working
Joel0420 Feb 10, 2020
92485a0
<committing confirmCredentials>
Feb 10, 2020
9693098
<committing confirmCredentials>
Feb 10, 2020
c244b20
<committing confirmCredentials>
Feb 10, 2020
1949229
<committing changes to createAccounr method... still doesn't work>
Feb 10, 2020
2c97c31
committing changes to deposit, transfer, withdraw, checkCredentials, …
Feb 11, 2020
0445854
committing closeAccount method/test
Feb 11, 2020
f66e6bf
committing changes
Feb 11, 2020
79e8e43
committing changes
Feb 11, 2020
bb7ff1f
committing transHistory
Feb 11, 2020
4a6fc73
Merge remote-tracking branch 'remotes/origin/checkTransactionHistory'
Feb 11, 2020
de34f07
committing trans History
Feb 11, 2020
d7660d5
Diagram update 2/14
bencordova2 Feb 14, 2020
a255784
Update README.md
bencordova2 Feb 14, 2020
e20ab5e
Update README.md
bencordova2 Feb 14, 2020
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
target/

# User-specific stuff
.idea/**/workspace.xml
Expand Down
2 changes: 2 additions & 0 deletions .idea/SCentralBankFunctioning.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .idea/SoftwareEngineeringPractice.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .idea/TobySoftwareEngineeringPractice.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .idea/compiler.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions .idea/encodings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 12 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
# SoftwareEngineeringPractice
## grading
UML:
https://www.draw.io/#G1ClJfvlx-DafIY19BRQ7PtKhMV5oUpCB4

To Do | correct
---|---
at least 8 commits|
isEmailValid|
withdraw|
isamountValid|
constructor & withdraw fix|
Use Case:
https://www.draw.io/#G16QeH0AdywvUHLzUHYaT50bWsE6ocJg3M

Sequence:

TransHistory:
https://www.draw.io/#G1QVD4o9ISDGrVABXhoTN2-LIzO8AcCr5z

CheckBal:
https://www.draw.io/#G1Hd51PWDOxilkn22_zhSnwhkEnVxUM0fU
1 change: 1 addition & 0 deletions SoftwareEngineeringPractice
Submodule SoftwareEngineeringPractice added at 0e6605
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>1.10</java.version>
<java.version>1.8</java.version>

<junit.version>4.12</junit.version>
<junit.jupiter.version>5.0.0</junit.jupiter.version>
Expand Down
15 changes: 15 additions & 0 deletions src/main/java/edu/ithaca/dragon/bank/AdminAPI.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
package edu.ithaca.dragon.bank;

import java.util.Collection;

public interface AdminAPI {

public double calcTotalAssets();

public Collection<String> findAcctIdsWithSuspiciousActivity();

public void freezeAccount(String acctId);

public void unfreezeAcct(String acctId);

}
9 changes: 9 additions & 0 deletions src/main/java/edu/ithaca/dragon/bank/AdvancedAPI.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package edu.ithaca.dragon.bank;

//API to be used by Teller systems
public interface AdvancedAPI extends BasicAPI {

public void createAccount(String acctId, double startingBalance, String password);

public void closeAccount(String acctId);
}
Loading