Assertion with the UnitTestRunner


#1

I got an assertion with the UnitTest Time / Time when I launched the application UnitTestRunner.

I think that’s because I’m running Windows 8.1 on a French computer, and the assertion was that :

Starting test: Time / Time…
JUCE Assertion failure in text/juce_String.cpp:321
UnitTestRunner.exe has triggered a breakpoint.

The culprit text is that : “Paris, Madrid (heure d’été)”


#2

Yes, we’ve recently run into this one ourselves. We are looking at a way to workaround this assertion.


#3

I have seen strange things also with the UnitTest for the OSC classes (VS2015, Windows 8.1 64 bits) :

Starting test: OSCArgument class / Copy, move and assignment...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCAddress class / construction and parsing...
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833ED90.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833EDB0.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833EDD0.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833EDD0.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833EDD0.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833EDD0.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833EDD0.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833EDD0.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833EDD0.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833EDD0.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833EDD0.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833EE10.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833EDD0.
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCAddress class / conversion to/from String...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCAddressPattern class / construction and parsing...
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833E4B0.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833E4D0.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833E4F0.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833E4F0.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833E530.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833E4F0.
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCAddressPattern class / construction and parsing - with wildcards...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCAddressPattern class / construction and parsing - with match expressions...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCAddressPattern class / equality comparison...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCAddressPattern class / basic string matching...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCAddressPattern class / string matching with wildcards...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCAddressPattern class / conversion to/from String...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCAddress class / pattern matching / basic string matching...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCAddress class / pattern matching / string matching with '?' wildcard...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCAddress class / pattern matching / string matching with '*' wildcard...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCAddress class / pattern matching / string matching with '{..., ...}' pattern...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCAddress class / pattern matching / string matching with '[...]' pattern...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCAddress class / pattern matching / string matching combining patterns...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCMessage class / Basic usage...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCMessage class / Initialisation with argument list (C++11 only)...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCBundle class / Construction...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCBundle class / Construction with time tag...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCBundle class / Usage when containing messages...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCBundle class / Usage when containing other bundles (recursively)...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCBundle::Element class / Construction from OSCMessage...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCInputStream class / reading OSC addresses...
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833D300.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833D3B8.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833D350.
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCInputStream class / reading OSC address patterns...
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833D300.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833D3B8.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833D340.
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCInputStream class / reading OSC time tags...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCInputStream class / reading OSC arguments...
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833D378.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833D378.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833D2C0.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833D2C0.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833D2B0.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833D2B0.
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCInputStream class / reading OSC messages (type tag string)...
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833D2A0.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833D280.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833D280.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833D238.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833D238.
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCInputStream class / reading OSC messages (contents)...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCInputStream class / reading OSC messages (handling of corrupted messages)...
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833D258.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833D258.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833D2E0.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833D220.
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCInputStream class / reading OSC messages (handling messages without type tag strings)...
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833D280.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833D2A0.
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCInputStream class / reading OSC bundles...
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833D1F8.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833D110.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833D400.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833D420.
Exception thrown at 0x00007FF93B808A5C in UnitTestRunner.exe: Microsoft C++ exception: juce::OSCFormatError at memory location 0x000000C50833D400.
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCBinaryWriter class / writing OSC addresses...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCBinaryWriter class / writing OSC address patterns...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCBinaryWriter class / writing OSC time tags...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCBinaryWriter class / writing OSC type tag strings...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCBinaryWriter class / writing OSC arguments...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCBinaryWriter class / Writing strings with correct padding...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCBinaryWriter class / Writing blobs with correct padding...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCBinaryWriter class / Writing OSC messages....
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCBinaryWriter class / Writing OSC bundle....
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCRoundTripTests class / Empty OSC message...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCRoundTripTests class / OSC message with single argument...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCRoundTripTests class / OSC message with multiple arguments...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCRoundTripTests class / Empty OSC bundle...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCRoundTripTests class / OSC bundle with single message...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCRoundTripTests class / OSC bundle with multiple messages...
All tests completed successfully
-----------------------------------------------------------------
Starting test: OSCRoundTripTests class / OSC bundle containing another bundle...
All tests completed successfully