Alpine Static Build 路 Issue #76 路 bbc/audiowaveform 路 GitHub

您所在的位置:网站首页 audiowaveform Alpine Static Build 路 Issue #76 路 bbc/audiowaveform 路 GitHub

Alpine Static Build 路 Issue #76 路 bbc/audiowaveform 路 GitHub

2023-07-13 07:43| 来源: 网络整理| 查看: 265

/audiowaveform-master/build # ./audiowaveform_tests Running main() from gmock_main.cc [==========] Running 186 tests from 16 test cases. [----------] Global test environment set-up. [----------] 10 tests from AudioFileReaderTest [ RUN ] AudioFileReaderTest.shouldDisplayZeroPercentWhenFirstCalled [ OK ] AudioFileReaderTest.shouldDisplayZeroPercentWhenFirstCalled (0 ms) [ RUN ] AudioFileReaderTest.shouldUpdatePercentage [ OK ] AudioFileReaderTest.shouldUpdatePercentage (0 ms) [ RUN ] AudioFileReaderTest.shouldNotUpdatePercentageIfUnchanged [ OK ] AudioFileReaderTest.shouldNotUpdatePercentageIfUnchanged (0 ms) [ RUN ] AudioFileReaderTest.shouldAllowPercentageToDecrease [ OK ] AudioFileReaderTest.shouldAllowPercentageToDecrease (0 ms) [ RUN ] AudioFileReaderTest.shouldLimitPercentageAt0 [ OK ] AudioFileReaderTest.shouldLimitPercentageAt0 (0 ms) [ RUN ] AudioFileReaderTest.shouldLimitPercentageAt100 [ OK ] AudioFileReaderTest.shouldLimitPercentageAt100 (0 ms) [ RUN ] AudioFileReaderTest.shouldNotAssumeTotalIs100 [ OK ] AudioFileReaderTest.shouldNotAssumeTotalIs100 (0 ms) [ RUN ] AudioFileReaderTest.shouldDisplayPercentageAsWholeNumber [ OK ] AudioFileReaderTest.shouldDisplayPercentageAsWholeNumber (0 ms) [ RUN ] AudioFileReaderTest.shouldDisplayZeroIfTotalIsZero [ OK ] AudioFileReaderTest.shouldDisplayZeroIfTotalIsZero (0 ms) [ RUN ] AudioFileReaderTest.shouldAllowLargeNumbers [ OK ] AudioFileReaderTest.shouldAllowLargeNumbers (0 ms) [----------] 10 tests from AudioFileReaderTest (0 ms total)

[----------] 6 tests from GdImageRendererTest [ RUN ] GdImageRendererTest.shouldRenderImageWithAxisLabels [ OK ] GdImageRendererTest.shouldRenderImageWithAxisLabels (21 ms) [ RUN ] GdImageRendererTest.shouldRenderImageWithoutAxisLabels [ OK ] GdImageRendererTest.shouldRenderImageWithoutAxisLabels (19 ms) [ RUN ] GdImageRendererTest.shouldReportErrorIfImageWidthIsLessThanMinimum [ OK ] GdImageRendererTest.shouldReportErrorIfImageWidthIsLessThanMinimum (0 ms) [ RUN ] GdImageRendererTest.shouldReportErrorIfImageHeightIsLessThanMinimum [ OK ] GdImageRendererTest.shouldReportErrorIfImageHeightIsLessThanMinimum (0 ms) [ RUN ] GdImageRendererTest.shouldReportErrorIfSampleRateIsTooHigh [ OK ] GdImageRendererTest.shouldReportErrorIfSampleRateIsTooHigh (1 ms) [ RUN ] GdImageRendererTest.shouldReportErrorIfScaleIsTooHigh [ OK ] GdImageRendererTest.shouldReportErrorIfScaleIsTooHigh (0 ms) [----------] 6 tests from GdImageRendererTest (41 ms total)

