Class CsvArgumentsProvider

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void accept​(CsvSource annotation)  
      (package private) static void handleCsvException​(java.lang.Throwable throwable, java.lang.annotation.Annotation annotation)  
      private java.lang.String[] parseLine​(long index, java.lang.String line)  
      java.util.stream.Stream<? extends Arguments> provideArguments​(ExtensionContext context)
      Provide a Stream of Arguments to be passed to a @ParameterizedTest method.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.Consumer

        andThen
    • Field Detail

      • nullValues

        private java.util.Set<java.lang.String> nullValues
      • csvParser

        private com.univocity.parsers.csv.CsvParser csvParser
    • Constructor Detail

      • CsvArgumentsProvider

        CsvArgumentsProvider()
    • Method Detail

      • accept

        public void accept​(CsvSource annotation)
        Specified by:
        accept in interface java.util.function.Consumer<CsvSource>
      • parseLine

        private java.lang.String[] parseLine​(long index,
                                             java.lang.String line)
      • handleCsvException

        static void handleCsvException​(java.lang.Throwable throwable,
                                       java.lang.annotation.Annotation annotation)