Commits

Anonymous committed 89833eb

Deleted junk from POM.
Optimized imports.
Improved test to avoid failures related to date and time in files.
Reduced expected minimal video file size to 200 Kb as it's about 200Kb when screen is just dark.
Moved util higher up in hierarchy

Comments (0)

Files changed (16)

ConcordionCamera.iml

 <?xml version="1.0" encoding="UTF-8"?>
 <module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
-  <component name="NewModuleRootManager" inherit-compiler-output="false">
+  <component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_5" inherit-compiler-output="false">
     <output url="file://$MODULE_DIR$/target/classes" />
     <output-test url="file://$MODULE_DIR$/target/test-classes" />
     <content url="file://$MODULE_DIR$">
     </content>
     <orderEntry type="inheritedJdk" />
     <orderEntry type="sourceFolder" forTests="false" />
-    <orderEntry type="library" name="Maven: xml-apis:xml-apis:1.3.04" level="project" />
     <orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.8.2" level="project" />
-    <orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-server:2.0rc2" level="project" />
-    <orderEntry type="library" name="Maven: bouncycastle:bcprov-jdk15:135" level="project" />
-    <orderEntry type="library" name="Maven: mx4j:mx4j-tools:3.0.1" level="project" />
-    <orderEntry type="library" name="Maven: org.mortbay.jetty:servlet-api-2.5:6.1.9" level="project" />
-    <orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-chrome-driver:2.0rc2" level="project" />
-    <orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-remote-driver:2.0rc2" level="project" />
-    <orderEntry type="library" name="Maven: cglib:cglib-nodep:2.1_3" level="project" />
-    <orderEntry type="library" name="Maven: org.json:json:20080701" level="project" />
-    <orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-api:2.0rc2" level="project" />
-    <orderEntry type="library" name="Maven: com.google.guava:guava:r09" level="project" />
-    <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpclient:4.0.2" level="project" />
-    <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpcore:4.0.1" level="project" />
-    <orderEntry type="library" name="Maven: commons-logging:commons-logging:1.1.1" level="project" />
-    <orderEntry type="library" name="Maven: commons-codec:commons-codec:1.4" level="project" />
-    <orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-firefox-driver:2.0rc2" level="project" />
-    <orderEntry type="library" name="Maven: commons-io:commons-io:2.0.1" level="project" />
-    <orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-htmlunit-driver:2.0rc2" level="project" />
-    <orderEntry type="library" name="Maven: net.sourceforge.htmlunit:htmlunit:2.8" level="project" />
-    <orderEntry type="library" name="Maven: xalan:xalan:2.7.1" level="project" />
-    <orderEntry type="library" name="Maven: xalan:serializer:2.7.1" level="project" />
-    <orderEntry type="library" name="Maven: xml-apis:xml-apis:1.3.03" level="project" />
-    <orderEntry type="library" name="Maven: commons-collections:commons-collections:3.2.1" level="project" />
-    <orderEntry type="library" name="Maven: commons-lang:commons-lang:2.4" level="project" />
-    <orderEntry type="library" name="Maven: org.apache.httpcomponents:httpmime:4.0.1" level="project" />
-    <orderEntry type="library" name="Maven: org.apache.james:apache-mime4j:0.6" level="project" />
-    <orderEntry type="library" name="Maven: net.sourceforge.htmlunit:htmlunit-core-js:2.8" level="project" />
-    <orderEntry type="library" name="Maven: xerces:xercesImpl:2.9.1" level="project" />
-    <orderEntry type="library" name="Maven: net.sourceforge.nekohtml:nekohtml:1.9.14" level="project" />
-    <orderEntry type="library" name="Maven: net.sourceforge.cssparser:cssparser:0.9.5" level="project" />
-    <orderEntry type="library" name="Maven: org.w3c.css:sac:1.3" level="project" />
-    <orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-ie-driver:2.0rc2" level="project" />
-    <orderEntry type="library" name="Maven: net.java.dev.jna:jna:3.2.2" level="project" />
-    <orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-iphone-driver:2.0rc2" level="project" />
-    <orderEntry type="library" name="Maven: org.seleniumhq.selenium:selenium-support:2.0rc2" level="project" />
     <orderEntry type="library" name="Maven: org.concordion:concordion:1.4.1" level="project" />
     <orderEntry type="library" name="Maven: junit:junit-dep:4.8.2" level="project" />
     <orderEntry type="library" name="Maven: org.hamcrest:hamcrest-core:1.1" level="project" />
     <orderEntry type="library" name="Maven: ognl:ognl:2.6.9" level="project" />
     <orderEntry type="library" name="Maven: xom:xom:1.2.5" level="project" />
+    <orderEntry type="library" name="Maven: xml-apis:xml-apis:1.3.03" level="project" />
+    <orderEntry type="library" name="Maven: commons-io:commons-io:1.4" level="project" />
   </component>
 </module>
 

ConcordionCamera.ipr

   <component name="CopyrightManager" default="">
     <module2copyright />
   </component>
+  <component name="CoverageDataManager" choice="3" />
+  <component name="DaemonCodeAnalyzer">
+    <disable_hints />
+  </component>
+  <component name="DebuggerManager">
+    <breakpoint_any>
+      <breakpoint>
+        <option name="NOTIFY_CAUGHT" value="true" />
+        <option name="NOTIFY_UNCAUGHT" value="true" />
+        <option name="ENABLED" value="false" />
+        <option name="LOG_ENABLED" value="false" />
+        <option name="LOG_EXPRESSION_ENABLED" value="false" />
+        <option name="SUSPEND_POLICY" value="SuspendAll" />
+        <option name="COUNT_FILTER_ENABLED" value="false" />
+        <option name="COUNT_FILTER" value="0" />
+        <option name="CONDITION_ENABLED" value="false" />
+        <option name="CLASS_FILTERS_ENABLED" value="false" />
+        <option name="INSTANCE_FILTERS_ENABLED" value="false" />
+        <option name="CONDITION" value="" />
+        <option name="LOG_MESSAGE" value="" />
+      </breakpoint>
+      <breakpoint>
+        <option name="NOTIFY_CAUGHT" value="true" />
+        <option name="NOTIFY_UNCAUGHT" value="true" />
+        <option name="ENABLED" value="false" />
+        <option name="LOG_ENABLED" value="false" />
+        <option name="LOG_EXPRESSION_ENABLED" value="false" />
+        <option name="SUSPEND_POLICY" value="SuspendAll" />
+        <option name="COUNT_FILTER_ENABLED" value="false" />
+        <option name="COUNT_FILTER" value="0" />
+        <option name="CONDITION_ENABLED" value="false" />
+        <option name="CLASS_FILTERS_ENABLED" value="false" />
+        <option name="INSTANCE_FILTERS_ENABLED" value="false" />
+        <option name="CONDITION" value="" />
+        <option name="LOG_MESSAGE" value="" />
+      </breakpoint>
+    </breakpoint_any>
+    <breakpoint_rules />
+    <ui_properties />
+  </component>
   <component name="DependencyValidationManager">
     <option name="SKIP_IMPORT_STATEMENTS" value="false" />
   </component>
   <component name="EntryPointsManager">
     <entry_points version="2.0" />
   </component>
