Commits

cacol89 committed 49224bf

added description of test cases

  • Participants
  • Parent commits f526d8d

Comments (0)

Files changed (7)

test/integration/beer.datalog

+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% 'Beer' test suit.
+% 
+% This file contains tests over the 'famous' drinker
+% database that includes beer preferences for drinkers,
+% bars they frequent, and beers served at the bars. The
+% file 'test/sql/beer.sql' contains the DB schema and
+% sample data for running the tests.
+%
+% The programs in this file are made to test mainly
+% negation in YADI.
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
 %%%%%%%%%%%%%%%%%%
 % General negation
 %%%%%%%%%%%%%%%%%%

test/integration/employees.datalog

+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% 'Employees' test suit.
+% 
+% This file contains tests over the 'famous' employee
+% database that includes department information for an
+% enterprise, employee information including the department
+% they belong to, and employees phone numbers. The
+% file 'test/sql/employee.sql' contains the DB schema and
+% sample data for running the tests.
+%
+% The programs in this file are made to test mainly
+% simple conjunctive queries with YADI.
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
 %%%%%%%%%%%%%%%%%
 % SELECT *
 %%%%%%%%%%%%%%%%%

test/integration/employees2.datalog

+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% 'Employees' test suit.
+% 
+% This file contains tests over the 'famous' employee
+% database that includes department information for an
+% enterprise, employee information including the department
+% they belong to, and employees phone numbers. The
+% file 'test/sql/employee.sql' contains the DB schema and
+% sample data for running the tests.
+%
+% The programs in this file are made to test mainly
+% simple conjunctive queries with YADI.
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
 %............................................
 %............................................
 %............................................

test/integration/family.datalog

+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% 'Family' test suit.
+% 
+% This file contains tests over a simple family
+% database that includes parental relations between the
+% members of the family (mother and father). The
+% file 'test/sql/family.sql' contains the DB schema and
+% sample data for running the tests.
+%
+% The programs in this file are made to test mainly
+% recursion in predicates with YADI.
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
 %%%%%%%%%%%%%%%%%
 % EDB queries
 %%%%%%%%%%%%%%%%%

test/integration/family2.datalog

+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% 'Family' test suit.
+% 
+% This file contains tests over a simple family
+% database that includes parental relations between the
+% members of the family (mother and father). The
+% file 'test/sql/family.sql' contains the DB schema and
+% sample data for running the tests.
+%
+% The programs in this file are made to test mainly
+% recursion in predicates with YADI.
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
 %............................................
 %............................................
 %............................................

test/integration/payment.datalog

+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% 'Payment' test suit.
+% 
+% This file contains tests over a simple payment
+% database that includes information about people,
+% services they have to pay, and payment transactions,
+% where a payment is reated to a person, a service,
+% an amount payed, and a day where the transaction
+% was performed. The file 'test/sql/payment.sql' contains
+% the DB schema and sample data for running the tests.
+%
+% The programs in this file are made to test mainly
+% aggregate functions in predicates with YADI.
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
 %%%%%%%%%%%%%%%%%
 % Whole-table aggregates 
 %%%%%%%%%%%%%%%%%

test/integration/payment2.datalog

+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%
+% 'Payment' test suit.
+% 
+% This file contains tests over a simple payment
+% database that includes information about people,
+% services they have to pay, and payment transactions,
+% where a payment is reated to a person, a service,
+% an amount payed, and a day where the transaction
+% was performed. The file 'test/sql/payment.sql' contains
+% the DB schema and sample data for running the tests.
+%
+% The programs in this file are made to test mainly
+% aggregate functions in predicates with YADI.
+%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
 %............................................
 %............................................
 %............................................