コード例 #1
0
 /**
  * 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();
 }
コード例 #2
0
 /**
  * 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();
 }
コード例 #3
0
 /**
  * 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", "");
 }
コード例 #4
0
 /**
  * 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);
 }