Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
3 | daniel-mar | 1 | package de.viathinksoft.utils.mail.sender; |
2 | |||
3 | // Statische Klasse, die unsere Konfiguration für Tests verwaltet. |
||
4 | // Ginge auch als Singleton |
||
5 | |||
6 | public final class TestConfiguration { |
||
7 | public static String getSpamAddress() { |
||
8 | // Gott habe Mitleid mit dem Eigentümer dieser E-Mail-Adresse... |
||
9 | return "b973768@owlpic.com"; |
||
10 | |||
11 | // Eine Wegwerfadresse für manuelle Tests kann auf |
||
12 | // www.10minutemail.com erstellt werden. |
||
13 | } |
||
14 | |||
15 | public static String getSmtpHost() { |
||
16 | return ""; |
||
17 | } |
||
18 | |||
19 | public static String getSmtpUsername() { |
||
20 | return ""; |
||
21 | } |
||
22 | |||
23 | public static String getSmtpPassword() { |
||
24 | return ""; |
||
25 | } |
||
26 | |||
27 | public static int getSmtpPort() { |
||
28 | return 25; |
||
29 | } |
||
30 | |||
31 | public static String getMailFrom() { |
||
32 | return getSpamAddress(); |
||
33 | } |
||
34 | |||
35 | private TestConfiguration() { |
||
36 | } |
||
37 | } |