Check-in [0b8bc0df22]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:If a display could not be obtained, make it untestable.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 0b8bc0df225652891f62b3d9dbf58b34106d1e71
User & Date: stephanie.gawroriski 2019-10-06 14:15:18
Context
2019-10-06
14:29
Move constants to other file. check-in: 0fb281b447 user: stephanie.gawroriski tags: trunk
14:15
If a display could not be obtained, make it untestable. check-in: 0b8bc0df22 user: stephanie.gawroriski tags: trunk
14:14
Base the compiler test not tested since it is not yet at a point for implementation. check-in: 14ec5d6e63 user: stephanie.gawroriski tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to runt/apis/midp-lcdui.test/__Utils__.java.

6
7
8
9
10
11
12

13
14
15
16
17
18
19
..
32
33
34
35
36
37
38
39
40
41
42
43
// ---------------------------------------------------------------------------
// SquirrelJME is under the GNU General Public License v3+, or later.
// See license.mkd for licensing and copyright information.
// ---------------------------------------------------------------------------

import javax.microedition.lcdui.Display;
import net.multiphasicapps.tac.InvalidTestException;


/**
 * Utilities for the LCDUI tests.
 *
 * @since 2019/03/04
 */
final class __Utils__
................................................................................
		{
			return Display.getDisplays(0)[0];
		}
		
		// No display possible?
		catch (Throwable e)
		{
			throw new InvalidTestException(e);
		}
	}
}








>







 







|




6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
..
33
34
35
36
37
38
39
40
41
42
43
44
// ---------------------------------------------------------------------------
// SquirrelJME is under the GNU General Public License v3+, or later.
// See license.mkd for licensing and copyright information.
// ---------------------------------------------------------------------------

import javax.microedition.lcdui.Display;
import net.multiphasicapps.tac.InvalidTestException;
import net.multiphasicapps.tac.UntestableException;

/**
 * Utilities for the LCDUI tests.
 *
 * @since 2019/03/04
 */
final class __Utils__
................................................................................
		{
			return Display.getDisplays(0)[0];
		}
		
		// No display possible?
		catch (Throwable e)
		{
			throw new UntestableException(e);
		}
	}
}