-  <component name="IdProvider" IDEtalkID="AD0242AC1B3FB67D90DFCDE46603590F" />
-  <component name="InspectionProjectProfileManager">
-    <profiles>
-      <profile version="1.0" is_locked="false">
-        <option name="myName" value="Project Default" />
-        <option name="myLocal" value="false" />
-        <inspection_tool class="HtmlUnknownAttribute" enabled="true" level="WARNING" enabled_by_default="true">
-          <option name="myValues">
-            <value>
-              <list size="4">
-                <item index="0" class="java.lang.String" itemvalue="c:assertequals" />
-                <item index="1" class="java.lang.String" itemvalue="c:execute" />
-                <item index="2" class="java.lang.String" itemvalue="c:run" />
-                <item index="3" class="java.lang.String" itemvalue="c:set" />
-              </list>
-            </value>
-          </option>
-          <option name="myCustomValuesEnabled" value="true" />
-        </inspection_tool>
-      </profile>
-    </profiles>
-    <option name="PROJECT_PROFILE" value="Project Default" />
-    <option name="USE_PROJECT_PROFILE" value="true" />
-    <version value="1.0" />
+  <component name="IdProvider" IDEtalkID="295778741BDB592FC9A9DCE8E06F84A2" />
+  <component name="JavacSettings">
+    <option name="ADDITIONAL_OPTIONS_STRING" value="-target 1.5" />
   </component>
   <component name="JavadocGenerationManager">
     <option name="OUTPUT_DIRECTORY" />
       </list>
     </option>
   </component>
+  <component name="ModuleEditorState">
+    <option name="LAST_EDITED_MODULE_NAME" />
+    <option name="LAST_EDITED_TAB_NAME" />
+  </component>
   <component name="Palette2">
     <group name="Swing">
       <item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
       </item>
     </group>
   </component>
+  <component name="ProjectLevelVcsManager" settingsEditedManually="false">
+    <OptionsSetting value="true" id="Add" />
+    <OptionsSetting value="true" id="Remove" />
+    <OptionsSetting value="true" id="Checkout" />
+    <OptionsSetting value="true" id="Update" />
+    <OptionsSetting value="true" id="Status" />
+    <OptionsSetting value="true" id="Edit" />
+    <ConfirmationsSetting value="0" id="Add" />
+    <ConfirmationsSetting value="0" id="Remove" />
+  </component>
   <component name="ProjectModuleManager">
     <modules>
       <module fileurl="file://$PROJECT_DIR$/ConcordionCamera.iml" filepath="$PROJECT_DIR$/ConcordionCamera.iml" />
     </modules>
   </component>
+  <component name="ProjectReloadState">
+    <option name="STATE" value="0" />
+  </component>
   <component name="ProjectResources">
     <default-html-doctype>http://www.w3.org/1999/xhtml</default-html-doctype>
   </component>
-  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_6" assert-keyword="true" jdk-15="true" project-jdk-name="1.6" project-jdk-type="JavaSDK">
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_5" assert-keyword="true" jdk-15="true" project-jdk-name="1.6" project-jdk-type="JavaSDK">
     <output url="file://$PROJECT_DIR$/classes" />
   </component>
+  <component name="RunManager">
+    <configuration default="true" type="Remote" factoryName="Remote">
+      <option name="USE_SOCKET_TRANSPORT" value="true" />
+      <option name="SERVER_MODE" value="false" />
+      <option name="SHMEM_ADDRESS" value="javadebug" />
+      <option name="HOST" value="localhost" />
+      <option name="PORT" value="5005" />
+      <method>
+        <option name="AntTarget" enabled="false" />
+        <option name="BuildArtifacts" enabled="false" />
+        <option name="Maven.BeforeRunTask" enabled="false" />
+      </method>
+    </configuration>
+    <configuration default="true" type="Applet" factoryName="Applet">
+      <module name="" />
+      <option name="MAIN_CLASS_NAME" />
+      <option name="HTML_FILE_NAME" />
+      <option name="HTML_USED" value="false" />
+      <option name="WIDTH" value="400" />
+      <option name="HEIGHT" value="300" />
+      <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" />
+      <option name="VM_PARAMETERS" />
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
+      <option name="ALTERNATIVE_JRE_PATH" />
+      <method>
+        <option name="AntTarget" enabled="false" />
+        <option name="BuildArtifacts" enabled="false" />
+        <option name="Make" enabled="true" />
+        <option name="Maven.BeforeRunTask" enabled="false" />
+      </method>
+    </configuration>
+    <configuration default="true" type="Application" factoryName="Application">
+      <extension name="coverage" enabled="false" merge="false" />
+      <option name="MAIN_CLASS_NAME" />
+      <option name="VM_PARAMETERS" />
+      <option name="PROGRAM_PARAMETERS" />
+      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
+      <option name="ALTERNATIVE_JRE_PATH" />
+      <option name="ENABLE_SWING_INSPECTOR" value="false" />
+      <option name="ENV_VARIABLES" />
+      <option name="PASS_PARENT_ENVS" value="true" />
+      <module name="" />
+      <envs />
+      <method>
+        <option name="AntTarget" enabled="false" />
+        <option name="BuildArtifacts" enabled="false" />
+        <option name="Make" enabled="true" />
+        <option name="Maven.BeforeRunTask" enabled="false" />
+      </method>
+    </configuration>
+    <configuration default="true" type="JUnit" factoryName="JUnit">
+      <extension name="coverage" enabled="false" merge="false" />
+      <module name="" />
+      <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" />
+      <option name="ALTERNATIVE_JRE_PATH" />
+      <option name="PACKAGE_NAME" />
+      <option name="MAIN_CLASS_NAME" />
+      <option name="METHOD_NAME" />
+      <option name="TEST_OBJECT" value="class" />
+      <option name="VM_PARAMETERS" />
+      <option name="PARAMETERS" />
+      <option name="WORKING_DIRECTORY" value="$PROJECT_DIR$" />
+      <option name="ENV_VARIABLES" />
+      <option name="PASS_PARENT_ENVS" value="true" />
+      <option name="TEST_SEARCH_SCOPE">
+        <value defaultName="moduleWithDependencies" />
+      </option>
+      <envs />
+      <patterns />
+      <method>
+        <option name="AntTarget" enabled="false" />
+        <option name="BuildArtifacts" enabled="false" />
+        <option name="Make" enabled="true" />
+        <option name="Maven.BeforeRunTask" enabled="false" />
+      </method>
+    </configuration>
+    <list size="0" />
+    <configuration name="&lt;template&gt;" type="WebApp" default="true" selected="false">
+      <Host>localhost</Host>
+      <Port>5050</Port>
+    </configuration>
+  </component>
+  <component name="ShelveChangesManager" show_recycled="false" />
+  <component name="SvnConfiguration" maxAnnotateRevisions="500">
+    <option name="USER" value="" />
+    <option name="PASSWORD" value="" />
+    <option name="LAST_MERGED_REVISION" />
+    <option name="MERGE_DRY_RUN" value="false" />
+    <option name="MERGE_DIFF_USE_ANCESTRY" value="true" />
+    <option name="UPDATE_LOCK_ON_DEMAND" value="false" />
+    <option name="IGNORE_SPACES_IN_MERGE" value="false" />
+    <option name="DETECT_NESTED_COPIES" value="true" />
+    <option name="CHECK_NESTED_FOR_QUICK_MERGE" value="false" />
+    <option name="IGNORE_SPACES_IN_ANNOTATE" value="true" />
+    <option name="SHOW_MERGE_SOURCES_IN_ANNOTATE" value="true" />
+    <option name="FORCE_UPDATE" value="false" />
+    <myIsUseDefaultProxy>false</myIsUseDefaultProxy>
+  </component>
   <component name="VcsDirectoryMappings">
     <mapping directory="" vcs="hg4idea" />
   </component>
   <component name="WebServicesPlugin" addRequiredLibraries="true" />
   <component name="libraryTable">
-    <library name="Maven: bouncycastle:bcprov-jdk15:135">
+    <library name="Maven: commons-io:commons-io:1.4">
       <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/bouncycastle/bcprov-jdk15/135/bcprov-jdk15-135.jar!/" />
