Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 8b4fbc0499ae091343402cdaa1501cd8e9f40337 (plain) (blame)
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
/*******************************************************************************
 * Copyright (c) 2007 IBM Corporation and others.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 ******************************************************************************/

package org.eclipse.osgi.tests.util;

import org.eclipse.core.tests.harness.CoreTest;
import org.eclipse.osgi.util.NLS;

public class NLSTestCase extends CoreTest {

	public void testEmptyMessageBug200296() {
		try {
			NLS.bind("", new Integer(0));
		} catch (NegativeArraySizeException e) {
			fail("1.0", e);
		}
	}

}

Back to the top