001 /** 002 * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. 003 * 004 * This library is free software; you can redistribute it and/or modify it under 005 * the terms of the GNU Lesser General Public License as published by the Free 006 * Software Foundation; either version 2.1 of the License, or (at your option) 007 * any later version. 008 * 009 * This library is distributed in the hope that it will be useful, but WITHOUT 010 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 011 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more 012 * details. 013 */ 014 015 package com.liferay.portal.verify; 016 017 /** 018 * @author Tibor Lipusz 019 */ 020 public class VerifyRegion extends VerifyProcess { 021 022 @Override 023 protected void doVerify() throws Exception { 024 runSQL( 025 "update Region set regionCode = 'BB' where regionId = 4004 and " + 026 "regionCode = 'BR'"); 027 runSQL( 028 "update Region set name = 'Monza e Brianza', regionCode = 'MB' " + 029 "where regionId = 8060 and regionCode = 'MZ'"); 030 } 031 032 }