utf-x
  1. utf-x
  2. UTF_X-49

TestRunner with utfx.test.file does not report errors

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: unspecified
    • Fix Version/s: milestone 1
    • Component/s: framework
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      49

      Description

      Found in branch_0_0_x

      STEPS TO REPRODUCE:

      • define ant target in build.xml
        <target name="test" depends="jar">
        <java classname="$ {testrunner}

        " fork="yes">
        <jvmarg value="-Djavax.xml.transform.TransformerFactory=$

        {tarnsformer_factory_impl}

        " />
        <jvmarg value="-Dutfx.test.file=tests/test/broken_stylesheet_test.xml" />
        <jvmarg value="-enableassertions" />
        <arg value="utfx.framework.XSLTRegressionTest" />
        <classpath refid="runtime.classpath" />
        </java>
        </target>

      • ant test

      ACTUAL RESULT:
      [java] OK (0 tests)

      EXPECTED RESULT:
      [java] Tests run: 1, Errors: 1
      [java] Java Result: 1

        Activity

        Hide
        lachdrache added a comment -

        The fix won't make it into 0.0.8 release this weekend. I will fix it on branch_0_0_x.

        Show
        lachdrache added a comment - The fix won't make it into 0.0.8 release this weekend. I will fix it on branch_0_0_x.
        Hide
        lachdrache added a comment -

        can be tested with the new testfile-has-error target

        Show
        lachdrache added a comment - can be tested with the new testfile-has-error target

          People

          • Assignee:
            lachdrache
            Reporter:
            lachdrache
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: