Changeset 811819a


Ignore:
Timestamp:
Oct 14, 2013 4:58:50 PM (7 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
ded0030
Parents:
3ec6028
Message:
Location:
core/java/test/junit/net/i2p/util
Files:
1 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • core/java/test/junit/net/i2p/util/LogSettingsTest.java

    r3ec6028 r811819a  
    5555        }
    5656        DataHelper.loadProps(p, f);
    57         origMinimumOnScreenLevel = p.getProperty("logger.record.net.i2p.util.LogSettings", Log.STR_ERROR);
     57        origMinimumOnScreenLevel = p.getProperty("logger.record.net.i2p.util.LogSettingsTest", Log.STR_ERROR);
    5858        origLogSettings = p.getProperty("logger.minimumOnScreenLevel", Log.STR_CRIT);
    5959    }
    6060
    6161    protected void tearDown() throws IOException{
    62             p.setProperty("logger.record.net.i2p.util.LogSettings", origMinimumOnScreenLevel);
     62        p.setProperty("logger.record.net.i2p.util.LogSettingsTest", origMinimumOnScreenLevel);
    6363        p.setProperty("logger.minimumOnScreenLevel", origLogSettings);
    6464        DataHelper.storeProps(p, f);
     
    6868
    6969    public void testDebug() throws IOException {
    70         p.setProperty("logger.record.net.i2p.util.LogSettings", Log.toLevelString(Log.DEBUG));
     70        p.setProperty("logger.record.net.i2p.util.LogSettingsTest", Log.toLevelString(Log.DEBUG));
    7171        p.setProperty("logger.minimumOnScreenLevel", Log.toLevelString(Log.DEBUG));
    7272       
     
    119119
    120120    public void testInfo() throws IOException {
    121         p.setProperty("logger.record.net.i2p.util.LogSettings", Log.toLevelString(Log.INFO));
     121        p.setProperty("logger.record.net.i2p.util.LogSettingsTest", Log.toLevelString(Log.INFO));
    122122        p.setProperty("logger.minimumOnScreenLevel", Log.toLevelString(Log.DEBUG));
    123123       
     
    167167
    168168    public void testWarn() throws IOException {
    169         p.setProperty("logger.record.net.i2p.util.LogSettings", Log.toLevelString(Log.WARN));
     169        p.setProperty("logger.record.net.i2p.util.LogSettingsTest", Log.toLevelString(Log.WARN));
    170170        p.setProperty("logger.minimumOnScreenLevel", Log.toLevelString(Log.DEBUG));
    171171       
     
    212212
    213213    public void testError() throws IOException{
    214         p.setProperty("logger.record.net.i2p.util.LogSettings", Log.toLevelString(Log.ERROR));
     214        p.setProperty("logger.record.net.i2p.util.LogSettingsTest", Log.toLevelString(Log.ERROR));
    215215        p.setProperty("logger.minimumOnScreenLevel", Log.toLevelString(Log.DEBUG));
    216216       
     
    255255
    256256    public void testCrit() throws IOException {
    257         p.setProperty("logger.record.net.i2p.util.LogSettings", Log.toLevelString(Log.CRIT));
     257        p.setProperty("logger.record.net.i2p.util.LogSettingsTest", Log.toLevelString(Log.CRIT));
    258258        p.setProperty("logger.minimumOnScreenLevel", Log.toLevelString(Log.DEBUG));
    259259       
Note: See TracChangeset for help on using the changeset viewer.