• Switched to BDL scenario.
• Updated test classes to match current API.
1 parent bdbbe00 commit 71c2e61e17f6c162be49f643cce45f1f7ed3d318
Nigel Stanger authored on 29 Apr 2016
Showing 31 changed files
View
6
BDL/Test_classes/Assembly/BDL_Test_Assembly.php
'PRODUCT' => array ( 'PRODUCT_CODE' ),
'COMPONENT' => array ( 'COMPONENT_CODE' ),
);
}
public function getUniqueColumnList()
{
return array();
}
}
?>
View
11
BDL/Test_classes/Assembly/BDL_Test_Assembly_data.php
return $this->createXMLDataSet( TEST_CLASS_PATH . '/Assembly/BDL_Fixture_Assembly.xml' );
}
/**
* Return whether or not the fixture should be loaded.
*
* @return boolean
*/
protected function willLoadFixture()
{
return true;
}
/**
* @dataProvider provideColumnUnderflowValues
* @expectedException PDOException
* @expectedExceptionMessage check constraint
View
11
BDL/Test_classes/Assembly/BDL_Test_Assembly_structure.php
return $this->createXMLDataSet( TEST_CLASS_PATH . '/Assembly/BDL_Fixture_Assembly_Empty.xml' );
}
/**
* Return whether or not the fixture should be loaded.
*
* @return boolean
*/
protected function willLoadFixture()
{
return false;
}
public function testTableExists()
{
$this->assertTableExists();
}
View
6
BDL/Test_classes/Component/BDL_Test_Component.php
public function getFKColumnList()
{
return array( 'SUPPLIER' => array ( 'SUPPLIER_ID' ) );
}
public function getUniqueColumnList()
{
return array();
}
}
?>
View
BDL/Test_classes/Component/BDL_Test_Component_data.php
View
BDL/Test_classes/Component/BDL_Test_Component_structure.php
View
BDL/Test_classes/Customer/BDL_Test_Customer.php
View
BDL/Test_classes/Customer/BDL_Test_Customer_data.php
View
BDL/Test_classes/Customer/BDL_Test_Customer_structure.php
View
BDL/Test_classes/Order_head/BDL_Test_Order_head.php
View
BDL/Test_classes/Order_head/BDL_Test_Order_head_data.php
View
BDL/Test_classes/Order_head/BDL_Test_Order_head_structure.php
View
BDL/Test_classes/Order_line/BDL_Test_Order_line.php
View
BDL/Test_classes/Order_line/BDL_Test_Order_line_data.php
View
BDL/Test_classes/Order_line/BDL_Test_Order_line_structure.php
View
BDL/Test_classes/Product/BDL_Test_Product.php
View
BDL/Test_classes/Product/BDL_Test_Product_data.php
View
BDL/Test_classes/Product/BDL_Test_Product_structure.php
View
BDL/Test_classes/Sale_head/BDL_Test_Sale_head.php
View
BDL/Test_classes/Sale_head/BDL_Test_Sale_head_data.php
View
BDL/Test_classes/Sale_head/BDL_Test_Sale_head_structure.php
View
BDL/Test_classes/Sale_line/BDL_Test_Sale_line.php
View
BDL/Test_classes/Sale_line/BDL_Test_Sale_line_data.php
View
BDL/Test_classes/Sale_line/BDL_Test_Sale_line_structure.php
View
BDL/Test_classes/Staff/BDL_Test_Staff.php
View
BDL/Test_classes/Staff/BDL_Test_Staff_data.php
View
BDL/Test_classes/Staff/BDL_Test_Staff_structure.php
View
BDL/Test_classes/Supplier/BDL_Test_Supplier.php
View
BDL/Test_classes/Supplier/BDL_Test_Supplier_data.php
View
BDL/Test_classes/Supplier/BDL_Test_Supplier_structure.php
View
Unit_testing/test_config.php.in