소스 검색

Add test for Generics class

Already worked, just adding a test.
Fred Emmott 10 년 전
부모
커밋
23d5e30fbc
2개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      tests/Composer/Test/Autoload/ClassMapGeneratorTest.php
  2. 4 0
      tests/Composer/Test/Autoload/Fixtures/hhvm3.3/Generics.php

+ 1 - 0
tests/Composer/Test/Autoload/ClassMapGeneratorTest.php

@@ -78,6 +78,7 @@ class ClassMapGeneratorTest extends \PHPUnit_Framework_TestCase
             $data[] = array(__DIR__.'/Fixtures/hhvm3.3', array(
                 'FooEnum' => __DIR__.'/Fixtures/hhvm3.3/HackEnum.php',
                 'Foo\BarEnum' => __DIR__.'/Fixtures/hhvm3.3/NamespacedHackEnum.php',
+                'GenericsClass' => __DIR__.'/Fixtures/hhvm3.3/Generics.php',
             ));
         }
 

+ 4 - 0
tests/Composer/Test/Autoload/Fixtures/hhvm3.3/Generics.php

@@ -0,0 +1,4 @@
+<?hh
+
+class GenericsClass<Tk, Tv> {
+}