[----------] 13 tests from MathUtilTest [ RUN ] MathUtilTest.shouldRoundDownToNearestInteger [ OK ] MathUtilTest.shouldRoundDownToNearestInteger (0 ms) [ RUN ] MathUtilTest.shouldRoundUpToNearestInteger [ OK ] MathUtilTest.shouldRoundUpToNearestInteger (0 ms) [ RUN ] MathUtilTest.shouldParseInteger [ OK ] MathUtilTest.shouldParseInteger (0 ms) [ RUN ] MathUtilTest.shouldParseIntegerWithPositiveSign [ OK ] MathUtilTest.shouldParseIntegerWithPositiveSign (0 ms) [ RUN ] MathUtilTest.shouldParseNegativeInteger [ OK ] MathUtilTest.shouldParseNegativeInteger (0 ms) [ RUN ] MathUtilTest.shouldParseDecimal [ OK ] MathUtilTest.shouldParseDecimal (0 ms) [ RUN ] MathUtilTest.shouldParseIntegerWithLeadingZeros [ OK ] MathUtilTest.shouldParseIntegerWithLeadingZeros (0 ms) [ RUN ] MathUtilTest.shouldParseSmallNumber [ OK ] MathUtilTest.shouldParseSmallNumber (0 ms) [ RUN ] MathUtilTest.shouldRejectEmptyString [ OK ] MathUtilTest.shouldRejectEmptyString (7 ms) [ RUN ] MathUtilTest.shouldRejectNonNumber [ OK ] MathUtilTest.shouldRejectNonNumber (0 ms) [ RUN ] MathUtilTest.shouldRejectNumberPrecededByWhitespace [ OK ] MathUtilTest.shouldRejectNumberPrecededByWhitespace (0 ms) [ RUN ] MathUtilTest.shouldRejectNumberFollowedByWhitespace [ OK ] MathUtilTest.shouldRejectNumberFollowedByWhitespace (0 ms) [ RUN ] MathUtilTest.shouldRejectNumberFollowedByText [ OK ] MathUtilTest.shouldRejectNumberFollowedByText (0 ms) [----------] 13 tests from MathUtilTest (7 ms total)

[----------] 8 tests from Mp3AudioFileReaderTest [ RUN ] Mp3AudioFileReaderTest.shouldOpenMp3File [ OK ] Mp3AudioFileReaderTest.shouldOpenMp3File (0 ms) [ RUN ] Mp3AudioFileReaderTest.shouldReportErrorIfFileNotFound [ OK ] Mp3AudioFileReaderTest.shouldReportErrorIfFileNotFound (0 ms) [ RUN ] Mp3AudioFileReaderTest.shouldFailToProcessIfFileNotOpen [ OK ] Mp3AudioFileReaderTest.shouldFailToProcessIfFileNotOpen (0 ms) [ RUN ] Mp3AudioFileReaderTest.shouldProcessStereoMp3File [ OK ] Mp3AudioFileReaderTest.shouldProcessStereoMp3File (10 ms) [ RUN ] Mp3AudioFileReaderTest.shouldProcessMonoMp3File [ OK ] Mp3AudioFileReaderTest.shouldProcessMonoMp3File (6 ms) [ RUN ] Mp3AudioFileReaderTest.shouldProcessMp3FileWithId3Tags [ OK ] Mp3AudioFileReaderTest.shouldProcessMp3FileWithId3Tags (1 ms) [ RUN ] Mp3AudioFileReaderTest.shouldAccountForDecodingDelay [ OK ] Mp3AudioFileReaderTest.shouldAccountForDecodingDelay (10 ms) [ RUN ] Mp3AudioFileReaderTest.shouldNotProcessFileMoreThanOnce [ OK ] Mp3AudioFileReaderTest.shouldNotProcessFileMoreThanOnce (6 ms) [----------] 8 tests from Mp3AudioFileReaderTest (33 ms total)