+        <root url="jar://$MAVEN_REPOSITORY$/commons-io/commons-io/1.4/commons-io-1.4.jar!/" />
       </CLASSES>
       <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/bouncycastle/bcprov-jdk15/135/bcprov-jdk15-135-javadoc.jar!/" />
+        <root url="jar://$MAVEN_REPOSITORY$/commons-io/commons-io/1.4/commons-io-1.4-javadoc.jar!/" />
       </JAVADOC>
       <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/bouncycastle/bcprov-jdk15/135/bcprov-jdk15-135-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: cglib:cglib-nodep:2.1_3">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: com.google.guava:guava:r09">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/com/google/guava/guava/r09/guava-r09.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/com/google/guava/guava/r09/guava-r09-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/com/google/guava/guava/r09/guava-r09-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: commons-codec:commons-codec:1.4">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.4/commons-codec-1.4.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.4/commons-codec-1.4-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/commons-codec/commons-codec/1.4/commons-codec-1.4-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: commons-collections:commons-collections:3.2.1">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: commons-io:commons-io:2.0.1">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/commons-io/commons-io/2.0.1/commons-io-2.0.1.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/commons-io/commons-io/2.0.1/commons-io-2.0.1-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/commons-io/commons-io/2.0.1/commons-io-2.0.1-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: commons-lang:commons-lang:2.4">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/commons-lang/commons-lang/2.4/commons-lang-2.4.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/commons-lang/commons-lang/2.4/commons-lang-2.4-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/commons-lang/commons-lang/2.4/commons-lang-2.4-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: commons-logging:commons-logging:1.1.1">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/commons-logging/commons-logging/1.1.1/commons-logging-1.1.1-sources.jar!/" />
+        <root url="jar://$MAVEN_REPOSITORY$/commons-io/commons-io/1.4/commons-io-1.4-sources.jar!/" />
       </SOURCES>
     </library>
     <library name="Maven: junit:junit-dep:4.8.2">
         <root url="jar://$MAVEN_REPOSITORY$/junit/junit/4.8.2/junit-4.8.2-sources.jar!/" />
       </SOURCES>
     </library>
-    <library name="Maven: mx4j:mx4j-tools:3.0.1">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/mx4j/mx4j-tools/3.0.1/mx4j-tools-3.0.1.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/mx4j/mx4j-tools/3.0.1/mx4j-tools-3.0.1-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/mx4j/mx4j-tools/3.0.1/mx4j-tools-3.0.1-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: net.java.dev.jna:jna:3.2.2">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/net/java/dev/jna/jna/3.2.2/jna-3.2.2.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/net/java/dev/jna/jna/3.2.2/jna-3.2.2-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/net/java/dev/jna/jna/3.2.2/jna-3.2.2-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: net.sourceforge.cssparser:cssparser:0.9.5">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/net/sourceforge/cssparser/cssparser/0.9.5/cssparser-0.9.5.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/net/sourceforge/cssparser/cssparser/0.9.5/cssparser-0.9.5-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/net/sourceforge/cssparser/cssparser/0.9.5/cssparser-0.9.5-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: net.sourceforge.htmlunit:htmlunit-core-js:2.8">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/net/sourceforge/htmlunit/htmlunit-core-js/2.8/htmlunit-core-js-2.8.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/net/sourceforge/htmlunit/htmlunit-core-js/2.8/htmlunit-core-js-2.8-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/net/sourceforge/htmlunit/htmlunit-core-js/2.8/htmlunit-core-js-2.8-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: net.sourceforge.htmlunit:htmlunit:2.8">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/net/sourceforge/htmlunit/htmlunit/2.8/htmlunit-2.8.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/net/sourceforge/htmlunit/htmlunit/2.8/htmlunit-2.8-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/net/sourceforge/htmlunit/htmlunit/2.8/htmlunit-2.8-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: net.sourceforge.nekohtml:nekohtml:1.9.14">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/net/sourceforge/nekohtml/nekohtml/1.9.14/nekohtml-1.9.14.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/net/sourceforge/nekohtml/nekohtml/1.9.14/nekohtml-1.9.14-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/net/sourceforge/nekohtml/nekohtml/1.9.14/nekohtml-1.9.14-sources.jar!/" />
-      </SOURCES>
-    </library>
     <library name="Maven: ognl:ognl:2.6.9">
       <CLASSES>
         <root url="jar://$MAVEN_REPOSITORY$/ognl/ognl/2.6.9/ognl-2.6.9.jar!/" />
         <root url="jar://$MAVEN_REPOSITORY$/ognl/ognl/2.6.9/ognl-2.6.9-sources.jar!/" />
       </SOURCES>
     </library>
-    <library name="Maven: org.apache.httpcomponents:httpclient:4.0.2">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpclient/4.0.2/httpclient-4.0.2.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpclient/4.0.2/httpclient-4.0.2-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpclient/4.0.2/httpclient-4.0.2-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: org.apache.httpcomponents:httpcore:4.0.1">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpcore/4.0.1/httpcore-4.0.1-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: org.apache.httpcomponents:httpmime:4.0.1">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpmime/4.0.1/httpmime-4.0.1.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpmime/4.0.1/httpmime-4.0.1-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/apache/httpcomponents/httpmime/4.0.1/httpmime-4.0.1-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: org.apache.james:apache-mime4j:0.6">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/apache/james/apache-mime4j/0.6/apache-mime4j-0.6.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/org/apache/james/apache-mime4j/0.6/apache-mime4j-0.6-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/apache/james/apache-mime4j/0.6/apache-mime4j-0.6-sources.jar!/" />
-      </SOURCES>
-    </library>
     <library name="Maven: org.concordion:concordion:1.4.1">
       <CLASSES>
         <root url="jar://$MAVEN_REPOSITORY$/org/concordion/concordion/1.4.1/concordion-1.4.1.jar!/" />
         <root url="jar://$MAVEN_REPOSITORY$/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1-sources.jar!/" />
       </SOURCES>
     </library>
