• Hannes Roth's avatar
    (Wangle) Clean up tests · 5180b662
    Hannes Roth authored
    Summary:
    This always bothered me. Now:
    
    1) Separate tests for each feature
    2) `XTest.cpp` contains `TEST(X, lowerCaseCamelCase)`
    
    Also cleaned up some header files and using statements.
    
    Shamelessly trying to increase the number of lines that blame to me.
    
    Test Plan:
    Run all the tests.
    
    `git grep 'TEST' -- 'folly/futures/test/*Test.cpp' | cut -d ',' -f 1 | cut -d '/' -f 4 | sort -u`
    
    `diff <(git ls-files -- 'folly/futures/test/*Test.cpp' | cut -d '/' -f 4 | sort) <(git grep 'Test.cpp' -- folly/futures/TARGETS | cut -d '/' -f 4 | cut -d "'" -f 1 | sort)`
    
    Reviewed By: jsedgwick@fb.com
    
    Subscribers: trunkagent, folly-diffs@, jsedgwick, yfeldblum, chalfant
    
    FB internal diff: D2127359
    
    Tasks: 6019442
    
    Signature: t1:2127359:1433459532:54a91ae83d7fb2d0b3f3769f673fefea20f35435
    5180b662
WindowTest.cpp 1.92 KB