[----------] 59 tests from OptionsTest [ RUN ] OptionsTest.shouldReportErrorIfNoOptionsGiven [ OK ] OptionsTest.shouldReportErrorIfNoOptionsGiven (0 ms) [ RUN ] OptionsTest.shouldReturnFilenamesWithLongArgs [ OK ] OptionsTest.shouldReturnFilenamesWithLongArgs (0 ms) [ RUN ] OptionsTest.shouldReturnFilenamesWithShortArgs [ OK ] OptionsTest.shouldReturnFilenamesWithShortArgs (0 ms) [ RUN ] OptionsTest.shouldDisplayErrorIfMissingInputFilename [ OK ] OptionsTest.shouldDisplayErrorIfMissingInputFilename (0 ms) [ RUN ] OptionsTest.shouldDisplayErrorIfMissingOutputFilename [ OK ] OptionsTest.shouldDisplayErrorIfMissingOutputFilename (0 ms) [ RUN ] OptionsTest.shouldReturnDefaultOptions [ OK ] OptionsTest.shouldReturnDefaultOptions (0 ms) [ RUN ] OptionsTest.shouldReturnStartTimeWithLongArg [ OK ] OptionsTest.shouldReturnStartTimeWithLongArg (0 ms) [ RUN ] OptionsTest.shouldReturnStartTimeWithShortArg [ OK ] OptionsTest.shouldReturnStartTimeWithShortArg (0 ms) [ RUN ] OptionsTest.shouldDisplayErrorIfInvalidStartTime [ OK ] OptionsTest.shouldDisplayErrorIfInvalidStartTime (1 ms) [ RUN ] OptionsTest.shouldDisplayErrorIfMissingStartTime [ OK ] OptionsTest.shouldDisplayErrorIfMissingStartTime (0 ms) [ RUN ] OptionsTest.shouldReturnEndTimeWithLongArg [ OK ] OptionsTest.shouldReturnEndTimeWithLongArg (0 ms) [ RUN ] OptionsTest.shouldReturnEndTimeWithShortArg [ OK ] OptionsTest.shouldReturnEndTimeWithShortArg (0 ms) [ RUN ] OptionsTest.shouldDisplayErrorIfInvalidEndTime [ OK ] OptionsTest.shouldDisplayErrorIfInvalidEndTime (0 ms) [ RUN ] OptionsTest.shouldDisplayErrorIfMissingEndTime [ OK ] OptionsTest.shouldDisplayErrorIfMissingEndTime (0 ms) [ RUN ] OptionsTest.shouldReturnDefaultEndTime [ OK ] OptionsTest.shouldReturnDefaultEndTime (0 ms) [ RUN ] OptionsTest.shouldReturnWidthWithLongArg [ OK ] OptionsTest.shouldReturnWidthWithLongArg (0 ms) [ RUN ] OptionsTest.shouldReturnWidthWithShortArg [ OK ] OptionsTest.shouldReturnWidthWithShortArg (0 ms) [ RUN ] OptionsTest.shouldDisplayErrorIfInvalidWidth [ OK ] OptionsTest.shouldDisplayErrorIfInvalidWidth (0 ms) [ RUN ] OptionsTest.shouldDisplayErrorIfMissingWidth [ OK ] OptionsTest.shouldDisplayErrorIfMissingWidth (0 ms) [ RUN ] OptionsTest.shouldReturnHeightWithLongArg [ OK ] OptionsTest.shouldReturnHeightWithLongArg (0 ms) [ RUN ] OptionsTest.shouldReturnHeightWithShortArg [ OK ] OptionsTest.shouldReturnHeightWithShortArg (1 ms) [ RUN ] OptionsTest.shouldDisplayErrorIfInvalidHeight [ OK ] OptionsTest.shouldDisplayErrorIfInvalidHeight (0 ms) [ RUN ] OptionsTest.shouldDisplayErrorIfMissingHeight [ OK ] OptionsTest.shouldDisplayErrorIfMissingHeight (0 ms) [ RUN ] OptionsTest.shouldReturnDefaultAmplitudeScale [ OK ] OptionsTest.shouldReturnDefaultAmplitudeScale (0 ms) [ RUN ] OptionsTest.shouldReturnAmplitudeScale [ OK ] OptionsTest.shouldReturnAmplitudeScale (0 ms) [ RUN ] OptionsTest.shouldReturnAutoAmplitudeScale [ OK ] OptionsTest.shouldReturnAutoAmplitudeScale (0 ms) [ RUN ] OptionsTest.shouldDisplayErrorIfAmplitudeScaleInvalid [ OK ] OptionsTest.shouldDisplayErrorIfAmplitudeScaleInvalid (0 ms) [ RUN ] OptionsTest.shouldDisplayErrorIfAmplitudeScaleIsNegative [ OK ] OptionsTest.shouldDisplayErrorIfAmplitudeScaleIsNegative (1 ms) [ RUN ] OptionsTest.shouldReturnZoomWithLongArg [ OK ] OptionsTest.shouldReturnZoomWithLongArg (0 ms) [ RUN ] OptionsTest.shouldReturnZoomWithShortArg [ OK ] OptionsTest.shouldReturnZoomWithShortArg (0 ms) [ RUN ] OptionsTest.shouldReturnDefaultZoomOption [ OK ] OptionsTest.shouldReturnDefaultZoomOption (0 ms) [ RUN ] OptionsTest.shouldReturnAutoZoomOption [ OK ] OptionsTest.shouldReturnAutoZoomOption (0 ms) [ RUN ] OptionsTest.shouldDisplayErrorIfInvalidZoom [ OK ] OptionsTest.shouldDisplayErrorIfInvalidZoom (0 ms) [ RUN ] OptionsTest.shouldDisplayErrorIfZoomValueTooLarge [ OK ] OptionsTest.shouldDisplayErrorIfZoomValueTooLarge (1 ms) [ RUN ] OptionsTest.shouldDisplayErrorIfMissingZoom [ OK ] OptionsTest.shouldDisplayErrorIfMissingZoom (0 ms) [ RUN ] OptionsTest.shouldReturnPixelsPerSecond [ OK ] OptionsTest.shouldReturnPixelsPerSecond (0 ms) [ RUN ] OptionsTest.shouldReturnDefaultPixelsPerSecondOption [ OK ] OptionsTest.shouldReturnDefaultPixelsPerSecondOption (0 ms) [ RUN ] OptionsTest.shouldDisplayErrorIfInvalidPixelsPerSecond [ OK ] OptionsTest.shouldDisplayErrorIfInvalidPixelsPerSecond (0 ms) [ RUN ] OptionsTest.shouldDisplayErrorIfMissingPixelsPerSecond [ OK ] OptionsTest.shouldDisplayErrorIfMissingPixelsPerSecond (1 ms) [ RUN ] OptionsTest.shouldDisplayErrorIfPixelsPerSecondValueTooLarge [ OK ] OptionsTest.shouldDisplayErrorIfPixelsPerSecondValueTooLarge (0 ms) [ RUN ] OptionsTest.shouldReturnBitsWithLongArg [ OK ] OptionsTest.shouldReturnBitsWithLongArg (0 ms) [ RUN ] OptionsTest.shouldReturnBitsWithShortArg [ OK ] OptionsTest.shouldReturnBitsWithShortArg (0 ms) [ RUN ] OptionsTest.shouldDisplayErrorIfBitsInvalid [ OK ] OptionsTest.shouldDisplayErrorIfBitsInvalid (0 ms) [ RUN ] OptionsTest.shouldDisplayErrorIfInvalidBits [ OK ] OptionsTest.shouldDisplayErrorIfInvalidBits (0 ms) [ RUN ] OptionsTest.shouldDisplayErrorIfMissingBits [ OK ] OptionsTest.shouldDisplayErrorIfMissingBits (0 ms) [ RUN ] OptionsTest.shouldReturnDefaultBitsOption [ OK ] OptionsTest.shouldReturnDefaultBitsOption (1 ms) [ RUN ] OptionsTest.shouldDisableAxisLabelRendering [ OK ] OptionsTest.shouldDisableAxisLabelRendering (0 ms) [ RUN ] OptionsTest.shouldEnableAxisLabelRendering [ OK ] OptionsTest.shouldEnableAxisLabelRendering (0 ms) [ RUN ] OptionsTest.shouldEnableAxisLabelRenderingByDefault [ OK ] OptionsTest.shouldEnableAxisLabelRenderingByDefault (0 ms) [ RUN ] OptionsTest.shouldReturnDefaultPngCompressionLevel [ OK ] OptionsTest.shouldReturnDefaultPngCompressionLevel (0 ms) [ RUN ] OptionsTest.shouldReturnPngCompressionLevel [ OK ] OptionsTest.shouldReturnPngCompressionLevel (0 ms) [ RUN ] OptionsTest.shouldDisplayErrorIfInvalidPngCompressionLevel [ OK ] OptionsTest.shouldDisplayErrorIfInvalidPngCompressionLevel (0 ms) [ RUN ] OptionsTest.shouldReturnHelpFlag [ OK ] OptionsTest.shouldReturnHelpFlag (1 ms) [ RUN ] OptionsTest.shouldReturnVersionFlagWithLongArg [ OK ] OptionsTest.shouldReturnVersionFlagWithLongArg (0 ms) [ RUN ] OptionsTest.shouldReturnVersionFlagWithShortArg [ OK ] OptionsTest.shouldReturnVersionFlagWithShortArg (0 ms) [ RUN ] OptionsTest.shouldDisplayErrorIfUnknownLongArg [ OK ] OptionsTest.shouldDisplayErrorIfUnknownLongArg (0 ms) [ RUN ] OptionsTest.shouldDisplayErrorIfUnknownShortArg [ OK ] OptionsTest.shouldDisplayErrorIfUnknownShortArg (0 ms) [ RUN ] OptionsTest.shouldOutputVersionInfo [ OK ] OptionsTest.shouldOutputVersionInfo (0 ms) [ RUN ] OptionsTest.shouldOutputUsageInfo [ OK ] OptionsTest.shouldOutputUsageInfo (0 ms) [----------] 59 tests from OptionsTest (9 ms total)

[----------] 34 tests from OptionHandlerTest [ RUN ] OptionHandlerTest.shouldConvertMp3ToWavAudio /audiowaveform-master/test/OptionHandlerTest.cpp:78: Failure Value of: test_data[i] Expected: is equal to '\xD5' (213) Actual: '\xD0' (208) (of type unsigned char) [ FAILED ] OptionHandlerTest.shouldConvertMp3ToWavAudio (7 ms) [ RUN ] OptionHandlerTest.shouldNotConvertWavToMp3Audio [ OK ] OptionHandlerTest.shouldNotConvertWavToMp3Audio (0 ms) [ RUN ] OptionHandlerTest.shouldGenerateBinaryWaveformDataFromWavAudio [ OK ] OptionHandlerTest.shouldGenerateBinaryWaveformDataFromWavAudio (16 ms) [ RUN ] OptionHandlerTest.shouldGenerateBinaryWaveformDataFromFloatingPointWavAudio [ OK ] OptionHandlerTest.shouldGenerateBinaryWaveformDataFromFloatingPointWavAudio (14 ms) [ RUN ] OptionHandlerTest.shouldGenerateBinaryWaveformDataFromMp3Audio /audiowaveform-master/test/OptionHandlerTest.cpp:78: Failure Value of: test_data[i] Expected: is equal to '\x6' (6) Actual: '\x5' (5) (of type unsigned char) [ FAILED ] OptionHandlerTest.shouldGenerateBinaryWaveformDataFromMp3Audio (12 ms) [ RUN ] OptionHandlerTest.shouldGenerateBinaryWaveformDataFromFlacAudio [ OK ] OptionHandlerTest.shouldGenerateBinaryWaveformDataFromFlacAudio (21 ms) [ RUN ] OptionHandlerTest.shouldGenerateBinaryWaveformDataFromOggVorbisAudio [ OK ] OptionHandlerTest.shouldGenerateBinaryWaveformDataFromOggVorbisAudio (31 ms) [ RUN ] OptionHandlerTest.shouldGenerateJsonWaveformDataFromWavAudio [ OK ] OptionHandlerTest.shouldGenerateJsonWaveformDataFromWavAudio (44 ms) [ RUN ] OptionHandlerTest.shouldGenerateJsonWaveformDataFromMp3Audio /audiowaveform-master/test/OptionHandlerTest.cpp:73: Failure Value of: test_data.size() Expected: is equal to 10666 Actual: 10665 (of type unsigned long) [ FAILED ] OptionHandlerTest.shouldGenerateJsonWaveformDataFromMp3Audio (14 ms) [ RUN ] OptionHandlerTest.shouldGenerateJsonWaveformDataFromFlacAudio [ OK ] OptionHandlerTest.shouldGenerateJsonWaveformDataFromFlacAudio (53 ms) [ RUN ] OptionHandlerTest.shouldGenerateJsonWaveformDataFromOggVorbisAudio [ OK ] OptionHandlerTest.shouldGenerateJsonWaveformDataFromOggVorbisAudio (58 ms) [ RUN ] OptionHandlerTest.shouldConvertBinaryWaveformDataToJson [ OK ] OptionHandlerTest.shouldConvertBinaryWaveformDataToJson (38 ms) [ RUN ] OptionHandlerTest.shouldConvertBinaryWaveformDataToText [ OK ] OptionHandlerTest.shouldConvertBinaryWaveformDataToText (36 ms) [ RUN ] OptionHandlerTest.shouldNotConvertJsonWaveformDataToBinary [ OK ] OptionHandlerTest.shouldNotConvertJsonWaveformDataToBinary (0 ms) [ RUN ] OptionHandlerTest.shouldNotConvertJsonWaveformDataToText [ OK ] OptionHandlerTest.shouldNotConvertJsonWaveformDataToText (0 ms) [ RUN ] OptionHandlerTest.shouldNotConvertTextWaveformDataToBinary [ OK ] OptionHandlerTest.shouldNotConvertTextWaveformDataToBinary (1 ms) [ RUN ] OptionHandlerTest.shouldNotConvertTextWaveformDataToJson [ OK ] OptionHandlerTest.shouldNotConvertTextWaveformDataToJson (0 ms) [ RUN ] OptionHandlerTest.shouldRenderWaveformImageFromBinaryWaveformData [ OK ] OptionHandlerTest.shouldRenderWaveformImageFromBinaryWaveformData (375 ms) [ RUN ] OptionHandlerTest.shouldRenderWaveformImageFromFloatingPointWavAudio [ OK ] OptionHandlerTest.shouldRenderWaveformImageFromFloatingPointWavAudio (323 ms) [ RUN ] OptionHandlerTest.shouldRenderWaveformImageFromWavAudio [ OK ] OptionHandlerTest.shouldRenderWaveformImageFromWavAudio (329 ms) [ RUN ] OptionHandlerTest.shouldRenderWaveformImageFromMp3Audio /audiowaveform-master/test/OptionHandlerTest.cpp:138: Failure Value of: test_pixel Expected: is equal to 4148635 Actual: 14079702 (of type int) [ FAILED ] OptionHandlerTest.shouldRenderWaveformImageFromMp3Audio (121 ms) [ RUN ] OptionHandlerTest.shouldRenderWaveformImageFromFlacAudio [ OK ] OptionHandlerTest.shouldRenderWaveformImageFromFlacAudio (362 ms) [ RUN ] OptionHandlerTest.shouldRenderWaveformImageFromOggVorbisAudio [ OK ] OptionHandlerTest.shouldRenderWaveformImageFromOggVorbisAudio (355 ms) [ RUN ] OptionHandlerTest.shouldRenderWaveformWithColorScheme [ OK ] OptionHandlerTest.shouldRenderWaveformWithColorScheme (321 ms) [ RUN ] OptionHandlerTest.shouldRenderWaveformWithSpecifiedColors [ OK ] OptionHandlerTest.shouldRenderWaveformWithSpecifiedColors (358 ms) [ RUN ] OptionHandlerTest.shouldRenderWaveformWithNoAxisLabels [ OK ] OptionHandlerTest.shouldRenderWaveformWithNoAxisLabels (323 ms) [ RUN ] OptionHandlerTest.shouldRenderWaveformWithFixedAmplitudeScale [ OK ] OptionHandlerTest.shouldRenderWaveformWithFixedAmplitudeScale (318 ms) [ RUN ] OptionHandlerTest.shouldRenderWaveformWithAutoAmplitudeScale [ OK ] OptionHandlerTest.shouldRenderWaveformWithAutoAmplitudeScale (336 ms) [ RUN ] OptionHandlerTest.shouldRenderWaveformFitToImageWidth /audiowaveform-master/test/OptionHandlerTest.cpp:138: Failure Value of: test_pixel Expected: is equal to 4148635 Actual: 14079702 (of type int) [ FAILED ] OptionHandlerTest.shouldRenderWaveformFitToImageWidth (53 ms) [ RUN ] OptionHandlerTest.shouldNotRenderWaveformImageFromJsonWaveformData [ OK ] OptionHandlerTest.shouldNotRenderWaveformImageFromJsonWaveformData (0 ms) [ RUN ] OptionHandlerTest.shouldNotRenderWaveformImageFromTextWaveformData [ OK ] OptionHandlerTest.shouldNotRenderWaveformImageFromTextWaveformData (0 ms) [ RUN ] OptionHandlerTest.shouldFailIfZoomIsZero [ OK ] OptionHandlerTest.shouldFailIfZoomIsZero (0 ms) [ RUN ] OptionHandlerTest.shouldFailIfPixelsPerSecondIsZero [ OK ] OptionHandlerTest.shouldFailIfPixelsPerSecondIsZero (1 ms) [ RUN ] OptionHandlerTest.shouldFailIfPixelsPerSecondIsNegative [ OK ] OptionHandlerTest.shouldFailIfPixelsPerSecondIsNegative (0 ms) [----------] 34 tests from OptionHandlerTest (3920 ms total)

