From 947a093e291d0355777a95ffb7954d53a177e84e Mon Sep 17 00:00:00 2001 From: drigato <denise.rigato@sourcefabric.org> Date: Wed, 18 Dec 2013 16:11:03 -0500 Subject: [PATCH] CC-5651: Unit Test the Scheduler Added xml cc_show seed file and cc_show creation test file --- .../files/cc_show_insertIntoAssertion.xml | 33 +++++++++++++++++++ .../application/models/files/cc_show_seed.xml | 18 ++++++++++ 2 files changed, 51 insertions(+) diff --git a/airtime_mvc/tests/application/models/files/cc_show_insertIntoAssertion.xml b/airtime_mvc/tests/application/models/files/cc_show_insertIntoAssertion.xml index e69de29bb..97e2cc5ce 100644 --- a/airtime_mvc/tests/application/models/files/cc_show_insertIntoAssertion.xml +++ b/airtime_mvc/tests/application/models/files/cc_show_insertIntoAssertion.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" ?> +<dataset> + <table name="cc_show"> + <column>id</column> + <column>name</column> + <column>url</column> + <column>genre</column> + <column>description</column> + <column>color</column> + <column>background_color</column> + <column>live_stream_using_airtime_auth</column> + <column>live_stream_using_custom_auth</column> + <column>live_stream_user</column> + <column>live_stream_pass</column> + <column>linked</column> + <column>is_linkable</column> + <row> + <value>1</value> + <value>test show</value> + <null /> + <null /> + <null /> + <value>ffffff</value> + <value>364492</value> + <value>false</value> + <value>false</value> + <null /> + <null /> + <value>false</value> + <value>true</value> + </row> + </table> +</dataset> \ No newline at end of file diff --git a/airtime_mvc/tests/application/models/files/cc_show_seed.xml b/airtime_mvc/tests/application/models/files/cc_show_seed.xml index e69de29bb..2bef820ad 100644 --- a/airtime_mvc/tests/application/models/files/cc_show_seed.xml +++ b/airtime_mvc/tests/application/models/files/cc_show_seed.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" ?> +<dataset> + <table name="cc_show"> + <column>id</column> + <column>name</column> + <column>url</column> + <column>genre</column> + <column>description</column> + <column>color</column> + <column>background_color</column> + <column>live_stream_using_airtime_auth</column> + <column>live_stream_using_custom_auth</column> + <column>live_stream_user</column> + <column>live_stream_pass</column> + <column>linked</column> + <column>is_linkable</column> + </table> +</dataset> \ No newline at end of file