aboutsummaryrefslogtreecommitdiff
path: root/exampleData
diff options
context:
space:
mode:
authorGravatar Benjamin Jones <bjones@galois.com>2012-12-04 18:54:02 -0800
committerGravatar Benjamin Jones <bjones@galois.com>2012-12-04 18:54:02 -0800
commitb07875c0defbd25d18b699c724ef371e46935cb0 (patch)
tree314507efcac714ac11ea777a860a77ab58943aca /exampleData
parent723c39f1763d87969d385688abb37960818a4713 (diff)
gave exampleData/basic a better name: sites
Diffstat (limited to 'exampleData')
-rw-r--r--exampleData/headlessRuns/.gitignore1
-rw-r--r--exampleData/headlessRuns/README.md5
-rw-r--r--exampleData/headlessRuns/basicRun.json8
-rwxr-xr-xexampleData/headlessRuns/runExample.sh8
-rw-r--r--exampleData/sites/headings.html (renamed from exampleData/basic/headings.html)0
-rw-r--r--exampleData/sites/headingscss.html (renamed from exampleData/basic/headingscss.html)0
-rw-r--r--exampleData/sites/star.gif (renamed from exampleData/basic/star.gif)bin39703 -> 39703 bytes
-rw-r--r--exampleData/sites/star.jpeg (renamed from exampleData/basic/star.jpeg)bin6194 -> 6194 bytes
-rw-r--r--exampleData/sites/testColorRules.html (renamed from exampleData/basic/testColorRules.html)0
-rw-r--r--exampleData/sites/testFontRules.html (renamed from exampleData/basic/testFontRules.html)0
-rw-r--r--exampleData/sites/testImageRules.html (renamed from exampleData/basic/testImageRules.html)0
-rw-r--r--exampleData/sites/test_template.html (renamed from exampleData/basic/test_template.html)0
-rw-r--r--exampleData/sites/testheadings.html (renamed from exampleData/basic/testheadings.html)0
13 files changed, 22 insertions, 0 deletions
diff --git a/exampleData/headlessRuns/.gitignore b/exampleData/headlessRuns/.gitignore
new file mode 100644
index 0000000..f47cb20
--- /dev/null
+++ b/exampleData/headlessRuns/.gitignore
@@ -0,0 +1 @@
+*.out
diff --git a/exampleData/headlessRuns/README.md b/exampleData/headlessRuns/README.md
new file mode 100644
index 0000000..d6f27b4
--- /dev/null
+++ b/exampleData/headlessRuns/README.md
@@ -0,0 +1,5 @@
+# Example Headless Run Configurations #
+
+The examples run configuration files in this directory require a
+local websever to be running on port 8000 hosting the HTML files in
+$FIVEUI_ROOT/exampleData/sites/.
diff --git a/exampleData/headlessRuns/basicRun.json b/exampleData/headlessRuns/basicRun.json
new file mode 100644
index 0000000..93fb93c
--- /dev/null
+++ b/exampleData/headlessRuns/basicRun.json
@@ -0,0 +1,8 @@
+{
+ 'rulePath' : '../ruleSets/',
+ 'crawlType' : 'none',
+ 'runs': [
+ { 'url': 'http://localhost:8000/testColorRules.html', 'ruleSet': 'colorRulesRF.json' },
+ { 'url': 'http://localhost:8000/testFontRules.html', 'ruleSet': 'fontRules.json' }
+ ]
+}
diff --git a/exampleData/headlessRuns/runExample.sh b/exampleData/headlessRuns/runExample.sh
new file mode 100755
index 0000000..dd11b03
--- /dev/null
+++ b/exampleData/headlessRuns/runExample.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+export FIVEUI_ROOT_PATH=../../
+export FIREFOX_BIN_PATH='/Applications/Firefox 10.0.7esr.app/Contents/MacOS/firefox'
+
+java -DFIVEUI_ROOT_PATH=$FIVEUI_ROOT_PATH \
+ -DFIREFOX_BIN_PATH="$FIREFOX_BIN_PATH" \
+ -jar $FIVEUI_ROOT_PATH/headless/target/HeadlessRunner-0.0.1-SNAPSHOT.one-jar.jar \
+ $*
diff --git a/exampleData/basic/headings.html b/exampleData/sites/headings.html
index 86c0588..86c0588 100644
--- a/exampleData/basic/headings.html
+++ b/exampleData/sites/headings.html
diff --git a/exampleData/basic/headingscss.html b/exampleData/sites/headingscss.html
index 005e908..005e908 100644
--- a/exampleData/basic/headingscss.html
+++ b/exampleData/sites/headingscss.html
diff --git a/exampleData/basic/star.gif b/exampleData/sites/star.gif
index 30bcb1a..30bcb1a 100644
--- a/exampleData/basic/star.gif
+++ b/exampleData/sites/star.gif
Binary files differ
diff --git a/exampleData/basic/star.jpeg b/exampleData/sites/star.jpeg
index 026306b..026306b 100644
--- a/exampleData/basic/star.jpeg
+++ b/exampleData/sites/star.jpeg
Binary files differ
diff --git a/exampleData/basic/testColorRules.html b/exampleData/sites/testColorRules.html
index 58aa7ce..58aa7ce 100644
--- a/exampleData/basic/testColorRules.html
+++ b/exampleData/sites/testColorRules.html
diff --git a/exampleData/basic/testFontRules.html b/exampleData/sites/testFontRules.html
index 3bea3f4..3bea3f4 100644
--- a/exampleData/basic/testFontRules.html
+++ b/exampleData/sites/testFontRules.html
diff --git a/exampleData/basic/testImageRules.html b/exampleData/sites/testImageRules.html
index 66c3772..66c3772 100644
--- a/exampleData/basic/testImageRules.html
+++ b/exampleData/sites/testImageRules.html
diff --git a/exampleData/basic/test_template.html b/exampleData/sites/test_template.html
index 7adadc3..7adadc3 100644
--- a/exampleData/basic/test_template.html
+++ b/exampleData/sites/test_template.html
diff --git a/exampleData/basic/testheadings.html b/exampleData/sites/testheadings.html
index 456ba82..456ba82 100644
--- a/exampleData/basic/testheadings.html
+++ b/exampleData/sites/testheadings.html