From 174ec2eeb4ae929aaa2ccea0e8541dad7c4c28f2 Mon Sep 17 00:00:00 2001 From: Youssef Chawki Date: Mon, 7 May 2018 20:08:31 +0200 Subject: Added UT auth-deforg, code cov 61% For those Unit tests, I added the library "mock-javamail" in order to test the "notify" function of DefaultOrg.java. Change-Id: I8894e2b6c264581be5d3c56b46600379f1d31f81 Issue-ID: AAF-239 Signed-off-by: Youssef Chawki --- auth/auth-deforg/src/test/resources/identities.dat | 7 +++++++ auth/auth-deforg/src/test/resources/identities.idx | Bin 0 -> 56 bytes auth/auth-deforg/src/test/resources/test.txt | 0 3 files changed, 7 insertions(+) create mode 100644 auth/auth-deforg/src/test/resources/identities.dat create mode 100644 auth/auth-deforg/src/test/resources/identities.idx delete mode 100644 auth/auth-deforg/src/test/resources/test.txt (limited to 'auth/auth-deforg/src/test/resources') diff --git a/auth/auth-deforg/src/test/resources/identities.dat b/auth/auth-deforg/src/test/resources/identities.dat new file mode 100644 index 00000000..98bf99a3 --- /dev/null +++ b/auth/auth-deforg/src/test/resources/identities.dat @@ -0,0 +1,7 @@ +iowna|Ima D. Owner|Ima|Owner|314-123-2000|ima.d.owner@osaaf.com|e| +mmanager|Mark D. Manager|Mark|Manager|314-123-1234|mark.d.manager@osaaf.com|e|iowna +bdevl|Robert D. Developer|Bob|Developer|314-123-1235|bob.d.develper@osaaf.com|e|mmanager +mmarket|Mary D. Marketer|Mary|Marketer|314-123-1236|mary.d.marketer@osaaf.com|e|mmanager +ccontra|Clarice D. Contractor|Clarice|Contractor|314-123-1237|clarice.d.contractor@osaaf.com|c|mmanager +iretired|Ira Lee M. Retired|Ira|Retired|314-123-1238|clarice.d.contractor@osaaf.com|n|mmanager +osaaf|ID of AAF|||||a|bdevl diff --git a/auth/auth-deforg/src/test/resources/identities.idx b/auth/auth-deforg/src/test/resources/identities.idx new file mode 100644 index 00000000..78fc0a56 Binary files /dev/null and b/auth/auth-deforg/src/test/resources/identities.idx differ diff --git a/auth/auth-deforg/src/test/resources/test.txt b/auth/auth-deforg/src/test/resources/test.txt deleted file mode 100644 index e69de29b..00000000 -- cgit