File: TestSourceTest.java

package info (click to toggle)
mkgmap 0.0.0%2Bsvn4905-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 12,032 kB
  • sloc: java: 73,856; xml: 1,695; python: 713; sh: 240; makefile: 149; perl: 31
file content (48 lines) | stat: -rw-r--r-- 1,132 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*
 * Copyright (C) 2008 Steve Ratcliffe
 * 
 *  This program is free software; you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License version 2 as
 *  published by the Free Software Foundation.
 * 
 *  This program is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 * 
 * 
 * Author: Steve Ratcliffe
 * Create date: 11-Jan-2009
 */
package func.sources;

import uk.me.parabola.mkgmap.main.Main;

import func.Base;
import org.junit.Test;

/**
 * For the test data sources.
 *
 * @author Steve Ratcliffe
 */
public class TestSourceTest extends Base {
	/**
	 * The test map that includes all elements.
	 */
	@Test
	public void testAllElements() {
		checkNoStdFile();
		Main.mainNoSystemExit("test-map:all-elements");
		checkStdFile();
	}

	/**
	 * The test map that includes all kinds of points.
	 */
	@Test
	public void testAllPoints() {
		Main.mainNoSystemExit("test-map:test-points");
		checkStdFile();
	}
}