Home
last modified time | relevance | path

Searched refs:parseLicenseHeader (Results 1 – 2 of 2) sorted by relevance

/external/doclava/test/com/google/doclava/
DStubsTest.java28 assertEquals("// Foo\n", parseLicenseHeader( in testLicenseWithPackage()
33 assertEquals("// Foo\n// Bar\n", parseLicenseHeader( in testLicenseWithPackage()
39 assertEquals("// Foo\n// Bar\n", parseLicenseHeader( in testLicenseWithPackage()
45 assertEquals("// Foo\n// Bar package bar food\n", parseLicenseHeader( in testLicenseWithPackage()
53 assertEquals("// Foo\n", parseLicenseHeader( in testLicenseWithImport()
58 assertEquals("// Foo\n// Bar\n", parseLicenseHeader( in testLicenseWithImport()
64 assertEquals("// Foo\n// Bar\n", parseLicenseHeader( in testLicenseWithImport()
70 assertEquals("// Foo\n// Bar import bar food\n", parseLicenseHeader( in testLicenseWithImport()
78 assertEquals("/*\n* Foo\n*/\n//\n// Bar\n//\n", parseLicenseHeader( in testLineStripping()
90 assertEquals("/*\n* Foo\n*/\n/*\n* Bar\n*/\n", parseLicenseHeader( in testMultipleComments()
[all …]
/external/doclava/src/com/google/doclava/
DStubs.java457 stream.print(parseLicenseHeader(cl.position())); in writeClassFile()
465 private static String parseLicenseHeader(/* @Nonnull */ SourcePositionInfo positionInfo) { in parseLicenseHeader() method in Stubs
478 return parseLicenseHeader(new FileInputStream(sourceFile)); in parseLicenseHeader()
485 static String parseLicenseHeader(InputStream input) throws IOException { in parseLicenseHeader() method in Stubs