~ubuntu-branches/ubuntu/utopic/freemind/utopic

« back to all changes in this revision

Viewing changes to freemind/tests/freemind/FreeMindTestBase.java

  • Committer: Bazaar Package Importer
  • Author(s): Benjamin Drung
  • Date: 2010-01-03 14:19:19 UTC
  • mfrom: (2.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20100103141919-m5az7dkicy21hqop
Tags: 0.9.0~rc6+dfsg-1ubuntu1
* Merge from Debian unstable (LP: #182927), remaining changes:
  - debian/copyright: add license/copyright for
    freemind/freemind/main/ExampleFileFilter.java

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*FreeMind - A Program for creating and viewing Mindmaps
 
2
 *Copyright (C) 2006  Christian Foltin <christianfoltin@users.sourceforge.net>
 
3
 *See COPYING for Details
 
4
 *
 
5
 *This program is free software; you can redistribute it and/or
 
6
 *modify it under the terms of the GNU General Public License
 
7
 *as published by the Free Software Foundation; either version 2
 
8
 *of the License, or (at your option) any later version.
 
9
 *
 
10
 *This program is distributed in the hope that it will be useful,
 
11
 *but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
 *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
 *GNU General Public License for more details.
 
14
 *
 
15
 *You should have received a copy of the GNU General Public License
 
16
 *along with this program; if not, write to the Free Software
 
17
 *Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 
18
 */
 
19
/*$Id: FreeMindTestBase.java,v 1.1.2.2 2006/07/25 20:28:30 christianfoltin Exp $*/
 
20
 
 
21
package tests.freemind;
 
22
 
 
23
import junit.framework.TestCase;
 
24
 
 
25
/** */
 
26
public class FreeMindTestBase extends TestCase {
 
27
 
 
28
    protected FreeMindMainMock mFreeMindMain;
 
29
 
 
30
    /**
 
31
     * 
 
32
     */
 
33
    public FreeMindTestBase() {
 
34
        super();
 
35
 
 
36
    }
 
37
 
 
38
    /**
 
39
     */
 
40
    public FreeMindTestBase(String arg0) {
 
41
        super(arg0);
 
42
 
 
43
    }
 
44
    
 
45
    protected void setUp() throws Exception {
 
46
        super.setUp();
 
47
        mFreeMindMain = new FreeMindMainMock();
 
48
    }
 
49
 
 
50
    public FreeMindMainMock getFrame() {
 
51
        return mFreeMindMain;
 
52
    }
 
53
 
 
54
}
 
55
 
 
56
//    private static java.util.logging.Logger logger = freemind.main.Resources.getInstance().getLogger(FreeMindTestBase.class.getName());