DATABASE SCHEMA
This commit is contained in:
		
							parent
							
								
									cbed41abb3
								
							
						
					
					
						commit
						e693a67b73
					
				
					 25 changed files with 222 additions and 41 deletions
				
			
		
							
								
								
									
										10
									
								
								app/bin/test/ExpectedCookies.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								app/bin/test/ExpectedCookies.json
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,10 @@ | |||
| { | ||||
|   "cookies": [ | ||||
|     {"name": "Amneris"}, | ||||
|     {"name": "Berliner"}, | ||||
|     {"name": "Nut cookie"}, | ||||
|     {"name": "Nut ring"}, | ||||
|     {"name": "Tango"}, | ||||
|     {"name": "Almond delight"} | ||||
|   ] | ||||
| } | ||||
							
								
								
									
										12
									
								
								app/bin/test/ExpectedCustomers.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								app/bin/test/ExpectedCustomers.json
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,12 @@ | |||
| { | ||||
|   "customers": [ | ||||
|     {"name": "Bjudkakor AB", "address": "Ystad"}, | ||||
|     {"name": "Finkakor AB", "address": "Helsingborg"}, | ||||
|     {"name": "Gästkakor AB", "address": "Hässleholm"}, | ||||
|     {"name": "Kaffebröd AB", "address": "Landskrona"}, | ||||
|     {"name": "Kalaskakor AB", "address": "Trelleborg"}, | ||||
|     {"name": "Partykakor AB", "address": "Kristianstad"}, | ||||
|     {"name": "Skånekakor AB", "address": "Perstorp"}, | ||||
|     {"name": "Småbröd AB", "address": "Malmö"} | ||||
|   ] | ||||
| } | ||||
							
								
								
									
										11
									
								
								app/bin/test/ExpectedPallets.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								app/bin/test/ExpectedPallets.json
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,11 @@ | |||
| { | ||||
|   "pallets": [ | ||||
|     {"cookie": "Amneris", "blocked": "no"}, | ||||
|     {"cookie": "Amneris", "blocked": "no"}, | ||||
|     {"cookie": "Amneris", "blocked": "no"}, | ||||
|     {"cookie": "Berliner", "blocked": "no"}, | ||||
|     {"cookie": "Nut ring", "blocked": "no"}, | ||||
|     {"cookie": "Nut ring", "blocked": "no"}, | ||||
|     {"cookie": "Tango", "blocked": "no"} | ||||
|   ] | ||||
| } | ||||
							
								
								
									
										6
									
								
								app/bin/test/ExpectedPalletsByCookie.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								app/bin/test/ExpectedPalletsByCookie.json
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,6 @@ | |||
| { | ||||
|   "pallets": [ | ||||
|     {"cookie": "Nut ring", "blocked": "no"}, | ||||
|     {"cookie": "Nut ring", "blocked": "no"} | ||||
|   ] | ||||
| } | ||||
							
								
								
									
										4
									
								
								app/bin/test/ExpectedPalletsEmpty.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								app/bin/test/ExpectedPalletsEmpty.json
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,4 @@ | |||
| { | ||||
|   "pallets": [ | ||||
|   ] | ||||
| } | ||||
							
								
								
									
										23
									
								
								app/bin/test/ExpectedRawMaterialsAfterCreatingPallets.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								app/bin/test/ExpectedRawMaterialsAfterCreatingPallets.json
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,23 @@ | |||
| { | ||||
|   "raw-materials": [ | ||||
|     {"name": "Bread crumbs", "amount": 500000, "unit": "g"}, | ||||
|     {"name": "Butter", "amount": 386600, "unit": "g"}, | ||||
|     {"name": "Chocolate", "amount": 497300, "unit": "g"}, | ||||
|     {"name": "Chopped almonds", "amount": 500000, "unit": "g"}, | ||||
|     {"name": "Cinnamon", "amount": 500000, "unit": "g"}, | ||||
|     {"name": "Egg whites", "amount": 500000, "unit": "ml"}, | ||||
|     {"name": "Eggs", "amount": 456800, "unit": "g"}, | ||||
|     {"name": "Fine-ground nuts", "amount": 500000, "unit": "g"}, | ||||
|     {"name": "Flour", "amount": 416300, "unit": "g"}, | ||||
|     {"name": "Ground, roasted nuts", "amount": 500000, "unit": "g"}, | ||||
|     {"name": "Icing sugar", "amount": 474080, "unit": "g"}, | ||||
|     {"name": "Marzipan", "amount": 378500, "unit": "g"}, | ||||
|     {"name": "Potato starch", "amount": 495950, "unit": "g"}, | ||||
|     {"name": "Roasted, chopped nuts", "amount": 475700, "unit": "g"}, | ||||
|     {"name": "Sodium bicarbonate", "amount": 499784, "unit": "g"}, | ||||
|     {"name": "Sugar", "amount": 486500, "unit": "g"}, | ||||
|     {"name": "Vanilla", "amount": 499892, "unit": "g"}, | ||||
|     {"name": "Vanilla sugar", "amount": 499730, "unit": "g"}, | ||||
|     {"name": "Wheat flour", "amount": 495950, "unit": "g"} | ||||
|   ] | ||||
| } | ||||
							
								
								
									
										23
									
								
								app/bin/test/ExpectedRawMaterialsStart.json
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								app/bin/test/ExpectedRawMaterialsStart.json
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,23 @@ | |||
| { | ||||
|   "raw-materials": [ | ||||
|     {"name": "Bread crumbs", "amount": 500000, "unit": "g"}, | ||||
|     {"name": "Butter", "amount": 500000, "unit": "g"}, | ||||
|     {"name": "Chocolate", "amount": 500000, "unit": "g"}, | ||||
|     {"name": "Chopped almonds", "amount": 500000, "unit": "g"}, | ||||
|     {"name": "Cinnamon", "amount": 500000, "unit": "g"}, | ||||
|     {"name": "Egg whites", "amount": 500000, "unit": "ml"}, | ||||
|     {"name": "Eggs", "amount": 500000, "unit": "g"}, | ||||
|     {"name": "Fine-ground nuts", "amount": 500000, "unit": "g"}, | ||||
|     {"name": "Flour", "amount": 500000, "unit": "g"}, | ||||
|     {"name": "Ground, roasted nuts", "amount": 500000, "unit": "g"}, | ||||
|     {"name": "Icing sugar", "amount": 500000, "unit": "g"}, | ||||
|     {"name": "Marzipan", "amount": 500000, "unit": "g"}, | ||||
|     {"name": "Potato starch", "amount": 500000, "unit": "g"}, | ||||
|     {"name": "Roasted, chopped nuts", "amount": 500000, "unit": "g"}, | ||||
|     {"name": "Sodium bicarbonate", "amount": 500000, "unit": "g"}, | ||||
|     {"name": "Sugar", "amount": 500000, "unit": "g"}, | ||||
|     {"name": "Vanilla", "amount": 500000, "unit": "g"}, | ||||
|     {"name": "Vanilla sugar", "amount": 500000, "unit": "g"}, | ||||
|     {"name": "Wheat flour", "amount": 500000, "unit": "g"} | ||||
|   ] | ||||
| } | ||||
							
								
								
									
										
											BIN
										
									
								
								app/bin/test/krusty/KrustyTests.class
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								app/bin/test/krusty/KrustyTests.class
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alexander Ek
						Alexander Ek