/**
* Copyright (c) 2000-present Liferay, Inc. All rights reserved.
*
* This library is free software; you can redistribute it and/or modify it under
* the terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This library 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 Lesser General Public License for more
* details.
*/
package com.liferay.portal.format;
import com.liferay.portal.kernel.format.PhoneNumberFormat;
import com.liferay.portal.test.rule.LiferayIntegrationTestRule;
import org.junit.ClassRule;
import org.junit.Rule;
/**
* @author Brian Wing Shun Chan
* @author Manuel de la Peña
*/
public class InternationalPhoneNumberFormatImplTest
extends BasePhoneNumberFormatImplTestCase {
@ClassRule
@Rule
public static final LiferayIntegrationTestRule liferayIntegrationTestRule =
new LiferayIntegrationTestRule();
@Override
public String[] getInvalidPhoneNumbers() {
return new String[0];
}
@Override
public PhoneNumberFormat getPhoneNumberFormat() {
return new InternationalPhoneNumberFormatImpl();
}
@Override
public String[] getValidPhoneNumbers() {
/*return new String[] {
"+34 91 733 63 43", "+55 81 3033 1405", "+49 (0) 6196 773 0680",
"+36 (1) 786 4575", "+86 (0411) 8812-0855", "1-123-456-7890",
"1.123.456.7890"
};*/
return new String[0];
}
}