[----------] 6 tests from RgbaTest [ RUN ] RgbaTest.shouldParseColorWithDigits [ OK ] RgbaTest.shouldParseColorWithDigits (0 ms) [ RUN ] RgbaTest.shouldParseColorWithTransparency [ OK ] RgbaTest.shouldParseColorWithTransparency (0 ms) [ RUN ] RgbaTest.shouldParseColorWithLowerCaseHex [ OK ] RgbaTest.shouldParseColorWithLowerCaseHex (0 ms) [ RUN ] RgbaTest.shouldParseColorWithUpperCaseHex [ OK ] RgbaTest.shouldParseColorWithUpperCaseHex (0 ms) [ RUN ] RgbaTest.shouldThrowIfEmptyString [ OK ] RgbaTest.shouldThrowIfEmptyString (0 ms) [ RUN ] RgbaTest.shouldThrowIfNotAValidColor [ OK ] RgbaTest.shouldThrowIfNotAValidColor (0 ms) [----------] 6 tests from RgbaTest (0 ms total)

[----------] 10 tests from SndFileAudioFileReaderTest [ RUN ] SndFileAudioFileReaderTest.shouldOpenWavFile [ OK ] SndFileAudioFileReaderTest.shouldOpenWavFile (0 ms) [ RUN ] SndFileAudioFileReaderTest.shouldOpenFlacFile [ OK ] SndFileAudioFileReaderTest.shouldOpenFlacFile (0 ms) [ RUN ] SndFileAudioFileReaderTest.shouldReportErrorIfFileNotFound [ OK ] SndFileAudioFileReaderTest.shouldReportErrorIfFileNotFound (0 ms) [ RUN ] SndFileAudioFileReaderTest.shouldFailToProcessIfFileNotOpen [ OK ] SndFileAudioFileReaderTest.shouldFailToProcessIfFileNotOpen (0 ms) [ RUN ] SndFileAudioFileReaderTest.shouldProcessStereoWavFile [ OK ] SndFileAudioFileReaderTest.shouldProcessStereoWavFile (1 ms) [ RUN ] SndFileAudioFileReaderTest.shouldProcessStereoFlacFile [ OK ] SndFileAudioFileReaderTest.shouldProcessStereoFlacFile (3 ms) [ RUN ] SndFileAudioFileReaderTest.shouldProcessMonoWavFile [ OK ] SndFileAudioFileReaderTest.shouldProcessMonoWavFile (0 ms) [ RUN ] SndFileAudioFileReaderTest.shouldProcessMonoFlacFile [ OK ] SndFileAudioFileReaderTest.shouldProcessMonoFlacFile (2 ms) [ RUN ] SndFileAudioFileReaderTest.shouldNotProcessFileMoreThanOnce [ OK ] SndFileAudioFileReaderTest.shouldNotProcessFileMoreThanOnce (0 ms) [ RUN ] SndFileAudioFileReaderTest.shouldReportErrorIfNotAWavFile [ OK ] SndFileAudioFileReaderTest.shouldReportErrorIfNotAWavFile (0 ms) [----------] 10 tests from SndFileAudioFileReaderTest (6 ms total)