-    <library name="Maven: org.json:json:20080701">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/json/json/20080701/json-20080701.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/org/json/json/20080701/json-20080701-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/json/json/20080701/json-20080701-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: org.mortbay.jetty:servlet-api-2.5:6.1.9">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/mortbay/jetty/servlet-api-2.5/6.1.9/servlet-api-2.5-6.1.9.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/org/mortbay/jetty/servlet-api-2.5/6.1.9/servlet-api-2.5-6.1.9-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/mortbay/jetty/servlet-api-2.5/6.1.9/servlet-api-2.5-6.1.9-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: org.seleniumhq.selenium:selenium-api:2.0rc2">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-api/2.0rc2/selenium-api-2.0rc2.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-api/2.0rc2/selenium-api-2.0rc2-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-api/2.0rc2/selenium-api-2.0rc2-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: org.seleniumhq.selenium:selenium-chrome-driver:2.0rc2">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-chrome-driver/2.0rc2/selenium-chrome-driver-2.0rc2.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-chrome-driver/2.0rc2/selenium-chrome-driver-2.0rc2-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-chrome-driver/2.0rc2/selenium-chrome-driver-2.0rc2-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: org.seleniumhq.selenium:selenium-firefox-driver:2.0rc2">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-firefox-driver/2.0rc2/selenium-firefox-driver-2.0rc2.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-firefox-driver/2.0rc2/selenium-firefox-driver-2.0rc2-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-firefox-driver/2.0rc2/selenium-firefox-driver-2.0rc2-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: org.seleniumhq.selenium:selenium-htmlunit-driver:2.0rc2">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-htmlunit-driver/2.0rc2/selenium-htmlunit-driver-2.0rc2.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-htmlunit-driver/2.0rc2/selenium-htmlunit-driver-2.0rc2-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-htmlunit-driver/2.0rc2/selenium-htmlunit-driver-2.0rc2-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: org.seleniumhq.selenium:selenium-ie-driver:2.0rc2">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-ie-driver/2.0rc2/selenium-ie-driver-2.0rc2.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-ie-driver/2.0rc2/selenium-ie-driver-2.0rc2-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-ie-driver/2.0rc2/selenium-ie-driver-2.0rc2-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: org.seleniumhq.selenium:selenium-iphone-driver:2.0rc2">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-iphone-driver/2.0rc2/selenium-iphone-driver-2.0rc2.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-iphone-driver/2.0rc2/selenium-iphone-driver-2.0rc2-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-iphone-driver/2.0rc2/selenium-iphone-driver-2.0rc2-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: org.seleniumhq.selenium:selenium-remote-driver:2.0rc2">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-remote-driver/2.0rc2/selenium-remote-driver-2.0rc2.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-remote-driver/2.0rc2/selenium-remote-driver-2.0rc2-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-remote-driver/2.0rc2/selenium-remote-driver-2.0rc2-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: org.seleniumhq.selenium:selenium-server:2.0rc2">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-server/2.0rc2/selenium-server-2.0rc2.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-server/2.0rc2/selenium-server-2.0rc2-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-server/2.0rc2/selenium-server-2.0rc2-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: org.seleniumhq.selenium:selenium-support:2.0rc2">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-support/2.0rc2/selenium-support-2.0rc2.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-support/2.0rc2/selenium-support-2.0rc2-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/seleniumhq/selenium/selenium-support/2.0rc2/selenium-support-2.0rc2-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: org.w3c.css:sac:1.3">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/w3c/css/sac/1.3/sac-1.3.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/org/w3c/css/sac/1.3/sac-1.3-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/org/w3c/css/sac/1.3/sac-1.3-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: xalan:serializer:2.7.1">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/xalan/serializer/2.7.1/serializer-2.7.1.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/xalan/serializer/2.7.1/serializer-2.7.1-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/xalan/serializer/2.7.1/serializer-2.7.1-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: xalan:xalan:2.7.1">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/xalan/xalan/2.7.1/xalan-2.7.1.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/xalan/xalan/2.7.1/xalan-2.7.1-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/xalan/xalan/2.7.1/xalan-2.7.1-sources.jar!/" />
-      </SOURCES>
-    </library>
-    <library name="Maven: xerces:xercesImpl:2.9.1">
-      <CLASSES>
-        <root url="jar://$MAVEN_REPOSITORY$/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar!/" />
-      </CLASSES>
-      <JAVADOC>
-        <root url="jar://$MAVEN_REPOSITORY$/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1-javadoc.jar!/" />
-      </JAVADOC>
-      <SOURCES>
-        <root url="jar://$MAVEN_REPOSITORY$/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1-sources.jar!/" />
-      </SOURCES>
-    </library>
     <library name="Maven: xml-apis:xml-apis:1.3.03">
       <CLASSES>
         <root url="jar://$MAVEN_REPOSITORY$/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar!/" />
         </developer>
     </developers>
 
+    <properties>
+        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+    </properties>
+
     <build>
         <plugins>
+
+            <plugin>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <version>2.3.2</version>
+                <configuration>
+                    <source>1.5</source>
+                    <target>1.5</target>
+                </configuration>
+            </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-plugin</artifactId>
             <scope>test</scope>
         </dependency>
         <dependency>
-            <groupId>org.seleniumhq.selenium</groupId>
-            <artifactId>selenium-server</artifactId>
-            <version>2.0rc2</version>
-        </dependency>
-        <dependency>
             <groupId>org.concordion</groupId>
             <artifactId>concordion</artifactId>
             <version>1.4.1</version>
         </dependency>
+        <dependency>
+            <groupId>commons-io</groupId>
+            <artifactId>commons-io</artifactId>
+            <version>1.4</version>
+        </dependency>
     </dependencies>
 </project>

src/main/java/com/sqanta/concordioncamera/ConcordionCamera.java

 package com.sqanta.concordioncamera;
 
 import ch.randelshofer.screenrecorder.ScreenRecorder;
-import com.sun.tools.internal.ws.wsdl.document.Output;
 
 import java.io.File;
 import java.io.IOException;
