Home | History | Annotate | only in /frameworks/support/webkit-codegen/src/test/resources
Up to higher level directory
NameDateSize
codegen/21-Aug-2018
codegen-expected/21-Aug-2018
IGNORE_CHECKSTYLE21-Aug-20180
README.txt21-Aug-20181K

README.txt

      1 The webkit-codegen module represents a code generation tool, so the tests in
      2 this module ensures the code generated by the tool is correct. We do this by
      3 using two types of test-resource files: input and output files. The input files
      4 live under codegen/ while the output files live under codegen-expected/.
      5 Each test consists of parsing the input file, then passing that file to the tool
      6 to perform some code transformation/generation, and finally validating the
      7 output against one or several output file.
      8 The input and output files are named in such a way that they correspond to how
      9 the tool names its generated files, e.g. running boundary interface generation
     10 for Foo.java will generate a file named FooBoundaryInterface.java.
     11 
     12 The folder deps/android/webkit/ contains classes that should be seen as
     13 android.webkit classes. These classes are special because they need special
     14 treatment by the code generation tool (since the support library will never
     15 reference those classes directly, but instead create its own versions of them).
     16