[----------] 1 test from TimeUtilTest [ RUN ] TimeUtilTest.shouldConvertSecondsToString [ OK ] TimeUtilTest.shouldConvertSecondsToString (0 ms) [----------] 1 test from TimeUtilTest (0 ms total)

[----------] 3 tests from WavFileWriterTest [ RUN ] WavFileWriterTest.shouldCreateEmptyWavFile [ OK ] WavFileWriterTest.shouldCreateEmptyWavFile (1 ms) [ RUN ] WavFileWriterTest.shouldCreateMonoWavFile [ OK ] WavFileWriterTest.shouldCreateMonoWavFile (0 ms) [ RUN ] WavFileWriterTest.shouldReportErrorIfUnableToCreateFile [ OK ] WavFileWriterTest.shouldReportErrorIfUnableToCreateFile (0 ms) [----------] 3 tests from WavFileWriterTest (1 ms total)

[----------] 9 tests from WaveformBufferTest [ RUN ] WaveformBufferTest.shouldConstructWithDefaultState [ OK ] WaveformBufferTest.shouldConstructWithDefaultState (0 ms) [ RUN ] WaveformBufferTest.shouldLoadValid16BitDataFile [ OK ] WaveformBufferTest.shouldLoadValid16BitDataFile (0 ms) [ RUN ] WaveformBufferTest.shouldLoadValid8BitDataFile [ OK ] WaveformBufferTest.shouldLoadValid8BitDataFile (0 ms) [ RUN ] WaveformBufferTest.shouldNotLoadDataFileIfNotVersion1 [ OK ] WaveformBufferTest.shouldNotLoadDataFileIfNotVersion1 (0 ms) [ RUN ] WaveformBufferTest.shouldReportErrorIfSizeMismatch [ OK ] WaveformBufferTest.shouldReportErrorIfSizeMismatch (0 ms) [ RUN ] WaveformBufferTest.shouldReportErrorIfFileNotFound [ OK ] WaveformBufferTest.shouldReportErrorIfFileNotFound (1 ms) [ RUN ] WaveformBufferTest.shouldNotLoadDataFileWithSampleRateBelowMinimum [ OK ] WaveformBufferTest.shouldNotLoadDataFileWithSampleRateBelowMinimum (0 ms) [ RUN ] WaveformBufferTest.shouldNotLoadDataFileWithSamplesPerPixelBelowMinimum [ OK ] WaveformBufferTest.shouldNotLoadDataFileWithSamplesPerPixelBelowMinimum (0 ms) [ RUN ] WaveformBufferTest.shouldLoadDataFileIfSizeIsZero [ OK ] WaveformBufferTest.shouldLoadDataFileIfSizeIsZero (0 ms) [----------] 9 tests from WaveformBufferTest (1 ms total)

