/** * @group arnia-wrong-parameters-count */ public function testCubridGetClientInfo2() { if (OUTPUT_FUNCTION_NAME == true) { echo "\r\nRunning: " . __FUNCTION__ . " = "; } try { cubrid_get_client_info(1); $this->assertTrue(FALSE, "Expected Exception not thrown."); } catch (Exception $e) { //echo $e->getMessage(); $this->assertEquals(0, cubrid_error_code()); $this->assertEquals(0, cubrid_error_code_facility()); $this->assertEquals('', cubrid_error_msg()); } }
function sql_client_info($link = null) { $result = cubrid_get_client_info(); return $result; }