}
}
public void testSeq7()
{
final Seq seq7 = model.createSeq();
final String test = "seq7";
int n = 0;
n = ((n / 100) * 100) + 100;
for (int i = 0; i < TestSeqMethods.num; i++)
{
seq7.add(i);
}
n = ((n / 100) * 100) + 100;
seq7.set(5, AbstractModelTestBase.tvBoolean);
n++;
if (!(seq7.getBoolean(5) == AbstractModelTestBase.tvBoolean))
{
error(test, n);
}
n++;
if (!(seq7.getInt(4) == 3))
{
error(test, n);
}
n++;
if (!(seq7.getInt(6) == 5))
{
error(test, n);
}
n++;
if (!(seq7.size() == TestSeqMethods.num))
{
error(test, n);
}
n = ((n / 100) * 100) + 100;
seq7.set(5, AbstractModelTestBase.tvByte);
n++;
if (!(seq7.getByte(5) == AbstractModelTestBase.tvByte))
{
error(test, n);
}
n++;
if (!(seq7.getInt(4) == 3))
{
error(test, n);
}
n++;
if (!(seq7.getInt(6) == 5))
{
error(test, n);
}
n++;
if (!(seq7.size() == TestSeqMethods.num))
{
error(test, n);
}
n = ((n / 100) * 100) + 100;
seq7.set(5, AbstractModelTestBase.tvShort);
n++;
if (!(seq7.getShort(5) == AbstractModelTestBase.tvShort))
{
error(test, n);
}
n++;
if (!(seq7.getInt(4) == 3))
{
error(test, n);
}
n++;
if (!(seq7.getInt(6) == 5))
{
error(test, n);
}
n++;
if (!(seq7.size() == TestSeqMethods.num))
{
error(test, n);
}
n = ((n / 100) * 100) + 100;
seq7.set(5, AbstractModelTestBase.tvInt);
n++;
if (!(seq7.getInt(5) == AbstractModelTestBase.tvInt))
{
error(test, n);
}
n++;
if (!(seq7.getInt(4) == 3))
{
error(test, n);
}
n++;
if (!(seq7.getInt(6) == 5))
{
error(test, n);
}
n++;
if (!(seq7.size() == TestSeqMethods.num))
{
error(test, n);
}
n = ((n / 100) * 100) + 100;
seq7.set(5, AbstractModelTestBase.tvLong);
n++;
if (!(seq7.getLong(5) == AbstractModelTestBase.tvLong))
{
error(test, n);
}
n++;
if (!(seq7.getInt(4) == 3))
{
error(test, n);
}
n++;
if (!(seq7.getInt(6) == 5))
{
error(test, n);
}
n++;
if (!(seq7.size() == TestSeqMethods.num))
{
error(test, n);
}
n = ((n / 100) * 100) + 100;
seq7.set(5, AbstractModelTestBase.tvChar);
n++;
if (!(seq7.getChar(5) == AbstractModelTestBase.tvChar))
{
error(test, n);
}
n++;
if (!(seq7.getInt(4) == 3))
{
error(test, n);
}
n++;
if (!(seq7.getInt(6) == 5))
{
error(test, n);
}
n++;
if (!(seq7.size() == TestSeqMethods.num))
{
error(test, n);
}
n = ((n / 100) * 100) + 100;
seq7.set(5, AbstractModelTestBase.tvFloat);
n++;
if (!(seq7.getFloat(5) == AbstractModelTestBase.tvFloat))
{
error(test, n);
}
n++;
if (!(seq7.getInt(4) == 3))
{
error(test, n);
}
n++;
if (!(seq7.getInt(6) == 5))
{
error(test, n);
}
n++;
if (!(seq7.size() == TestSeqMethods.num))
{
error(test, n);
}
n = ((n / 100) * 100) + 100;
seq7.set(5, AbstractModelTestBase.tvDouble);
n++;
if (!(seq7.getDouble(5) == AbstractModelTestBase.tvDouble))
{
error(test, n);
}
n++;
if (!(seq7.getInt(4) == 3))
{
error(test, n);
}
n++;
if (!(seq7.getInt(6) == 5))
{
error(test, n);
}
n++;
if (!(seq7.size() == TestSeqMethods.num))
{
error(test, n);
}
n = ((n / 100) * 100) + 100;
seq7.set(5, AbstractModelTestBase.tvString);
n++;
if (!(seq7.getString(5).equals(AbstractModelTestBase.tvString)))
{
error(test, n);
}
n++;
if (!(seq7.getLanguage(5).equals("")))
{
error(test, n);
}
n++;
if (!(seq7.getInt(4) == 3))
{
error(test, n);
}
n++;
if (!(seq7.getInt(6) == 5))
{
error(test, n);
}
n++;
if (!(seq7.size() == TestSeqMethods.num))
{
error(test, n);
}
seq7.set(5, AbstractModelTestBase.tvString, TestSeqMethods.lang);
n++;
if (!(seq7.getString(5).equals(AbstractModelTestBase.tvString)))
{
error(test, n);
}
n++;
if (!(seq7.getLanguage(5).equals(TestSeqMethods.lang)))
{
error(test, n);
}
n++;
if (!(seq7.getInt(4) == 3))
{
error(test, n);
}
n++;
if (!(seq7.getInt(6) == 5))
{
error(test, n);
}
n++;
if (!(seq7.size() == TestSeqMethods.num))
{
error(test, n);
}
n = ((n / 100) * 100) + 100;
seq7.set(5, tvLiteral);
n++;
if (!(seq7.getLiteral(5).equals(tvLiteral)))
{
error(test, n);
}
n++;
if (!(seq7.getInt(4) == 3))
{
error(test, n);
}
n++;
if (!(seq7.getInt(6) == 5))
{
error(test, n);
}
n++;
if (!(seq7.size() == TestSeqMethods.num))
{
error(test, n);
}
n = ((n / 100) * 100) + 100;
seq7.set(5, tvResource);
n++;
if (!(seq7.getResource(5).equals(tvResource)))
{
error(test, n);
}
n++;
if (!(seq7.getInt(4) == 3))
{
error(test, n);
}
n++;
if (!(seq7.getInt(6) == 5))
{
error(test, n);
}
n++;
if (!(seq7.size() == TestSeqMethods.num))
{
error(test, n);
}
n = ((n / 100) * 100) + 100;
seq7.set(5, anObject);
n++;
// if (!(seq7.getObject( 5, new LitTestObjF() )).equals( anObject ))
// error(
// test, n );
n++;
if (!(seq7.getInt(4) == 3))
{
error(test, n);
}
n++;
if (!(seq7.getInt(6) == 5))
{
error(test, n);
}
n++;
if (!(seq7.size() == TestSeqMethods.num))
{
error(test, n);
}
n = ((n / 100) * 100) + 100;
// seq7.set( 5, tvResObj );
// n++;
// if (!(seq7.getResource( 5, new ResTestObjF() ).equals( tvResObj )))
// error(
// test, n );
n++;
if (!(seq7.getInt(4) == 3))
{
error(test, n);
}
n++;
if (!(seq7.getInt(6) == 5))
{
error(test, n);
}
n++;
if (!(seq7.size() == TestSeqMethods.num))
{
error(test, n);
}
}