[----------] 8 tests from WaveformBufferSaveTest [ RUN ] WaveformBufferSaveTest.shouldSaveEmptyDataFile [ OK ] WaveformBufferSaveTest.shouldSaveEmptyDataFile (0 ms) [ RUN ] WaveformBufferSaveTest.shouldSave16BitDataFile [ OK ] WaveformBufferSaveTest.shouldSave16BitDataFile (0 ms) [ RUN ] WaveformBufferSaveTest.shouldSave8BitDataFile [ OK ] WaveformBufferSaveTest.shouldSave8BitDataFile (0 ms) [ RUN ] WaveformBufferSaveTest.shouldReportErrorIfNot8Or16Bits [ OK ] WaveformBufferSaveTest.shouldReportErrorIfNot8Or16Bits (0 ms) [ RUN ] WaveformBufferSaveTest.shouldSave16BitTextFile [ OK ] WaveformBufferSaveTest.shouldSave16BitTextFile (1 ms) [ RUN ] WaveformBufferSaveTest.shouldSave8BitTextFile [ OK ] WaveformBufferSaveTest.shouldSave8BitTextFile (0 ms) [ RUN ] WaveformBufferSaveTest.shouldSave16BitJsonFile [ OK ] WaveformBufferSaveTest.shouldSave16BitJsonFile (0 ms) [ RUN ] WaveformBufferSaveTest.shouldSave8BitJsonFile [ OK ] WaveformBufferSaveTest.shouldSave8BitJsonFile (0 ms) [----------] 8 tests from WaveformBufferSaveTest (1 ms total)

