Package spark.api

Examples of spark.api.BooleanResult


    String fn = TEST_DIR + testName + FILE_EXT;
    return (BooleanResult) XMLResultsParser.parseResults(null, new FileInputStream(fn), null);
  }

  static void booleanTest(String testName, boolean value, String... metadata) throws Exception {
    BooleanResult r = getTestData(testName);
    assertNotNull(r);
   
    assertEquals(value, r.getResult());
   
    assertTrue(r instanceof ProtocolResult);
    List<String> md = ((ProtocolResult)r).getMetadata();
    assertEquals(Arrays.asList(metadata), md);
  }
View Full Code Here

TOP

Related Classes of spark.api.BooleanResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.