ReadFlockDetailsTest

14

tests

0

failures

0

ignored

0.346s

duration

100%

successful

Tests

Test Duration Result
testDepletedCountOverStartCount() 0.031s passed
testDepletedCountValidInput() 0.032s passed
testGetFlockDetailsFromDateDNEFlock() 0.013s passed
testGetFlockDetailsFromDateEndDateBeforeStartDate() 0.013s passed
testGetFlockDetailsFromDateNoData() 0.014s passed
testGetFlockDetailsFromDateWithDataOne() 0.027s passed
testGetFlockDetailsFromDateWithDataTwo() 0.040s passed
testGetFlockDetailsFromFlockDNEFlock() 0.014s passed
testGetFlockDetailsFromFlockNoData() 0.014s passed
testGetFlockDetailsFromFlockWithValidInput() 0.044s passed
testGetFlockDetailsFromSelectSlice() 0.036s passed
testGetMostRecentWithNoData() 0.009s passed
testGetMostRecentWithValidInput() 0.030s passed
testReadFlockDetailsValidInput() 0.029s passed

Standard output

database name: db_poultry
database pass: DogIsSoAmazingAndKind
database port: 5432
Welcome to DBPoultry's DBMS
Connected to: jdbc:postgresql://localhost:5432/db_poultry
database name: db_poultry
database pass: DogIsSoAmazingAndKind
database port: 5432
Welcome to DBPoultry's DBMS
Connected to: jdbc:postgresql://localhost:5432/db_poultry
database name: db_poultry
database pass: DogIsSoAmazingAndKind
database port: 5432
Welcome to DBPoultry's DBMS
Connected to: jdbc:postgresql://localhost:5432/db_poultry
database name: db_poultry
database pass: DogIsSoAmazingAndKind
database port: 5432
Welcome to DBPoultry's DBMS
Connected to: jdbc:postgresql://localhost:5432/db_poultry
database name: db_poultry
database pass: DogIsSoAmazingAndKind
database port: 5432
Welcome to DBPoultry's DBMS
Connected to: jdbc:postgresql://localhost:5432/db_poultry
database name: db_poultry
database pass: DogIsSoAmazingAndKind
database port: 5432
Welcome to DBPoultry's DBMS
Connected to: jdbc:postgresql://localhost:5432/db_poultry
database name: db_poultry
database pass: DogIsSoAmazingAndKind
database port: 5432
Welcome to DBPoultry's DBMS
Connected to: jdbc:postgresql://localhost:5432/db_poultry

============================== DB_POULTRY ERROR 
Error in `createFlockDetails()` in `CreateFlockDetails`.
The depleted count is invalid.
Solution: Ensure that the depleted count ensures that the TOTAL count is positive.

======================== END OF DB_POULTRY ERROR
database name: db_poultry
database pass: DogIsSoAmazingAndKind
database port: 5432
Welcome to DBPoultry's DBMS
Connected to: jdbc:postgresql://localhost:5432/db_poultry
database name: db_poultry
database pass: DogIsSoAmazingAndKind
database port: 5432
Welcome to DBPoultry's DBMS
Connected to: jdbc:postgresql://localhost:5432/db_poultry
database name: db_poultry
database pass: DogIsSoAmazingAndKind
database port: 5432
Welcome to DBPoultry's DBMS
Connected to: jdbc:postgresql://localhost:5432/db_poultry
database name: db_poultry
database pass: DogIsSoAmazingAndKind
database port: 5432
Welcome to DBPoultry's DBMS
Connected to: jdbc:postgresql://localhost:5432/db_poultry
database name: db_poultry
database pass: DogIsSoAmazingAndKind
database port: 5432
Welcome to DBPoultry's DBMS
Connected to: jdbc:postgresql://localhost:5432/db_poultry
database name: db_poultry
database pass: DogIsSoAmazingAndKind
database port: 5432
Welcome to DBPoultry's DBMS
Connected to: jdbc:postgresql://localhost:5432/db_poultry
database name: db_poultry
database pass: DogIsSoAmazingAndKind
database port: 5432
Welcome to DBPoultry's DBMS
Connected to: jdbc:postgresql://localhost:5432/db_poultry

============================== DB_POULTRY ERROR 
Error in `getFlockDetailsFromDate()`.
End date happens before start date.
Solution: No solution provided.

======================== END OF DB_POULTRY ERROR