-import java.io.OutputStream;
 
 /**
  * Singleton class provides screen capture API for concordion extension

src/main/java/com/sqanta/concordioncameraextension/ConcordionCameraCommand.java

 
 import ch.randelshofer.screenrecorder.ScreenRecorder.VideoFormat;
 import com.sqanta.concordioncamera.ConcordionCamera;
-import com.sqanta.concordioncameraextension.util.Helpers;
+import com.sqanta.util.Helpers;
 import org.concordion.api.*;
 import org.concordion.api.listener.ConcordionBuildEvent;
 import org.concordion.api.listener.ConcordionBuildListener;
     private Element getHtml5VideoTag(String videoFileName) {
         Element videoTag = new Element("video");
         videoTag.addAttribute("src", videoFileName);
-        videoTag.addAttribute("width","320");
-        videoTag.addAttribute("height","240");
+        videoTag.addAttribute("width", "320");
+        videoTag.addAttribute("height", "240");
         videoTag.addAttribute("controls", "controls");
         videoTag.appendText("You need HTML5 compatible browser to see the video");
         return videoTag;

src/main/java/com/sqanta/concordioncameraextension/util/Helpers.java

-package com.sqanta.concordioncameraextension.util;
-
-import com.google.common.io.Files;
-import nu.xom.Element;
-import nu.xom.Elements;
-import org.apache.commons.io.FileUtils;
-import org.apache.commons.io.IOUtils;
-
-import java.io.*;
-import java.net.URI;
-import java.text.SimpleDateFormat;
-import java.util.Calendar;
-
-/**
- * Class for nice little helpers
- * (c) Kostya Marchenko, Sqanta OU, 09/06/2011
- */
-public class Helpers {
-
-    public enum InsertMode {
-        BEFORE, AFTER
-    }
-
-    ;
-
-    private static final String CONCORDION_OUTPUT_DIR_VARIABLE_NAME = "concordion.output.dir";
-
-    /**
-     * Get today's date and time in human readable format
-     *
-     * @return today's date and time
-     */
-    public static String getTodaysDateTime() {
-        Calendar calendar = Calendar.getInstance();
-        SimpleDateFormat dateFormat = new SimpleDateFormat("dd.MM.yyyy_hh.mm");
-        return dateFormat.format(calendar.getTime());
-    }
-
-    /**
-     * Strip out file name prefix
-     *
-     * @param fileName
-     * @return file prefix
-     */
-    public static String getFilePrefix(String fileName) {
-        int lastDot = fileName.lastIndexOf('.');
-        if (lastDot == -1) {
-            return fileName;
-        }
-        return fileName.substring(0, lastDot);
-    }
-
-
-    /**
-     * Strip out file extension
-     *
-     * @param fileName
-     * @return file extension
-     */
-    public static String getFileExtension(String fileName) {
-        int lastDot = fileName.lastIndexOf('.');
-        if (lastDot == -1) {
-            return fileName;
-        }
-        return fileName.substring(lastDot + 1, fileName.length());
-    }
-
-
-    /**
-     * Delete all video files in given folder
-     *
-     * @param videoFilesFolder folder from which to delete video files
-     */
-    public static void deleteVideoFiles(File videoFilesFolder) {
-        try {
-            File[] videoFiles = getVideoFiles(videoFilesFolder);
-            for (File videoFile : videoFiles) {
-                if (videoFile.exists()) {
-                    videoFile.delete();
-                }
-            }
-        } catch (Exception e) {
-            //ignore
-        }
-
-    }
-
-
-    /**
-     * Delete .avi and .mov video files in the folder where class is located
-     *
-     * @param clazz Class representing concordion fixture for which to delete concordion camera video files
-     */
-    public static void deleteConcordionCameraVideoFiles(Class clazz) {
-        try {
-            File concordionCameraVideoFilesFolder = getConcordionTestResultsLocation(clazz);
-            deleteVideoFiles(concordionCameraVideoFilesFolder);
-
-        } catch (Exception e) {
-            //ignore
-        }
-    }
-
-    /**
-     * Retrieves array of video files in given folder
-     *
-     * @param videoFilesFolder folder where to search for video files
-     * @return File[] Video files array
-     * @throws Exception if no video files were found
-     */
-    public static File[] getVideoFiles(File videoFilesFolder) throws Exception {
-
-        //Construct filename filter to list only video files in folder
-        FilenameFilter videoFilesFilter = new FilenameFilter() {
-            public boolean accept(File dir, String name) {
-                return name.endsWith(".avi") || name.endsWith(".mov");
-            }
-        };
-
-        File[] videoFiles = videoFilesFolder.listFiles(videoFilesFilter);
-
-        if (videoFiles == null) {
-            throw new Exception("no video files found");
-        }
-        if (videoFiles.length == 0) {
-            throw new Exception("no video files found");
-        }
-
-        return videoFiles;
-    }
-
-
-    /**
-     * Returns list of video files in concordion test results folder
-     *
-     * @return array of video files
-     * @throws Exception if no video files found
-     */
-    public static File[] getConcordionCameraVideoFiles(Class clazz) throws Exception {
-        File videoDir = getConcordionTestResultsLocation(clazz);
-        return getVideoFiles(videoDir);
-    }
-
-
-    /**
-     * Returns concordion test results location for given test spec
-     *
-     * @param clazz Class which represents concordion fixture for which to find test result files
-     * @return File object representing a folder where test results are located
-     */
-    private static File getConcordionTestResultsLocation(Class clazz) {
-        String outputPath = System.getProperty(CONCORDION_OUTPUT_DIR_VARIABLE_NAME);
-        String testRelativePath = clazz.getPackage().getName().replace(".", "/");
-        if (outputPath == null) {
-            return new File(System.getProperty("java.io.tmpdir"), "concordion/" + testRelativePath);
-        }
-        return new File(outputPath + "/" + testRelativePath);
-    }
-
-    /**
-     * Retrives concordion test results file as a String
-     *
-     * @param clazz    Class which represents Concordion specification for which to retrieve results
-     * @param specName Name of specification for which to retrieve results
-     * @return String represents test results for given specification
-     * @throws Exception if test results can not be retrieved
-     */
-    public static String getConcordionTestResultsFileAsString(Class clazz, String specName) throws Exception {
-        try {
-            File testResultsFile = new File(getConcordionTestResultsLocation(clazz), specName);
-            String testResultsString = FileUtils.readFileToString(testResultsFile);
-            return testResultsString;
-        } catch (IOException e) {
-            throw new Exception("Can't read test results file for " + specName);
-        }
-    }
-
-
-    /**
-     * Creates backup copy of original spec file, adds .orig to the file name of backup copy
-     *
-     * @param specName Name of specification file
-     * @param clazz    Class which is located in the same place as spec file
-     */
-    public static void backupSpec(String specName, Class clazz) throws Exception {
-
-        InputStream original = clazz.getResourceAsStream(specName);
-        String originalFilePath = clazz.getResource(specName).toURI().toString();
-        String backupFilePath = originalFilePath + ".orig";
-        URI backUpUri = new URI(backupFilePath);
-        OutputStream backup = new FileOutputStream(new File(backUpUri));
-
-        try {
-            IOUtils.copy(original, backup);
-        } catch (IOException e) {
-            throw new Exception("Can't inject command, unable to create backup of spec: " + e.toString());
-        } finally {
-            IOUtils.closeQuietly(original);
-            IOUtils.closeQuietly(backup);
-        }
-
-    }
-
-
-    /**
-     * Restore cocnordion spec files from backup "*.orig" files
-     *
-     * @param clazz Class where to look for specs
-     */
-    public static void restoreSpec(Class clazz) throws IOException {
-        File[] backedUpFiles = getSpecBackUpFiles(clazz);
-        for (File backedUpFile : backedUpFiles) {
-            String originalFileName = backedUpFile.getAbsolutePath().replace(".orig", "");
-            File originalFile = new File(originalFileName);
-            Files.move(backedUpFile, originalFile);
-        }
-    }
-
-    /**
-     * Search for backed up concordion spec files and return them as File array
-     *
-     * @param clazz Class where to search for spec files
-     * @return File array representing collection of spec backups
-     */
-    private static File[] getSpecBackUpFiles(Class clazz) {
-        try {
-            //Construct filename filter to list only spec backups
-            FilenameFilter specBackupFilesFilter = new FilenameFilter() {
-                public boolean accept(File dir, String name) {
-                    return name.endsWith(".orig");
-                }
-            };
-
-            //Determine spec location
-            String className = clazz.getSimpleName() + ".class";
-            String specLocationUri = clazz.getResource(className).toURI().toString().replace(className, "");
-            File specFolder = new File(new URI(specLocationUri));
-
-            File[] specBackupFiles = specFolder.listFiles(specBackupFilesFilter);
-            if (specBackupFiles == null) {
-                throw new RuntimeException("no spec backups found");
-            }
-            if (specBackupFiles.length == 0) {
-                throw new RuntimeException("no spec backups found");
-            }
-
-            return specBackupFiles;
-        } catch (Exception e) {
-            throw new RuntimeException("Can't restore spec from backup: " + e.toString());
-        }
-    }
-
-
-    /**
-     * Insert element at the beginning of another element
-     *
-     * @param element Element to insert
-     * @param body    Element in which to insert
-     * @return Element with inserted element
-     */
-    public static Element insertElement(Element element, Element body, InsertMode insertMode) {
-        Elements children = body.getChildElements();
-        body.removeChildren();
-
-        if (insertMode == InsertMode.BEFORE) {
-            //Insert passed element as first
-            element.detach();
-            body.appendChild(element);
-        }
-
-        //Insert remaining elements
-        for (int i = 0; i < children.size(); i++) {
-            Element child = children.get(i);
-            child.detach();
-            body.appendChild(child);
-        }
-
-        if (insertMode == insertMode.AFTER) {
-            //Insert passed element as last
-            element.detach();
-            body.appendChild(element);
-        }
-        return body;
-    }
-}

src/main/java/com/sqanta/util/Helpers.java

