Subversion Repositories javautils

Rev

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

  1. package eMailTests;
  2.  
  3. // Statische Klasse, die unsere Konfiguration für Tests verwaltet.
  4. // Ginge auch als Singleton
  5.  
  6. public final class TestConfiguration {
  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";
  11.  
  12.         public static String getSpamAddress() {
  13.                 return SPAMMING_MAIL_ADDRESS;
  14.         }
  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.        
  36.         private TestConfiguration() {
  37.         }
  38. }
  39.