@@ -0,0 +1,1630 @@
+/***********************************************************************************************************************%0A *%0A * Copyright (C) 2010-2013 by the Stratosphere project (http://stratosphere.eu)%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22); you may not use this file except in compliance with%0A * the License. You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on%0A * an %22AS IS%22 BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the%0A * specific language governing permissions and limitations under the License.%0A *%0A **********************************************************************************************************************/%0Apackage eu.stratosphere.api.common.typeutils.base;%0A%0Aimport java.util.Random;%0A%0Aimport eu.stratosphere.api.common.typeutils.SerializerTestBase;%0Aimport eu.stratosphere.api.common.typeutils.TypeSerializer;%0Aimport eu.stratosphere.util.StringUtils;%0A%0A/**%0A * A test for the %7B@link StringSerializer%7D.%0A */%0Apublic class StringSerializerTest extends SerializerTestBase%3CString%3E %7B%0A%09%0A%09@Override%0A%09protected TypeSerializer%3CString%3E createSerializer() %7B%0A%09%09return new StringSerializer();%0A%09%7D%0A%09%0A%09@Override%0A%09protected int getLength() %7B%0A%09%09return -1;%0A%09%7D%0A%09%0A%09@Override%0A%09protected Class%3CString%3E getTypeClass() %7B%0A%09%09return String.class;%0A%09%7D%0A%09%0A%09@Override%0A%09protected String%5B%5D getTestData() %7B%0A%09%09return new String%5B%5D %7B%22a%22, %22%22, %22bcd%22, %22jbmbmner8 jhk hj %5Cn %5Ct %C3%BC%C3%A4%C3%9F%C3%9F@%C2%B5%22, %22%22, %22non-empty%22%7D;%0A%09%7D%0A%7D

Add test for StringSerializer for #589