Mercurial > hg > CommitWatcher
diff tests/unit.py @ 13:fc91a93fcaee
tests/unit.py
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sat, 28 Sep 2013 07:08:32 -0700 |
parents | a0ff003319ec |
children | 8a02f209992f |
line wrap: on
line diff
--- a/tests/unit.py Sat Sep 28 06:40:25 2013 -0700 +++ b/tests/unit.py Sat Sep 28 07:08:32 2013 -0700 @@ -15,6 +15,28 @@ class CommitWatcherUnitTest(unittest.TestCase): + # diff -> files mapping, from `lsdiff` + diff_files = [('41701d2c0341.diff': ['mobile/android/components/HelperAppDialog.js']), + ('4e1a3919e741.diff', ["gfx/gl/GLContext.cpp", + "gfx/gl/GLContext.h", + "gfx/layers/Compositor.h", + "gfx/layers/Layers.cpp", + "gfx/layers/Layers.h", + "gfx/layers/basic/BasicCompositor.cpp", + "gfx/layers/basic/BasicCompositor.h", + "gfx/layers/composite/LayerManagerComposite.cpp", + "gfx/layers/composite/LayerManagerComposite.h", + "gfx/layers/d3d11/CompositorD3D11.cpp", + "gfx/layers/d3d11/CompositorD3D11.h", + "gfx/layers/d3d9/CompositorD3D9.cpp", + "gfx/layers/d3d9/CompositorD3D9.h", + "gfx/layers/ipc/CompositorParent.cpp", + "gfx/layers/ipc/CompositorParent.h", + "gfx/layers/ipc/LayerTransactionParent.cpp", + "gfx/layers/opengl/CompositorOGL.cpp", + "gfx/layers/opengl/CompositorOGL.h", + "gfx/thebes/gfx2DGlue.h", + ] def test_patch(self): """test parsing the files from a patch"""