<?xml version="1.0" ?>
<Root>
    <TestCase name="testFlush">
        <Resource name="output">
            <![CDATA[Cache state before flush:

Cache state before flush:
Segment #2 (ready) {Year (12): `time_by_day`.`the_year`, constraint=*, values={1997}; Product Family (17): `product_class`.`product_family`, constraint=*, values={Drink, Food, Non-Consumable}
Segment #0 (ready) {Month (14): `time_by_day`.`month_of_year`, constraint=*, values={1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}; Quarter (13): `time_by_day`.`quarter`, constraint=*, values={Q1, Q2, Q3, Q4}; Year (12): `time_by_day`.`the_year`, constraint=*, values={1997}; Product Family (17): `product_class`.`product_family`, constraint=*, values={Drink, Food, Non-Consumable}
Segment #1 (ready) {Quarter (13): `time_by_day`.`quarter`, constraint=*, values={Q1, Q2, Q3, Q4}; Year (12): `time_by_day`.`the_year`, constraint=*, values={1997}; Product Family (17): `product_class`.`product_family`, constraint=*, values={Drink, Food, Non-Consumable}

discard segment - all values on column Year (12): `time_by_day`.`the_year` are filtered: Segment #2 {measure=sum(sales_fact_1997.unit_sales), time_by_day.the_year=any, product_class.product_family=any}
discard segment - all values on column Quarter (13): `time_by_day`.`quarter` are filtered: Segment #0 {measure=sum(sales_fact_1997.unit_sales), time_by_day.month_of_year=any, time_by_day.quarter=any, time_by_day.the_year=any, product_class.product_family=any}
discard segment - all values on column Quarter (13): `time_by_day`.`quarter` are filtered: Segment #1 {measure=sum(sales_fact_1997.unit_sales), time_by_day.quarter=any, time_by_day.the_year=any, product_class.product_family=any}
Cache state after flush:

]]>
        </Resource>
    </TestCase>
    <TestCase name="testPartialFlush">
        <Resource name="output">
            <![CDATA[Cache state before flush:
Segment #0 {measure=sum(sales_fact_1997.unit_sales), time_by_day.the_year=any, values={1997}, product_class.product_family=any, values={Drink, Food, Non-Consumable}}
Segment #2 {measure=sum(sales_fact_1997.unit_sales), time_by_day.month_of_year=any, values={1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}, time_by_day.quarter=any, values={Q1, Q2, Q3, Q4}, time_by_day.the_year=any, values={1997}, product_class.product_family=any, values={Drink, Food, Non-Consumable}}
Segment #1 {measure=sum(sales_fact_1997.unit_sales), time_by_day.quarter=any, values={Q1, Q2, Q3, Q4}, time_by_day.the_year=any, values={1997}, product_class.product_family=any, values={Drink, Food, Non-Consumable}}

Cache state after flush:
Segment #3 {measure=sum(sales_fact_1997.unit_sales), time_by_day.month_of_year=any, values={1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}, time_by_day.quarter(true - [Time].[1997].[Q1]), values={Q1, Q2, Q3, Q4}, time_by_day.the_year=any, values={1997}, product_class.product_family=any, values={Drink, Food, Non-Consumable}}
Segment #4 {measure=sum(sales_fact_1997.unit_sales), time_by_day.quarter(true - [Time].[1997].[Q1]), values={Q1, Q2, Q3, Q4}, time_by_day.the_year=any, values={1997}, product_class.product_family=any, values={Drink, Food, Non-Consumable}}

]]>
        </Resource>
        <Resource name="output2">
            <![CDATA[Cache state before flush:
Segment #3 {measure=sum(sales_fact_1997.unit_sales), time_by_day.month_of_year=any, values={1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}, time_by_day.quarter(true - [Time].[1997].[Q1]), values={Q1, Q2, Q3, Q4}, time_by_day.the_year=any, values={1997}, product_class.product_family=any, values={Drink, Food, Non-Consumable}}
Segment #4 {measure=sum(sales_fact_1997.unit_sales), time_by_day.quarter(true - [Time].[1997].[Q1]), values={Q1, Q2, Q3, Q4}, time_by_day.the_year=any, values={1997}, product_class.product_family=any, values={Drink, Food, Non-Consumable}}

Cache state after flush:
Segment #3 {measure=sum(sales_fact_1997.unit_sales), time_by_day.month_of_year=any, values={1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}, time_by_day.quarter(true - [Time].[1997].[Q1]), values={Q1, Q2, Q3, Q4}, time_by_day.the_year=any, values={1997}, product_class.product_family=any, values={Drink, Food, Non-Consumable}}
Segment #4 {measure=sum(sales_fact_1997.unit_sales), time_by_day.quarter(true - [Time].[1997].[Q1]), values={Q1, Q2, Q3, Q4}, time_by_day.the_year=any, values={1997}, product_class.product_family=any, values={Drink, Food, Non-Consumable}}

]]>
        </Resource>
    </TestCase>
</Root>
