From f87433e346c09bff0bc2c88315507541dd6e7be1 Mon Sep 17 00:00:00 2001 From: Victor Shnayder Date: Thu, 21 Jun 2012 15:27:19 -0400 Subject: [PATCH] folders and a bit of initial test data for xml validation --- common/test/README.md | 6 ++++++ common/test/data/full/README.md | 1 + common/test/data/simple/README.md | 2 ++ common/test/data/toy/README.md | 1 + common/test/data/toy/toy_course.xml | 11 +++++++++++ 5 files changed, 21 insertions(+) create mode 100644 common/test/README.md create mode 100644 common/test/data/full/README.md create mode 100644 common/test/data/simple/README.md create mode 100644 common/test/data/toy/README.md create mode 100644 common/test/data/toy/toy_course.xml diff --git a/common/test/README.md b/common/test/README.md new file mode 100644 index 0000000000..07c49f7d92 --- /dev/null +++ b/common/test/README.md @@ -0,0 +1,6 @@ +Common test infrastructure for LMS + CMS +=========================== + +data/ has some test course data. + +Once the course validation is separated from django, we should have scripts here that checks that a course consists only of xml that we understand. diff --git a/common/test/data/full/README.md b/common/test/data/full/README.md new file mode 100644 index 0000000000..812ca471ce --- /dev/null +++ b/common/test/data/full/README.md @@ -0,0 +1 @@ +This is a realistic course, with many different module types and a lot of structure. It is based on 6.002x. diff --git a/common/test/data/simple/README.md b/common/test/data/simple/README.md new file mode 100644 index 0000000000..69ff6b4ed0 --- /dev/null +++ b/common/test/data/simple/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/toy/README.md b/common/test/data/toy/README.md new file mode 100644 index 0000000000..59ab392ed3 --- /dev/null +++ b/common/test/data/toy/README.md @@ -0,0 +1 @@ +This is a very very simple course, useful for initial debugging of processing code. diff --git a/common/test/data/toy/toy_course.xml b/common/test/data/toy/toy_course.xml new file mode 100644 index 0000000000..ecac9a4776 --- /dev/null +++ b/common/test/data/toy/toy_course.xml @@ -0,0 +1,11 @@ + + +
+
+
+ +
+
+