Changeset 4057 for devel


Ignore:
Timestamp:
04/18/11 10:27:18 (13 years ago)
Author:
felipe.kuhn
Message:

Ticket #1771 - Removendo o caminho hardcoded dos resources

File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel/testlink/automation2.0/src/test/java/org/expressolivre/cte/common/Config.java

    r3799 r4057  
    2121        private Config() { 
    2222                try { 
    23                         this.config = this 
    24                                         .load("org/expressolivre/cte/common/config.properties"); 
    25                         this.mensagens = this 
    26                                         .load("org/expressolivre/cte/common/mensagens.properties"); 
    27                         this.valores = this 
    28                                         .load("org/expressolivre/cte/common/valores.properties"); 
    29                         this.emailPreferences = this.load("org/expressolivre/cte/common/" 
    30                                         + getConfig("config.email")); 
     23                        this.config = this.load("config.properties"); 
     24                        this.mensagens = this.load("mensagens.properties"); 
     25                        this.valores = this.load("valores.properties"); 
     26                        this.emailPreferences = this.load(getConfig("config.email")); 
    3127                } catch (Exception e) { 
    3228                        e.printStackTrace(); 
Note: See TracChangeset for help on using the changeset viewer.