Subversion Repositories javautils

Rev

Rev 21 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 21 Rev 23
Line 2... Line 2...
2
 
2
 
3
// Statische Klasse, die unsere Konfiguration für Tests verwaltet.
3
// Statische Klasse, die unsere Konfiguration für Tests verwaltet.
4
// Ginge auch als Singleton
4
// Ginge auch als Singleton
5
 
5
 
6
public final class TestConfiguration {
6
public final class TestConfiguration {
7
       
-
 
8
        // Gott habe Mitleid mit dem Eigentümer dieser E-Mail-Adresse...
7
        // Gott habe Mitleid mit dem Eigentümer dieser E-Mail-Adresse...
9
        // Eine Wegwerfadresse für manuelle Tests kann auf
8
        // Eine Wegwerfadresse für manuelle Tests kann auf
10
        // www.10minutemail.com erstellt werden.
9
        // www.10minutemail.com erstellt werden.
11
        private static final String SPAMMING_MAIL_ADDRESS = "a1175972@bofthew.com";
10
        private static final String SPAMMING_MAIL_ADDRESS = "a1175972@bofthew.com";
12
       
11
 
13
        public static String getSpamAddress() {
12
        public static String getSpamAddress() {
14
                return SPAMMING_MAIL_ADDRESS;
13
                return SPAMMING_MAIL_ADDRESS;
15
        }
14
        }
16
       
15
       
-
 
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
       
17
        private TestConfiguration() {
36
        private TestConfiguration() {
18
        }
37
        }
19
}
38
}