+package com.sqanta.util;
+
+import nu.xom.Element;
+import nu.xom.Elements;
+import org.apache.commons.io.FileUtils;
+import org.apache.commons.io.IOUtils;
+
+import java.io.*;
+import java.net.URI;
+import java.text.SimpleDateFormat;
+import java.util.Calendar;
+
+/**
+ * Class for nice little helpers
+ * (c) Kostya Marchenko, Sqanta OU, 09/06/2011
+ */
+public class Helpers {
+
+    public enum InsertMode {
+        BEFORE, AFTER
+    }
+
+    ;
+
+    private static final String CONCORDION_OUTPUT_DIR_VARIABLE_NAME = "concordion.output.dir";
+
+    /**
+     * Get today's date and time in human readable format
+     *
+     * @return today's date and time
+     */
+    public static String getTodaysDateTime() {
+        return getTodaysDate("dd.MM.yyyy_hh.mm");
+    }
+
+    /**
+     * Get today's date only
+     *
+     * @return today's date
+     */
+    public static String getTodaysDate() {
+        return getTodaysDate("dd.MM.yyyy");
+    }
+
+
+    /**
+     * Get today's date in specified format
+     *
+     * @param format date and time format
+     * @return today's date and time in specified format
+     */
+    public static String getTodaysDate(String format) {
+        Calendar calendar = Calendar.getInstance();
+        SimpleDateFormat dateFormat = new SimpleDateFormat(format);
+        return dateFormat.format(calendar.getTime());
+    }
+
+
+    /**
+     * Strip out file name prefix
+     *
+     * @param fileName
+     * @return file prefix
+     */
+    public static String getFilePrefix(String fileName) {
+        int lastDot = fileName.lastIndexOf('.');
+        if (lastDot == -1) {
+            return fileName;
+        }
+        return fileName.substring(0, lastDot);
+    }
+
+
+    /**
+     * Strip out file extension
+     *
+     * @param fileName
+     * @return file extension
+     */
+    public static String getFileExtension(String fileName) {
+        int lastDot = fileName.lastIndexOf('.');
+        if (lastDot == -1) {
+            return fileName;
+        }
+        return fileName.substring(lastDot + 1, fileName.length());
+    }
+
+
+    /**
+     * Delete all video files in given folder
+     *
+     * @param videoFilesFolder folder from which to delete video files
+     */
+    public static void deleteVideoFiles(File videoFilesFolder) {
+        try {
+            File[] videoFiles = getVideoFiles(videoFilesFolder);
+            for (File videoFile : videoFiles) {
+                if (videoFile.exists()) {
+                    videoFile.delete();
+                }
+            }
+        } catch (Exception e) {
+            //ignore
+        }
+
+    }
+
+
+    /**
+     * Delete .avi and .mov video files in the folder where class is located
+     *
+     * @param clazz Class representing concordion fixture for which to delete concordion camera video files
+     */
+    public static void deleteConcordionCameraVideoFiles(Class clazz) {
+        try {
+            File concordionCameraVideoFilesFolder = getConcordionTestResultsLocation(clazz);
+            deleteVideoFiles(concordionCameraVideoFilesFolder);
+
+        } catch (Exception e) {
+            //ignore
+        }
+    }
+
+    /**
+     * Retrieves array of video files in given folder
+     *
+     * @param videoFilesFolder folder where to search for video files
+     * @return File[] Video files array
+     * @throws Exception if no video files were found
+     */
+    public static File[] getVideoFiles(File videoFilesFolder) throws Exception {
+
+        //Construct filename filter to list only video files in folder
+        FilenameFilter videoFilesFilter = new FilenameFilter() {
+            public boolean accept(File dir, String name) {
+                return name.endsWith(".avi") || name.endsWith(".mov");
+            }
+        };
+
+        File[] videoFiles = videoFilesFolder.listFiles(videoFilesFilter);
+
+        if (videoFiles == null) {
+            throw new Exception("no video files found");
+        }
+        if (videoFiles.length == 0) {
+            throw new Exception("no video files found");
+        }
+
+        return videoFiles;
+    }
+
+
+    /**
+     * Returns list of video files in concordion test results folder
+     *
+     * @return array of video files
+     * @throws Exception if no video files found
+     */
+    public static File[] getConcordionCameraVideoFiles(Class clazz) throws Exception {
+        File videoDir = getConcordionTestResultsLocation(clazz);
+        return getVideoFiles(videoDir);
+    }
+
+
+    /**
+     * Returns concordion test results location for given test spec
+     *
+     * @param clazz Class which represents concordion fixture for which to find test result files
+     * @return File object representing a folder where test results are located
+     */
+    private static File getConcordionTestResultsLocation(Class clazz) {
+        String outputPath = System.getProperty(CONCORDION_OUTPUT_DIR_VARIABLE_NAME);
+        String testRelativePath = clazz.getPackage().getName().replace(".", "/");
+        if (outputPath == null) {
+            return new File(System.getProperty("java.io.tmpdir"), "concordion/" + testRelativePath);
+        }
+        return new File(outputPath + "/" + testRelativePath);
+    }
+
+    /**
+     * Retrives concordion test results file as a String
+     *
+     * @param clazz    Class which represents Concordion specification for which to retrieve results
+     * @param specName Name of specification for which to retrieve results
+     * @return String represents test results for given specification
+     * @throws Exception if test results can not be retrieved
+     */
+    public static String getConcordionTestResultsFileAsString(Class clazz, String specName) throws Exception {
+        try {
+            File testResultsFile = new File(getConcordionTestResultsLocation(clazz), specName);
+            String testResultsString = FileUtils.readFileToString(testResultsFile);
+            return testResultsString;
+        } catch (IOException e) {
+            throw new Exception("Can't read test results file for " + specName);
+        }
+    }
+
+
+    /**
+     * Creates backup copy of original spec file, adds .orig to the file name of backup copy
+     *
+     * @param specName Name of specification file
+     * @param clazz    Class which is located in the same place as spec file
+     */
+    public static void backupSpec(String specName, Class clazz) throws Exception {
+
+        InputStream original = clazz.getResourceAsStream(specName);
+        String originalFilePath = clazz.getResource(specName).toURI().toString();
+        String backupFilePath = originalFilePath + ".orig";
+        URI backUpUri = new URI(backupFilePath);
+        OutputStream backup = new FileOutputStream(new File(backUpUri));
+
+        try {
+            IOUtils.copy(original, backup);
+        } catch (IOException e) {
+            throw new Exception("Can't inject command, unable to create backup of spec: " + e.toString());
+        } finally {
+            IOUtils.closeQuietly(original);
+            IOUtils.closeQuietly(backup);
+        }
+
+    }
+
+
+    /**
+     * Restore cocnordion spec files from backup "*.orig" files
+     *
+     * @param clazz Class where to look for specs
+     */
+    public static void restoreSpec(Class clazz) throws IOException {
+        File[] backedUpFiles = getSpecBackUpFiles(clazz);
+        for (File backedUpFile : backedUpFiles) {
+            String originalFileName = backedUpFile.getAbsolutePath().replace(".orig", "");
+            File originalFile = new File(originalFileName);
+            FileUtils.deleteQuietly(originalFile);
+            FileUtils.moveFile(backedUpFile, originalFile);
+        }
+    }
+
+    /**
+     * Search for backed up concordion spec files and return them as File array
+     *
+     * @param clazz Class where to search for spec files
+     * @return File array representing collection of spec backups
+     */
+    private static File[] getSpecBackUpFiles(Class clazz) {
+        try {
+            //Construct filename filter to list only spec backups
+            FilenameFilter specBackupFilesFilter = new FilenameFilter() {
+                public boolean accept(File dir, String name) {
+                    return name.endsWith(".orig");
+                }
+            };
+
+            //Determine spec location
+            String className = clazz.getSimpleName() + ".class";
+            String specLocationUri = clazz.getResource(className).toURI().toString().replace(className, "");
+            File specFolder = new File(new URI(specLocationUri));
+
+            File[] specBackupFiles = specFolder.listFiles(specBackupFilesFilter);
+            if (specBackupFiles == null) {
+                throw new RuntimeException("no spec backups found");
+            }
+            if (specBackupFiles.length == 0) {
+                throw new RuntimeException("no spec backups found");
+            }
+
+            return specBackupFiles;
+        } catch (Exception e) {
+            throw new RuntimeException("Can't restore spec from backup: " + e.toString());
+        }
+    }
+
+
+    /**
+     * Insert element at the beginning of another element
+     *
+     * @param element Element to insert
+     * @param body    Element in which to insert
+     * @return Element with inserted element
+     */
+    public static Element insertElement(Element element, Element body, InsertMode insertMode) {
+        Elements children = body.getChildElements();
+        body.removeChildren();
+
+        if (insertMode == InsertMode.BEFORE) {
+            //Insert passed element as first
+            element.detach();
+            body.appendChild(element);
+        }
+
+        //Insert remaining elements
+        for (int i = 0; i < children.size(); i++) {
+            Element child = children.get(i);
+            child.detach();
+            body.appendChild(child);
+        }
+
+        if (insertMode == insertMode.AFTER) {
+            //Insert passed element as last
+            element.detach();
+            body.appendChild(element);
+        }
+        return body;
+    }
+}

