test_class.declarator: thrown = ExpectedException.none()
test_class.modifier: @Rule
    public
test_class.original_string: @Rule
    public ExpectedException thrown = ExpectedException.none();
test_class.type: ExpectedException
test_class.var_name: thrown
test_class.file: php-frontend/src/test/java/org/sonar/php/ini/PhpIniParserTest.java
test_class.identifier: PhpIniParserTest
test_case.body: @Test
    public void parse_file() throws Exception {
      PhpFile file = FileTestUtils.getFile(new File("src/test/resources/phpini/php.ini"));
      PhpIniFile phpIni = new PhpIniParser().parse(file);
      assertThat(phpIni.directives()).hasSize(1);
      assertThat(phpIni.directives().get(0).name().text()).isEqualTo("max_execution_time");
    }
test_case.class_method_signature: PhpIniParserTest.parse_file()
test_case.full_signature: @Test public void parse_file()
test_case.identifier: parse_file
test_case.invocations: getFile parse hasSize assertThat directives isEqualTo assertThat text name get directives
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void parse_file()
focal_class.file: php-frontend/src/main/java/org/sonar/php/ini/PhpIniParser.java
focal_class.identifier: PhpIniParser
focal_class.class_method_signature: PhpIniParser.parse(PhpFile file)
focal_class.full_signature: public PhpIniFile parse(PhpFile file)
focal_class.identifier: parse
focal_class.modifiers: public
focal_class.parameters: (PhpFile file)
focal_class.return: PhpIniFile
focal_class.signature: PhpIniFile parse(PhpFile file)
focal_class.class_method_signature: PhpIniParser.parse(String content)
focal_class.full_signature: public PhpIniFile parse(String content)
focal_class.identifier: parse
focal_class.modifiers: public
focal_class.parameters: (String content)
focal_class.return: PhpIniFile
focal_class.signature: PhpIniFile parse(String content)
focal_class.class_method_signature: PhpIniParser.parseLine(String line, int lineNumber)
focal_class.full_signature: private static Directive parseLine(String line, int lineNumber)
focal_class.identifier: parseLine
focal_class.modifiers: private static
focal_class.parameters: (String line, int lineNumber)
focal_class.return: Directive
focal_class.signature: Directive parseLine(String line, int lineNumber)
focal_class.class_method_signature: PhpIniParser.checkState(boolean condition, int lineNumber, String line)
focal_class.full_signature: private static void checkState(boolean condition, int lineNumber, String line)
focal_class.identifier: checkState
focal_class.modifiers: private static
focal_class.parameters: (boolean condition, int lineNumber, String line)
focal_class.return: void
focal_class.signature: void checkState(boolean condition, int lineNumber, String line)
focal_class.class_method_signature: PhpIniParser.createDirective(String line, int lineNumber, int equalSignIndex, int endIndex)
focal_class.full_signature: private static Directive createDirective(String line, int lineNumber, int equalSignIndex, int endIndex)
focal_class.identifier: createDirective
focal_class.modifiers: private static
focal_class.parameters: (String line, int lineNumber, int equalSignIndex, int endIndex)
focal_class.return: Directive
focal_class.signature: Directive createDirective(String line, int lineNumber, int equalSignIndex, int endIndex)
focal_method.body: public PhpIniFile parse(PhpFile file) {
      return parse(file.contents());
    }
focal_method.class_method_signature: PhpIniParser.parse(PhpFile file)
focal_method.full_signature: public PhpIniFile parse(PhpFile file)
focal_method.identifier: parse
focal_method.invocations: parse contents
focal_method.modifiers: public
focal_method.parameters: (PhpFile file)
focal_method.return: PhpIniFile
focal_method.signature: PhpIniFile parse(PhpFile file)