Example #1
0
 def test_154_AllFetches(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_154)
 def test_131_PrepareExecuteSelectStatementParams(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_131)
 def test_createDropDB(self):
     obj = IbmDbTestFunctions()
     if (obj.server.DBMS_NAME == "DB2") or (obj.server.DBMS_NAME[0:3] != "DB2"):
         raise unittest.SkipTest("createdb, dropdb not Supported")
     obj.assert_expect(self.run_test_createDropDB)
 def test_102_NumFieldsSelect_01(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_102)
 def test_008_ColumnInfo(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_008)
 def test_022_RollbackInsert(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_022)
 def test_145_BindRetrieveNoneEmptyString(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_145)
Example #8
0
 def test_131_PrepareExecuteSelectStatementParams(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_131)
Example #9
0
 def test_024_ForeignKeys(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_024)
 def test_cursortype(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_cursortype)
 def test_010_UpdateRowCount(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_010)
Example #12
0
 def test_createDropDB(self):
     obj = IbmDbTestFunctions()
     if ((obj.server.DBMS_NAME == "DB2") or (obj.server.DBMS_NAME[0:3] != "DB2")):
         raise unittest.SkipTest("createdb, dropdb not Supported")
     obj.assert_expect(self.run_test_createDropDB)
Example #13
0
 def test_211_FieldDisplaySize_02(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_211)
Example #14
0
 def test_146_CallSPINAndOUTParams(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_146)
 def test_115_NumericTest_02(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_115)
Example #16
0
 def test_081_ConnWrongUser(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_081)
 def test_035_FetchRow_01(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_035)
Example #18
0
 def test_052_SetAutocommit_02(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_052)
 def test_162_FetchBothNestedSelects_02(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_162)
 def test_144_BindParamInsertStmtPARAM_FILE(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_144)
 def test_082_ConnWrongPwd(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_082)
Example #22
0
 def test_035_FetchRow_01(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_035)
 def test_144_BindParamInsertStmtPARAM_FILE(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_144)
Example #24
0
 def test_decfloat(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_decfloat)
 def test_6561_InsertNULLValues(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_6561)
 def test_007_pConnPassingOpts(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_007)
 def test_044_FetchTupleMany_04(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_044)
Example #28
0
 def test_157_FetchAssocScrollableCursor_01(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_157)
 def test_221_100PersistentConns(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_221)
 def test_159_FetchAssocSeveralRows_01(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_159)
 def test_142_BindParamSelectStmtMultipleParams_02(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_142)
 def test_122_FieldNameDiffCaseColNames(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_122)
 def test_071_CloseSuccess(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_071)
 def test_311_InsertSelectDeleteNumLiterals(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_311)
 def test_031_ResultIndexPosition(self):
    obj = IbmDbTestFunctions()
    obj.assert_expect(self.run_test_031)
 def test_031_ResultIndexPosition(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_031)
 def test_034_FetchAssoc(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_034)
 def test_005_ConnBadUserBadPwd(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_005)
 def test_265_NoAffectedRows(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_265)
 def test_231_FieldTypeName(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_231)
 def test_017_selectRowcountPrefetchSTMTOpt(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_017)
 def test_157a_FetchAssocWithoutScrollableCursorErr(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_157a)
 def test_6528_ScopingProblemBindParam(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_6528)
 def test_038_FetchRowIndexPosNested_01(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_038)
 def test_155_FetchAssocSelect_05(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_155)
 def test_053_AttrThruConn(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_053)
 def test_116_ConnActive(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_116)
 def test_116_ConnActive(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_116)
 def test_012_KeysetDrivenCursorSelect01(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_012)
Example #50
0
 def test_047_FetchTupleMany_06(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_047)
 def test_201_MultipleRsltsetsDiffColDefs(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_201)
Example #52
0
 def test_264_InsertRetrieveBIGINTTypeColumn(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_264)
 def test_039_FetchRowIndexPosNested_02(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_039)
Example #54
0
 def test_162_FetchBothNestedSelects_02(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_162)
 def test_040_FetchTuple(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_040)
Example #56
0
 def test_150_FetchAssocSelect_01(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_150)
 def test_025_PrimaryKeys(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_025)
 def test_154_AllFetches(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_154)
 def test_091_ConnmsgWrongUser(self):
   obj = IbmDbTestFunctions()
   obj.assert_expect(self.run_test_091)
Example #60
0
 def test_012_KeysetDrivenCursorSelect01(self):
     obj = IbmDbTestFunctions()
     obj.assert_expect(self.run_test_012)