Remove extra whitespace in the testing files.

Make importProducts check file headers.
Add testing collateral, and tests
This commit is contained in:
Colin Kuskie 2008-05-27 01:12:01 +00:00
parent b283ebaf81
commit b03b3b340e
6 changed files with 173 additions and 102 deletions

View file

@ -0,0 +1,4 @@
mastersku,skew,title,shortdescription,price,weight,quantity
t-shirt,red-t-shirt,Red T-Shirt,Red T-Shirt,5.00,1.33,1000
t-shirt,blue-t-shirt,Blue T-Shirt,Blue T-Shirt,5.25,1.33,2000
soda,soda-sweet,Sweet Soda-bottled in Oregon,Sweet Soda,0.95,0.95,500
1 mastersku skew title shortdescription price weight quantity
2 t-shirt red-t-shirt Red T-Shirt Red T-Shirt 5.00 1.33 1000
3 t-shirt blue-t-shirt Blue T-Shirt Blue T-Shirt 5.25 1.33 2000
4 soda soda-sweet Sweet Soda-bottled in Oregon Sweet Soda 0.95 0.95 500

View file

@ -0,0 +1,4 @@
mastersku,sku,title,shortdescription,price,weight,quantity
t-shirt,red-t-shirt,Red T-Shirt,Red T-Shirt,5.00,1.33,1000
t-shirt,blue-t-shirt,Blue T-Shirt,Blue T-Shirt,5.25,1.33,2000
soda,soda-sweet,Sweet Soda-bottled in Oregon,Sweet Soda,0.95,0.95,500
1 mastersku sku title shortdescription price weight quantity
2 t-shirt red-t-shirt Red T-Shirt Red T-Shirt 5.00 1.33 1000
3 t-shirt blue-t-shirt Blue T-Shirt Blue T-Shirt 5.25 1.33 2000
4 soda soda-sweet Sweet Soda-bottled in Oregon Sweet Soda 0.95 0.95 500

View file

@ -0,0 +1,3 @@
t-shirt,red-t-shirt,Red T-Shirt,Red T-Shirt,5.00,1.33,1000
t-shirt,blue-t-shirt,Blue T-Shirt,Blue T-Shirt,5.25,1.33,2000
soda,soda-sweet,Sweet Soda-bottled in Oregon,Sweet Soda,0.95,0.95,500
1 t-shirt red-t-shirt Red T-Shirt Red T-Shirt 5.00 1.33 1000
2 t-shirt blue-t-shirt Blue T-Shirt Blue T-Shirt 5.25 1.33 2000
3 soda soda-sweet Sweet Soda-bottled in Oregon Sweet Soda 0.95 0.95 500