buildframework/helium/sf/java/legacy/tests/src/com/nokia/ant/HeliumLoggerTest.java
changeset 648 d5a8d436d33b
parent 647 53d1ab72f5bc
parent 645 b8d81fa19e7d
child 649 02d78c9f018e
equal deleted inserted replaced
647:53d1ab72f5bc 648:d5a8d436d33b
     1 /*
       
     2  * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of the License "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description: 
       
    15  *
       
    16  */
       
    17 
       
    18 package com.nokia.ant;
       
    19 
       
    20 import junit.framework.TestCase;
       
    21 
       
    22 /**
       
    23  * Test class for Helium Logger.
       
    24  * 
       
    25  */
       
    26 public class HeliumLoggerTest extends TestCase {
       
    27     
       
    28     /**
       
    29      * Basic test to check if the property
       
    30      * is set correctly. 
       
    31      */
       
    32     public void testSetStopLogToConsole() {
       
    33         HeliumLogger logger = new HeliumLogger();
       
    34         logger.setStopLogToConsole(true);
       
    35         assert logger.getStopLogToConsole();
       
    36     }
       
    37 }