src/test/java/com/sqanta/concordioncamera/ConcordionCameraTest.java

 package com.sqanta.concordioncamera;
 
 import ch.randelshofer.screenrecorder.ScreenRecorder;
-import com.sqanta.concordioncameraextension.util.Helpers;
+import com.sqanta.util.Helpers;
 import org.junit.After;
 import org.junit.Assert;
 import org.junit.Test;
 
 /**
  * Unit test to test concordionCamera as standalone component
- *
+ * <p/>
  * (c) Kostya Marchenko, Sqanta OU, 07/06/2011
  */
 public class ConcordionCameraTest {
         //Check that file was recorded
         File videoFile = new File(VIDEO_FILE_NAME + ".mov");
         Assert.assertTrue("Video file was not created", videoFile.exists());
-        Assert.assertTrue("Video file is almost empty", videoFile.length()/1024 > 500);
+        Assert.assertTrue("Video file is almost empty", videoFile.length() / 1024 > 500);
 
 
         //Test AVI camera recorder
         //Check that file was recorded
         videoFile = new File(VIDEO_FILE_NAME + ".avi");
         Assert.assertTrue("Video file was not created", videoFile.exists());
-        Assert.assertTrue("Video file is almost empty", videoFile.length() > 500);
+        Assert.assertTrue("Video file is almost empty", videoFile.length() > 200);
 
 
         //Test that camera works when file is passed instead of file name
 
     @Test
     public void testCameraCantBeStartedTwice() throws Exception {
-        String correctFileName = VIDEO_FILE_NAME+".avi";
+        String correctFileName = VIDEO_FILE_NAME + ".avi";
         String wrongFileName = "wrongFileName.avi";
         File correctFile = new File(correctFileName);
         File wrongFile = new File(wrongFileName);
         //Check that file was recorded and with correct name
         Assert.assertTrue("Video file was not created when camera was attempted to start twice", correctFile.exists());
         Assert.assertTrue("Video file is almost empty", correctFile.length() > 500);
-        Assert.assertFalse("Second video file was created when camera was attempted to start twice",wrongFile.exists());
+        Assert.assertFalse("Second video file was created when camera was attempted to start twice", wrongFile.exists());
     }
 
 

src/test/java/spec/sqanta/concordioncameraextension/BaseRecordVideoFixture.java

 package spec.sqanta.concordioncameraextension;
 
 import com.sqanta.concordioncameraextension.ConcordionCameraExtension;
-import com.sqanta.concordioncameraextension.util.Helpers;
+import com.sqanta.util.Helpers;
 import nu.xom.Builder;
 import nu.xom.Document;
 import nu.xom.Element;
      */
     public String verifyDateAndTimePresentInVideoFileName() throws Exception {
         String videoFileName = getVideoFileName();
-        if (videoFileName.contains(Helpers.getTodaysDateTime())) {
+        if (videoFileName.contains(Helpers.getTodaysDate())) {
             return "date and time";
         }
         return "date or time are not in video file name, actual file name: " + videoFileName;
         File videoFile = Helpers.getConcordionCameraVideoFiles(this.getClass())[0];
         long fileSize = videoFile.length() / 1024;
 
-        //Check that file size is > 300 Kb to make sure that video was recorded
-        if (fileSize > 300) {
+        //Check that file size is > 200 Kb to make sure that video was recorded
+        if (fileSize > 200) {
             return "not empty";
         }
 

src/test/java/spec/sqanta/concordioncameraextension/RecordVideoInAVITest.java

  * (c) Kostya Marchenko, Sqanta OU, 05/06/2011
  */
 @RunWith(ConcordionRunner.class)
-public class RecordVideoInAVITest extends BaseRecordVideoFixture{
+public class RecordVideoInAVITest extends BaseRecordVideoFixture {
 
 
 }

src/test/java/spec/sqanta/concordioncameraextension/RecordVideoInQuickTimeTest.java

  * (c) Kostya Marchenko, Sqanta OU, 05/06/2011
  */
 @RunWith(ConcordionRunner.class)
-public class RecordVideoInQuickTimeTest extends BaseRecordVideoFixture{
+public class RecordVideoInQuickTimeTest extends BaseRecordVideoFixture {
 
 
 }

src/test/java/spec/sqanta/concordioncameraextension/SimpleConcordionSpecTest.java

 @RunWith(ConcordionRunner.class)
 public class SimpleConcordionSpecTest {
 
-    public void doSomething(int seconds){
+    public void doSomething(int seconds) {
         try {
-            Thread.sleep(seconds*1000);
+            Thread.sleep(seconds * 1000);
         } catch (InterruptedException e) {
             //Ignore
         }

src/test/resources/concordion.css

 * {
-  font-family: Arial;
-}
-body {
-  padding: 32px;  
-}
-pre {
-  padding: 6px 28px 6px 28px;
-  background-color: #E8EEF7;
-}
-pre, pre *, code, code *, kbd {
-  font-family: Courier New, Courier;
-  font-size: 10pt;
-}
-h1, h1 * {
-  font-size: 24pt;	
-}
-p, td, th, li, .breadcrumbs {
-  font-size: 10pt;
-}
-p, li {
-  line-height: 140%;
-}
-table {
-  border-collapse: collapse;
-  empty-cells: show;
-  margin: 8px 0px 8px 0px;
-}
-th, td {
-  border: 1px solid black;
-  padding: 3px;
-}
-td {
-  background-color: white;
-  vertical-align: top;
-}
-th {
-  background-color: #C3D9FF;
-}
-li {
-  margin-top: 6px;
-  margin-bottom: 6px; 
+    font-family: Arial;
 }
 
+body {
+    padding: 32px;
+}
+
+pre {
+    padding: 6px 28px 6px 28px;
+    background-color: #E8EEF7;
+}
+
+pre, pre *, code, code *, kbd {
+    font-family: Courier New, Courier;
+    font-size: 10pt;
+}
+
+h1, h1 * {
+    font-size: 24pt;
+}
+
+p, td, th, li, .breadcrumbs {
+    font-size: 10pt;
+}
+
+p, li {
+    line-height: 140%;
+}
+
+table {
+    border-collapse: collapse;
+    empty-cells: show;
+    margin: 8px 0px 8px 0px;
+}
+
+th, td {
+    border: 1px solid black;
+    padding: 3px;
+}
+
+td {
+    background-color: white;
+    vertical-align: top;
+}
+
+th {
+    background-color: #C3D9FF;
+}
+
+li {
+    margin-top: 6px;
+    margin-bottom: 6px;
+}
 
 .example {
-  padding: 2px 12px 6px 12px;
-  border: 1px solid #C3D9FF;
-  margin: 6px 0px 28px 0px;
-  background-color: #F5F9FD;
+    padding: 2px 12px 6px 12px;
+    border: 1px solid #C3D9FF;
+    margin: 6px 0px 28px 0px;
+    background-color: #F5F9FD;
 }
+
 .example h3 {
-  margin-top: 8px;
-  margin-bottom: 8px;
-  font-size: 12pt;
+    margin-top: 8px;
+    margin-bottom: 8px;
+    font-size: 12pt;
 }
 
 .special {
-  font-style: italic;
+    font-style: italic;
 }
 
 .idea {
-  font-size: 9pt;
-  color: #888;
-  font-style: italic;	
+    font-size: 9pt;
+    color: #888;
+    font-style: italic;
 }
+
 .tight li {
-  margin-top: 1px;
-  margin-bottom: 1px; 
+    margin-top: 1px;
+    margin-bottom: 1px;
 }
+
 .commentary {
-  float: right;
-  width: 200px;
-  background-color: #ffffd0;
-  padding:8px;
-  border: 3px solid #eeeeb0;	 
-  margin: 10px 0px 10px 10px;	 
+    float: right;
+    width: 200px;
+    background-color: #ffffd0;
+    padding: 8px;
+    border: 3px solid #eeeeb0;
+    margin: 10px 0px 10px 10px;
 }
+
 .commentary, .commentary * {
-  font-size: 8pt;
+    font-size: 8pt;
 }

src/test/resources/spec/sqanta/concordioncameraextension/ConcordionCameraExtension.html

 <html xmlns:c="http://www.concordion.org/2007/concordion" xmlns:cx="urn:concordion-extensions:2010">
-    <link href="../../../concordion.css" rel="stylesheet" type="text/css"/>
-    <body>
-        <h1>Concordion Camera Extension</h1>
+<link href="../../../concordion.css" rel="stylesheet" type="text/css"/>
+<body>
+<h1>Concordion Camera Extension</h1>
 
-        <p>
-            This extension gives you ability to record video of test execution and display it on concordion test results page.<br/>
-            It adds new concordion command <code>concordionCamera="format"</code> where <code>format</code> specifies in which format to record videos.
-            At the moment you can record video in <a c:run="concordion" href="RecordVideoInAVI.html">AVI</a> or <a c:run="concordion" href="RecordVideoInQuickTime.html">QuickTime</a> format.
-        </p>
-    </body>
+<p>
+    This extension gives you ability to record video of test execution and display it on concordion test results
+    page.<br/>
+    It adds new concordion command <code>concordionCamera="format"</code> where <code>format</code> specifies in which
+    format to record videos.
+    At the moment you can record video in <a c:run="concordion" href="RecordVideoInAVI.html">AVI</a> or <a
+        c:run="concordion" href="RecordVideoInQuickTime.html">QuickTime</a> format.
+</p>
+</body>
 </html>

src/test/resources/spec/sqanta/concordioncameraextension/RecordVideoInAVI.html

 <link href="../../../concordion.css" rel="stylesheet" type="text/css"/>
 <body>
 <h3>Record video of the test in AVI format</h3>
+
 <p>
-    With Concordion Camera Extension you can record videos of your tests in AVI format and they will be embedded in test results.
+    With Concordion Camera Extension you can record videos of your tests in AVI format and they will be embedded in test
+    results.
     Extension uses HTML5 features for video embedding.
 </p>
+
 <div class="example">
     <p>
-        <b>Given</b> <span c:set="#specName">SimpleConcordionSpec.html</span> test with <span c:execute="injectCommand(#command, #specName, #insertMode)"><code c:set="#command">&lt;span cx:concordionCamera="avi"/&gt;</code> command inserted <span c:set="#insertMode">before</span></span> other commands<br/>
+        <b>Given</b> <span c:set="#specName">SimpleConcordionSpec.html</span> test with <span
+            c:execute="injectCommand(#command, #specName, #insertMode)"><code c:set="#command">&lt;span
+        cx:concordionCamera="avi"/&gt;</code> command inserted <span c:set="#insertMode">before</span></span> other
+        commands<br/>
         <b>And</b> <span c:execute="installExtension()">ConcordionCamera extension is installed</span><br/>
         <b>When</b> <a c:run="concordion" href="SimpleConcordionSpec.html">test is executed</a><br/>
-        <b>Then</b> <span c:assertEquals="getVideosCount()">1</span> <span c:assertEquals="verifyVideoFileNotEmpty()">not empty</span> video of test is recorded in <span c:assertEquals="getVideoFormat()">AVI</span> format<br/>
-        <b>And</b> it has <span c:assertEquals="verifyTestNamePresentInVideoFileName(#specName)">test name</span>, <span c:assertEquals="verifyDateAndTimePresentInVideoFileName()">date and time</span> in file name<br/>
-        <b>And</b> video is <span c:assertEquals="verifyVideoIsEmbeddedInTestResults(#specName)">embedded</span> in test results report<br/>
+        <b>Then</b> <span c:assertEquals="getVideosCount()">1</span> <span c:assertEquals="verifyVideoFileNotEmpty()">not empty</span>
+        video of test is recorded in <span c:assertEquals="getVideoFormat()">AVI</span> format<br/>
+        <b>And</b> it has <span c:assertEquals="verifyTestNamePresentInVideoFileName(#specName)">test name</span>, <span
+            c:assertEquals="verifyDateAndTimePresentInVideoFileName()">date and time</span> in file name<br/>
+        <b>And</b> video is <span c:assertEquals="verifyVideoIsEmbeddedInTestResults(#specName)">embedded</span> in test
+        results report<br/>
     </p>
 </div>
 

src/test/resources/spec/sqanta/concordioncameraextension/RecordVideoInQuickTime.html

 <link href="../../../concordion.css" rel="stylesheet" type="text/css"/>
 <body>
 <h3>Record video of the test in QuickTime format</h3>
+
 <p>
-    With Concordion Camera Extension you can record videos of your tests in QuickTime format and they will be embedded in test results.
+    With Concordion Camera Extension you can record videos of your tests in QuickTime format and they will be embedded
+    in test results.
     When using QuickTime format audio also will be recorded.
     Extension uses HTML5 features for video embedding.
 </p>
+
 <div class="example">
     <p>
-        <b>Given</b> <span c:set="#specName">SimpleConcordionSpec.html</span> test with <span c:execute="injectCommand(#command, #specName, #insertMode)"><code c:set="#command">&lt;span cx:concordionCamera="quicktime"/&gt;</code> command inserted <span c:set="#insertMode">before</span></span> other commands<br/>
+        <b>Given</b> <span c:set="#specName">SimpleConcordionSpec.html</span> test with <span
+            c:execute="injectCommand(#command, #specName, #insertMode)"><code c:set="#command">&lt;span
+        cx:concordionCamera="quicktime"/&gt;</code> command inserted <span c:set="#insertMode">before</span></span>
+        other commands<br/>
         <b>And</b> <span c:execute="installExtension()">ConcordionCamera extension is installed</span><br/>
         <b>When</b> <a c:run="concordion" href="SimpleConcordionSpec.html">test is executed</a><br/>
-        <b>Then</b> <span c:assertEquals="getVideosCount()">1</span> <span c:assertEquals="verifyVideoFileNotEmpty()">not empty</span> video of test is recorded in <span c:assertEquals="getVideoFormat()">QuickTime</span> format<br/>
-        <b>And</b> it has <span c:assertEquals="verifyTestNamePresentInVideoFileName(#specName)">test name</span>, <span c:assertEquals="verifyDateAndTimePresentInVideoFileName()">date and time</span> in file name<br/>
-        <b>And</b> video is <span c:assertEquals="verifyVideoIsEmbeddedInTestResults(#specName)">embedded</span> in test results report<br/>
+        <b>Then</b> <span c:assertEquals="getVideosCount()">1</span> <span c:assertEquals="verifyVideoFileNotEmpty()">not empty</span>
+        video of test is recorded in <span c:assertEquals="getVideoFormat()">QuickTime</span> format<br/>
+        <b>And</b> it has <span c:assertEquals="verifyTestNamePresentInVideoFileName(#specName)">test name</span>, <span
+            c:assertEquals="verifyDateAndTimePresentInVideoFileName()">date and time</span> in file name<br/>
+        <b>And</b> video is <span c:assertEquals="verifyVideoIsEmbeddedInTestResults(#specName)">embedded</span> in test
+        results report<br/>
     </p>
 </div>