From 842556d284a6429a9738b7dc1bfd9a73fecdb65e Mon Sep 17 00:00:00 2001 From: Chris Dodge Date: Thu, 22 Aug 2013 08:57:10 -0400 Subject: [PATCH] add new test data with draft content --- common/test/data/simple_with_draft/README.md | 2 + common/test/data/simple_with_draft/course.xml | 31 ++++++++++ .../drafts/vertical/test_vertical.xml | 5 ++ .../data/simple_with_draft/html/toylab.html | 3 + .../problem/L1_Problem_1.xml | 43 +++++++++++++ .../simple_with_draft/problem/ps01-simple.xml | 62 +++++++++++++++++++ 6 files changed, 146 insertions(+) create mode 100644 common/test/data/simple_with_draft/README.md create mode 100644 common/test/data/simple_with_draft/course.xml create mode 100644 common/test/data/simple_with_draft/drafts/vertical/test_vertical.xml create mode 100644 common/test/data/simple_with_draft/html/toylab.html create mode 100644 common/test/data/simple_with_draft/problem/L1_Problem_1.xml create mode 100644 common/test/data/simple_with_draft/problem/ps01-simple.xml diff --git a/common/test/data/simple_with_draft/README.md b/common/test/data/simple_with_draft/README.md new file mode 100644 index 0000000000..69ff6b4ed0 --- /dev/null +++ b/common/test/data/simple_with_draft/README.md @@ -0,0 +1,2 @@ +This is a simple, but non-trivial, course using multiple module types and some nested structure. + diff --git a/common/test/data/simple_with_draft/course.xml b/common/test/data/simple_with_draft/course.xml new file mode 100644 index 0000000000..c130686012 --- /dev/null +++ b/common/test/data/simple_with_draft/course.xml @@ -0,0 +1,31 @@ + + + + +
+ + + +
+
+ +
diff --git a/common/test/data/simple_with_draft/drafts/vertical/test_vertical.xml b/common/test/data/simple_with_draft/drafts/vertical/test_vertical.xml new file mode 100644 index 0000000000..4433d282a4 --- /dev/null +++ b/common/test/data/simple_with_draft/drafts/vertical/test_vertical.xml @@ -0,0 +1,5 @@ + + + Foobar - edit in draft + + \ No newline at end of file diff --git a/common/test/data/simple_with_draft/html/toylab.html b/common/test/data/simple_with_draft/html/toylab.html new file mode 100644 index 0000000000..81df84bd63 --- /dev/null +++ b/common/test/data/simple_with_draft/html/toylab.html @@ -0,0 +1,3 @@ +Lab 2A: Superposition Experiment + +

Isn't the toy course great?

diff --git a/common/test/data/simple_with_draft/problem/L1_Problem_1.xml b/common/test/data/simple_with_draft/problem/L1_Problem_1.xml new file mode 100644 index 0000000000..2ba0617904 --- /dev/null +++ b/common/test/data/simple_with_draft/problem/L1_Problem_1.xml @@ -0,0 +1,43 @@ + + +

+

Finger Exercise 1

+

+

+Here are two definitions:

+
    +
  1. +

    +Declarative knowledge refers to statements of fact.

    +
  2. +
  3. +

    +Imperative knowledge refers to 'how to' methods.

    +
  4. +
+

+Which of the following choices is correct?

+
    +
  1. +

    +Statement 1 is true, Statement 2 is false

    +
  2. +
  3. +

    +Statement 1 is false, Statement 2 is true

    +
  4. +
  5. +

    +Statement 1 and Statement 2 are both false

    +
  6. +
  7. +

    +Statement 1 and Statement 2 are both true

    +
  8. +
+

+ + + +

+
diff --git a/common/test/data/simple_with_draft/problem/ps01-simple.xml b/common/test/data/simple_with_draft/problem/ps01-simple.xml new file mode 100644 index 0000000000..e70d8f2c8d --- /dev/null +++ b/common/test/data/simple_with_draft/problem/ps01-simple.xml @@ -0,0 +1,62 @@ +