Subversion Repositories javautils

Rev

Rev 9 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 9 Rev 21
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
        public static String getSpamAddress() {
-
 
8
                // Gott habe Mitleid mit dem Eigentümer dieser E-Mail-Adresse...
-
 
9
                return "b973768@owlpic.com";
-
 
10
 
7
       
-
 
8
        // Gott habe Mitleid mit dem Eigentümer dieser E-Mail-Adresse...
11
                // Eine Wegwerfadresse für manuelle Tests kann auf
9
        // Eine Wegwerfadresse für manuelle Tests kann auf
12
                // www.10minutemail.com erstellt werden.
10
        // www.10minutemail.com erstellt werden.
13
        }
-
 
-
 
11
        private static final String SPAMMING_MAIL_ADDRESS = "a1175972@bofthew.com";
14
       
12
       
15
        public static String getSmtpHost() {
13
        public static String getSpamAddress() {
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();
14
                return SPAMMING_MAIL_ADDRESS;
33
        }
15
        }
34
       
16
       
35
        private TestConfiguration() {
17
        private TestConfiguration() {
36
        }
18
        }
37
}
19
}