[----------] 3 tests from DurationScaleFactorTest [ RUN ] DurationScaleFactorTest.shouldThrowIfEndTimeLessThanStartTime [ OK ] DurationScaleFactorTest.shouldThrowIfEndTimeLessThanStartTime (0 ms) [ RUN ] DurationScaleFactorTest.shouldThrowIfWidthIsZero [ OK ] DurationScaleFactorTest.shouldThrowIfWidthIsZero (0 ms) [ RUN ] DurationScaleFactorTest.shouldThrowIfWidthIsNegative [ OK ] DurationScaleFactorTest.shouldThrowIfWidthIsNegative (0 ms) [----------] 3 tests from DurationScaleFactorTest (0 ms total)

[----------] 3 tests from PixelsPerSecondScaleFactorTest [ RUN ] PixelsPerSecondScaleFactorTest.shouldThrowIfZero [ OK ] PixelsPerSecondScaleFactorTest.shouldThrowIfZero (0 ms) [ RUN ] PixelsPerSecondScaleFactorTest.shouldThrowIfNegative [ OK ] PixelsPerSecondScaleFactorTest.shouldThrowIfNegative (0 ms) [ RUN ] PixelsPerSecondScaleFactorTest.shouldNotThrowIfPositive [ OK ] PixelsPerSecondScaleFactorTest.shouldNotThrowIfPositive (0 ms) [----------] 3 tests from PixelsPerSecondScaleFactorTest (0 ms total)

[----------] 10 tests from WaveformGeneratorTest [ RUN ] WaveformGeneratorTest.shouldFailIfSamplesPerPixelIsNegative [ OK ] WaveformGeneratorTest.shouldFailIfSamplesPerPixelIsNegative (0 ms) [ RUN ] WaveformGeneratorTest.shouldFailIfSamplesPerPixelIsZero [ OK ] WaveformGeneratorTest.shouldFailIfSamplesPerPixelIsZero (0 ms) [ RUN ] WaveformGeneratorTest.shouldFailIfSamplesPerPixelIsOne [ OK ] WaveformGeneratorTest.shouldFailIfSamplesPerPixelIsOne (0 ms) [ RUN ] WaveformGeneratorTest.shouldSucceedIfSamplesPerPixelIsTwo [ OK ] WaveformGeneratorTest.shouldSucceedIfSamplesPerPixelIsTwo (0 ms) [ RUN ] WaveformGeneratorTest.shouldSucceedIfSamplesPerPixelIsLarge [ OK ] WaveformGeneratorTest.shouldSucceedIfSamplesPerPixelIsLarge (0 ms) [ RUN ] WaveformGeneratorTest.shouldSucceedIfEndTimeGreaterThanStartTime [ OK ] WaveformGeneratorTest.shouldSucceedIfEndTimeGreaterThanStartTime (0 ms) [ RUN ] WaveformGeneratorTest.shouldFailIfSamplesPerPixelIsTooSmall [ OK ] WaveformGeneratorTest.shouldFailIfSamplesPerPixelIsTooSmall (0 ms) [ RUN ] WaveformGeneratorTest.shouldSetBufferAttributes [ OK ] WaveformGeneratorTest.shouldSetBufferAttributes (0 ms) [ RUN ] WaveformGeneratorTest.shouldComputeMaxAndMinValuesFromStereoInput [ OK ] WaveformGeneratorTest.shouldComputeMaxAndMinValuesFromStereoInput (0 ms) [ RUN ] WaveformGeneratorTest.shouldComputeMaxAndMinValuesFromMonoInput [ OK ] WaveformGeneratorTest.shouldComputeMaxAndMinValuesFromMonoInput (0 ms) [----------] 10 tests from WaveformGeneratorTest (1 ms total)

[----------] 3 tests from WaveformRescalerTest [ RUN ] WaveformRescalerTest.shouldRescaleWaveformData [ OK ] WaveformRescalerTest.shouldRescaleWaveformData (0 ms) [ RUN ] WaveformRescalerTest.shouldRescale8BitWaveformData [ OK ] WaveformRescalerTest.shouldRescale8BitWaveformData (0 ms) [ RUN ] WaveformRescalerTest.shouldRescale16BitWaveformData [ OK ] WaveformRescalerTest.shouldRescale16BitWaveformData (0 ms) [----------] 3 tests from WaveformRescalerTest (0 ms total)

[----------] Global test environment tear-down [==========] 186 tests from 16 test cases ran. (4021 ms total) [ PASSED ] 181 tests. [ FAILED ] 5 tests, listed below: [ FAILED ] OptionHandlerTest.shouldConvertMp3ToWavAudio [ FAILED ] OptionHandlerTest.shouldGenerateBinaryWaveformDataFromMp3Audio [ FAILED ] OptionHandlerTest.shouldGenerateJsonWaveformDataFromMp3Audio [ FAILED ] OptionHandlerTest.shouldRenderWaveformImageFromMp3Audio [ FAILED ] OptionHandlerTest.shouldRenderWaveformFitToImageWidth

5 FAILED TESTS



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3