/** * Test method for {@link * edu.psu.iam.cpr.core.database.tables.validate.ValidateUserComment#validateGetUserCommentByTypeParameters(Database, * long, java.lang.String, java.lang.String, java.lang.String)}. * * @throws Exception * @throws Exception */ @Test public final void testValidateUserCommentParameters36() throws Exception { openDbConnection(); ValidateUserComment.validateGetUserCommentByTypeParameters( db, 100000, "tzj115", "USER_COMMENT_MISUSE", "cpruser"); db.closeSession(); }
/** * Test method for {@link * edu.psu.iam.cpr.core.database.tables.validate.ValidateUserComment#validateGetUserCommentByTypeParameters(Database, * long, java.lang.String, java.lang.String, java.lang.String)}. * * @throws Exception * @throws Exception */ @Test(expectedExceptions = Exception.class) public final void testValidateUserCommentParameters35() throws Exception { openDbConnection(); ValidateUserComment.validateGetUserCommentByTypeParameters( db, 100000, "tzj115", "USER_COMMENT_MISUSE", "1234567890123456789012345678901"); db.closeSession(); }
/** * Test method for {@link * edu.psu.iam.cpr.core.database.tables.validate.ValidateUserComment#validateGetUserCommentByTypeParameters(Database, * long, java.lang.String, java.lang.String, java.lang.String)}. * * @throws Exception * @throws Exception */ @Test(expectedExceptions = Exception.class) public final void testValidateUserCommentParameters33() throws Exception { ValidateUserComment.validateGetUserCommentByTypeParameters( db, 100000, "tzj115", "USER_COMMENT_MISUSE", ""); }
/** * Test method for {@link * edu.psu.iam.cpr.core.database.tables.validate.ValidateUserComment#validateGetUserCommentByTypeParameters(Database, * long, java.lang.String, java.lang.String, java.lang.String)}. * * @throws Exception * @throws Exception */ @Test(expectedExceptions = Exception.class) public final void testValidateUserCommentParameters31() throws Exception { ValidateUserComment.validateGetUserCommentByTypeParameters(db, 100000, "tzj115", "", null); }