Jonathan Hart | 6df9017 | 2014-04-03 10:13:11 -0700 | [diff] [blame] | 1 | package net.onrc.onos.core.datastore.topology; |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 2 | |
Jonathan Hart | a88fd24 | 2014-04-03 11:24:54 -0700 | [diff] [blame] | 3 | import static org.junit.Assert.assertArrayEquals; |
| 4 | import static org.junit.Assert.assertEquals; |
| 5 | import static org.junit.Assert.assertNotEquals; |
| 6 | import static org.junit.Assert.assertNotNull; |
| 7 | import static org.junit.Assert.fail; |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 8 | |
| 9 | import java.util.HashMap; |
| 10 | import java.util.Map; |
Yuta HIGUCHI | cc56188 | 2014-05-22 10:31:32 -0700 | [diff] [blame] | 11 | import java.util.UUID; |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 12 | |
Jonathan Hart | 6df9017 | 2014-04-03 10:13:11 -0700 | [diff] [blame] | 13 | import net.onrc.onos.core.datastore.DataStoreClient; |
| 14 | import net.onrc.onos.core.datastore.IKVTable; |
| 15 | import net.onrc.onos.core.datastore.ObjectDoesntExistException; |
| 16 | import net.onrc.onos.core.datastore.ObjectExistsException; |
| 17 | import net.onrc.onos.core.datastore.WrongVersionException; |
Jonathan Hart | 6df9017 | 2014-04-03 10:13:11 -0700 | [diff] [blame] | 18 | import net.onrc.onos.core.datastore.topology.KVSwitch.STATUS; |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 19 | |
| 20 | import org.junit.After; |
| 21 | import org.junit.Before; |
| 22 | import org.junit.Test; |
Yuta HIGUCHI | 44a0b35 | 2014-05-14 21:32:48 -0700 | [diff] [blame] | 23 | import org.slf4j.Logger; |
| 24 | import org.slf4j.LoggerFactory; |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 25 | |
| 26 | public class KVSwitchTest { |
Yuta HIGUCHI | ceb21b6 | 2014-04-17 15:46:05 -0700 | [diff] [blame] | 27 | |
Yuta HIGUCHI | 44a0b35 | 2014-05-14 21:32:48 -0700 | [diff] [blame] | 28 | private static final Logger log = LoggerFactory.getLogger(KVSwitchTest.class); |
| 29 | |
Yuta HIGUCHI | ceb21b6 | 2014-04-17 15:46:05 -0700 | [diff] [blame] | 30 | static { |
| 31 | // configuration to quickly fall back to instance mode for faster test run |
| 32 | System.setProperty("net.onrc.onos.core.datastore.hazelcast.client.attemptLimit", "0"); |
| 33 | } |
| 34 | |
Yuta HIGUCHI | cc56188 | 2014-05-22 10:31:32 -0700 | [diff] [blame] | 35 | private static final String namespace = UUID.randomUUID().toString(); |
| 36 | |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 37 | IKVTable switchTable; |
Yuta HIGUCHI | 44a0b35 | 2014-05-14 21:32:48 -0700 | [diff] [blame] | 38 | static final Long DPID1 = 0x1L; |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 39 | KVSwitch sw1; |
| 40 | |
| 41 | @Before |
| 42 | public void setUp() throws Exception { |
Yuta HIGUCHI | cc56188 | 2014-05-22 10:31:32 -0700 | [diff] [blame] | 43 | switchTable = DataStoreClient.getClient().getTable(namespace + KVSwitch.SWITCH_TABLE_SUFFIX); |
| 44 | sw1 = new KVSwitch(DPID1, namespace); |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 45 | } |
| 46 | |
| 47 | @After |
| 48 | public void tearDown() throws Exception { |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 49 | DataStoreClient.getClient().dropTable(switchTable); |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 50 | } |
| 51 | |
| 52 | public KVSwitch assertSwitchInDataStore(final Long dpid, final STATUS status) { |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 53 | try { |
Yuta HIGUCHI | cc56188 | 2014-05-22 10:31:32 -0700 | [diff] [blame] | 54 | final KVSwitch sw = new KVSwitch(dpid, namespace); |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 55 | sw.read(); |
Ray Milkey | 7531a34 | 2014-04-11 15:08:12 -0700 | [diff] [blame] | 56 | assertNotEquals(DataStoreClient.getClient().getVersionNonexistant(), sw.getVersion()); |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 57 | assertEquals(dpid, sw.getDpid()); |
| 58 | assertEquals(status, sw.getStatus()); |
| 59 | return sw; |
| 60 | } catch (ObjectDoesntExistException e) { |
| 61 | fail("Switch was not written to datastore"); |
| 62 | } |
| 63 | return null; |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 64 | } |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 65 | |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 66 | public void assertSwitchNotInDataStore(final Long dpid) { |
Yuta HIGUCHI | cc56188 | 2014-05-22 10:31:32 -0700 | [diff] [blame] | 67 | final KVSwitch sw = new KVSwitch(dpid, namespace); |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 68 | try { |
| 69 | sw.read(); |
| 70 | fail("Switch was not supposed to be there in datastore"); |
| 71 | } catch (ObjectDoesntExistException e) { |
Yuta HIGUCHI | 44a0b35 | 2014-05-14 21:32:48 -0700 | [diff] [blame] | 72 | log.debug("Exception thrown as expected", e); |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 73 | } |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 74 | } |
| 75 | |
| 76 | @Test |
| 77 | public void testGetAllSwitches() throws ObjectExistsException { |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 78 | final int NUM_SWITCHES = 100; |
| 79 | Map<Long, KVSwitch> expected = new HashMap<>(); |
| 80 | for (long dpid = 1; dpid <= NUM_SWITCHES; ++dpid) { |
Yuta HIGUCHI | cc56188 | 2014-05-22 10:31:32 -0700 | [diff] [blame] | 81 | KVSwitch sw = new KVSwitch(dpid, namespace); |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 82 | sw.setStatus(STATUS.ACTIVE); |
| 83 | sw.create(); |
Ray Milkey | 7531a34 | 2014-04-11 15:08:12 -0700 | [diff] [blame] | 84 | assertNotEquals(DataStoreClient.getClient().getVersionNonexistant(), sw.getVersion()); |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 85 | expected.put(sw.getDpid(), sw); |
| 86 | } |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 87 | |
Yuta HIGUCHI | cc56188 | 2014-05-22 10:31:32 -0700 | [diff] [blame] | 88 | Iterable<KVSwitch> switches = KVSwitch.getAllSwitches(namespace); |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 89 | |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 90 | for (KVSwitch sw : switches) { |
| 91 | KVSwitch expectedSw = expected.get(sw.getDpid()); |
| 92 | assertNotNull(expectedSw); |
| 93 | assertEquals(expectedSw.getDpid(), sw.getDpid()); |
| 94 | assertEquals(expectedSw.getStatus(), sw.getStatus()); |
| 95 | assertEquals(expectedSw.getVersion(), sw.getVersion()); |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 96 | |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 97 | assertArrayEquals(expectedSw.getKey(), sw.getKey()); |
| 98 | } |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 99 | } |
| 100 | |
| 101 | @Test |
| 102 | public void testCreate() throws ObjectExistsException { |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 103 | sw1.setStatus(STATUS.ACTIVE); |
| 104 | sw1.create(); |
Ray Milkey | 7531a34 | 2014-04-11 15:08:12 -0700 | [diff] [blame] | 105 | assertNotEquals(DataStoreClient.getClient().getVersionNonexistant(), sw1.getVersion()); |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 106 | |
Yuta HIGUCHI | 44a0b35 | 2014-05-14 21:32:48 -0700 | [diff] [blame] | 107 | assertEquals(DPID1, sw1.getDpid()); |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 108 | assertEquals(STATUS.ACTIVE, sw1.getStatus()); |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 109 | |
Yuta HIGUCHI | 44a0b35 | 2014-05-14 21:32:48 -0700 | [diff] [blame] | 110 | assertSwitchInDataStore(DPID1, STATUS.ACTIVE); |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 111 | } |
| 112 | |
| 113 | @Test(expected = ObjectExistsException.class) |
| 114 | public void testCreateFailAlreadyExist() throws ObjectExistsException { |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 115 | // setup pre-existing Switch |
Yuta HIGUCHI | cc56188 | 2014-05-22 10:31:32 -0700 | [diff] [blame] | 116 | KVSwitch sw = new KVSwitch(DPID1, namespace); |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 117 | sw.forceCreate(); |
Ray Milkey | 7531a34 | 2014-04-11 15:08:12 -0700 | [diff] [blame] | 118 | assertNotEquals(DataStoreClient.getClient().getVersionNonexistant(), sw.getVersion()); |
Yuta HIGUCHI | 44a0b35 | 2014-05-14 21:32:48 -0700 | [diff] [blame] | 119 | assertSwitchInDataStore(DPID1, STATUS.INACTIVE); |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 120 | |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 121 | sw1.setStatus(STATUS.ACTIVE); |
| 122 | sw1.create(); |
| 123 | fail("Should have thrown an exception"); |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 124 | } |
| 125 | |
| 126 | @Test |
| 127 | public void testForceCreate() { |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 128 | // setup pre-existing Switch |
Yuta HIGUCHI | cc56188 | 2014-05-22 10:31:32 -0700 | [diff] [blame] | 129 | KVSwitch sw = new KVSwitch(DPID1, namespace); |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 130 | sw.forceCreate(); |
Ray Milkey | 7531a34 | 2014-04-11 15:08:12 -0700 | [diff] [blame] | 131 | assertNotEquals(DataStoreClient.getClient().getVersionNonexistant(), sw.getVersion()); |
Yuta HIGUCHI | 44a0b35 | 2014-05-14 21:32:48 -0700 | [diff] [blame] | 132 | assertSwitchInDataStore(DPID1, STATUS.INACTIVE); |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 133 | |
| 134 | |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 135 | sw1.setStatus(STATUS.ACTIVE); |
| 136 | sw1.forceCreate(); |
Ray Milkey | 7531a34 | 2014-04-11 15:08:12 -0700 | [diff] [blame] | 137 | assertNotEquals(DataStoreClient.getClient().getVersionNonexistant(), sw1.getVersion()); |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 138 | |
Yuta HIGUCHI | 44a0b35 | 2014-05-14 21:32:48 -0700 | [diff] [blame] | 139 | assertEquals(DPID1, sw1.getDpid()); |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 140 | assertEquals(STATUS.ACTIVE, sw1.getStatus()); |
Yuta HIGUCHI | 44a0b35 | 2014-05-14 21:32:48 -0700 | [diff] [blame] | 141 | assertSwitchInDataStore(DPID1, STATUS.ACTIVE); |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 142 | } |
| 143 | |
| 144 | @Test |
| 145 | public void testRead() throws ObjectDoesntExistException { |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 146 | // setup pre-existing Switch |
Yuta HIGUCHI | cc56188 | 2014-05-22 10:31:32 -0700 | [diff] [blame] | 147 | KVSwitch sw = new KVSwitch(DPID1, namespace); |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 148 | sw.setStatus(STATUS.ACTIVE); |
| 149 | sw.forceCreate(); |
Ray Milkey | 7531a34 | 2014-04-11 15:08:12 -0700 | [diff] [blame] | 150 | assertNotEquals(DataStoreClient.getClient().getVersionNonexistant(), sw.getVersion()); |
Yuta HIGUCHI | 44a0b35 | 2014-05-14 21:32:48 -0700 | [diff] [blame] | 151 | assertSwitchInDataStore(DPID1, STATUS.ACTIVE); |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 152 | |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 153 | sw1.read(); |
Ray Milkey | 7531a34 | 2014-04-11 15:08:12 -0700 | [diff] [blame] | 154 | assertNotEquals(DataStoreClient.getClient().getVersionNonexistant(), sw1.getVersion()); |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 155 | assertEquals(sw.getVersion(), sw1.getVersion()); |
Yuta HIGUCHI | 44a0b35 | 2014-05-14 21:32:48 -0700 | [diff] [blame] | 156 | assertEquals(DPID1, sw1.getDpid()); |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 157 | assertEquals(STATUS.ACTIVE, sw1.getStatus()); |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 158 | } |
| 159 | |
| 160 | @Test(expected = ObjectDoesntExistException.class) |
| 161 | public void testReadFailNoExist() throws ObjectDoesntExistException { |
| 162 | |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 163 | sw1.read(); |
| 164 | fail("Should have thrown an exception"); |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 165 | } |
| 166 | |
| 167 | @Test |
| 168 | public void testUpdate() throws ObjectDoesntExistException, WrongVersionException { |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 169 | // setup pre-existing Switch |
Yuta HIGUCHI | cc56188 | 2014-05-22 10:31:32 -0700 | [diff] [blame] | 170 | KVSwitch sw = new KVSwitch(DPID1, namespace); |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 171 | sw.setStatus(STATUS.ACTIVE); |
| 172 | sw.forceCreate(); |
Ray Milkey | 7531a34 | 2014-04-11 15:08:12 -0700 | [diff] [blame] | 173 | assertNotEquals(DataStoreClient.getClient().getVersionNonexistant(), sw.getVersion()); |
Yuta HIGUCHI | 44a0b35 | 2014-05-14 21:32:48 -0700 | [diff] [blame] | 174 | assertSwitchInDataStore(DPID1, STATUS.ACTIVE); |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 175 | |
| 176 | |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 177 | sw1.read(); |
Ray Milkey | 7531a34 | 2014-04-11 15:08:12 -0700 | [diff] [blame] | 178 | assertNotEquals(DataStoreClient.getClient().getVersionNonexistant(), sw1.getVersion()); |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 179 | |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 180 | sw1.setStatus(STATUS.INACTIVE); |
| 181 | sw1.update(); |
Ray Milkey | 7531a34 | 2014-04-11 15:08:12 -0700 | [diff] [blame] | 182 | assertNotEquals(DataStoreClient.getClient().getVersionNonexistant(), sw1.getVersion()); |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 183 | assertNotEquals(sw.getVersion(), sw1.getVersion()); |
Yuta HIGUCHI | 44a0b35 | 2014-05-14 21:32:48 -0700 | [diff] [blame] | 184 | assertEquals(DPID1, sw1.getDpid()); |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 185 | assertEquals(STATUS.INACTIVE, sw1.getStatus()); |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 186 | } |
| 187 | |
| 188 | @Test |
| 189 | public void testDelete() throws ObjectDoesntExistException, WrongVersionException { |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 190 | // setup pre-existing Switch |
Yuta HIGUCHI | cc56188 | 2014-05-22 10:31:32 -0700 | [diff] [blame] | 191 | KVSwitch sw = new KVSwitch(DPID1, namespace); |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 192 | sw.setStatus(STATUS.ACTIVE); |
| 193 | sw.forceCreate(); |
Ray Milkey | 7531a34 | 2014-04-11 15:08:12 -0700 | [diff] [blame] | 194 | assertNotEquals(DataStoreClient.getClient().getVersionNonexistant(), sw.getVersion()); |
Yuta HIGUCHI | 44a0b35 | 2014-05-14 21:32:48 -0700 | [diff] [blame] | 195 | assertSwitchInDataStore(DPID1, STATUS.ACTIVE); |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 196 | |
| 197 | |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 198 | try { |
| 199 | sw1.read(); |
| 200 | } catch (ObjectDoesntExistException e) { |
| 201 | fail("Failed reading switch to delete"); |
| 202 | } |
Ray Milkey | 7531a34 | 2014-04-11 15:08:12 -0700 | [diff] [blame] | 203 | assertNotEquals(DataStoreClient.getClient().getVersionNonexistant(), sw1.getVersion()); |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 204 | sw1.delete(); |
Yuta HIGUCHI | 44a0b35 | 2014-05-14 21:32:48 -0700 | [diff] [blame] | 205 | assertSwitchNotInDataStore(DPID1); |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 206 | } |
| 207 | |
| 208 | @Test |
| 209 | public void testForceDelete() { |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 210 | // setup pre-existing Switch |
Yuta HIGUCHI | cc56188 | 2014-05-22 10:31:32 -0700 | [diff] [blame] | 211 | KVSwitch sw = new KVSwitch(DPID1, namespace); |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 212 | sw.setStatus(STATUS.ACTIVE); |
| 213 | sw.forceCreate(); |
Ray Milkey | 7531a34 | 2014-04-11 15:08:12 -0700 | [diff] [blame] | 214 | assertNotEquals(DataStoreClient.getClient().getVersionNonexistant(), sw.getVersion()); |
Yuta HIGUCHI | 44a0b35 | 2014-05-14 21:32:48 -0700 | [diff] [blame] | 215 | assertSwitchInDataStore(DPID1, STATUS.ACTIVE); |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 216 | |
| 217 | |
Ray Milkey | 269ffb9 | 2014-04-03 14:43:30 -0700 | [diff] [blame] | 218 | sw1.forceDelete(); |
Ray Milkey | 7531a34 | 2014-04-11 15:08:12 -0700 | [diff] [blame] | 219 | assertNotEquals(DataStoreClient.getClient().getVersionNonexistant(), sw1.getVersion()); |
Yuta HIGUCHI | 6a64313 | 2014-03-18 22:39:27 -0700 | [diff] [blame] | 220 | } |
| 221 | |
| 222 | } |