blob: 5e852a9c015eb512befcb45cb33862c9c7b6d356 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2006 Oracle Corporation.
* 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:
* Oracle - initial API and implementation
*
********************************************************************************/
package org.eclipse.jst.jsf.metadata.tests.taglibprocessing;
import junit.framework.Assert;
import org.eclipse.jst.jsf.metadataprocessors.features.IPossibleValues;
public class NumberPatternTypeTest extends TaglibProcessingTestCase {
public void testPossibleValues() {
Assert.assertNotNull(possibleValueAdapters);
Assert.assertFalse(possibleValueAdapters.isEmpty());
IPossibleValues pvs = (IPossibleValues) possibleValueAdapters.get(0);
Assert.assertTrue(pvs.getPossibleValues().size() >= 8);
}
public void testValidValuesValues() {
Assert.assertNotNull(validValuesAdapters);
Assert.assertTrue(validValuesAdapters.isEmpty());
}
}