Subversion Repositories javautils

Rev

Rev 21 | Details | Compare with Previous | Last modification | View Log | RSS feed

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