test_class.declarator: srcWithDifferentEOLs
test_class.original_string: String srcWithDifferentEOLs;
test_class.type: String
test_class.var_name: srcWithDifferentEOLs
test_class.file: tools/soitoolkit-generator/soitoolkit-generator/src/test/java/org/soitoolkit/tools/generator/util/SourceFormatterUtilTest.java
test_class.identifier: SourceFormatterUtilTest
test_case.body: @Test
  	public void testAssertCurrentLineSeparatorIsAllowed() {
  		SourceFormatterUtil
  				.staticSetCurrentLineSeparatorForTesting(EOL_WINDOWS_STYLE_CRLF);
  		SourceFormatterUtil.assertCurrentLineSeparatorIsAllowed();
  		SourceFormatterUtil
  				.staticSetCurrentLineSeparatorForTesting(EOL_UNIX_STYLE_LF);
  		SourceFormatterUtil.assertCurrentLineSeparatorIsAllowed();
  		try {
  			SourceFormatterUtil
  					.staticSetCurrentLineSeparatorForTesting("UNKNOWN_EOL");
  			SourceFormatterUtil.assertCurrentLineSeparatorIsAllowed();
  			Assert.fail("expected exception");
  		} catch (IllegalStateException e) {
  			Assert.assertTrue(e.getMessage().contains("unknown"));
  		}
  	}
test_case.class_method_signature: SourceFormatterUtilTest.testAssertCurrentLineSeparatorIsAllowed()
test_case.full_signature: @Test public void testAssertCurrentLineSeparatorIsAllowed()
test_case.identifier: testAssertCurrentLineSeparatorIsAllowed
test_case.invocations: staticSetCurrentLineSeparatorForTesting assertCurrentLineSeparatorIsAllowed staticSetCurrentLineSeparatorForTesting assertCurrentLineSeparatorIsAllowed staticSetCurrentLineSeparatorForTesting assertCurrentLineSeparatorIsAllowed fail assertTrue contains getMessage
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testAssertCurrentLineSeparatorIsAllowed()
focal_class.declarator: EOL_WINDOWS_STYLE_CRLF = "\r\n"
focal_class.modifier: static final
focal_class.original_string: static final String EOL_WINDOWS_STYLE_CRLF = "\r\n";
focal_class.type: String
focal_class.var_name: EOL_WINDOWS_STYLE_CRLF
focal_class.declarator: EOL_UNIX_STYLE_LF = "\n"
focal_class.modifier: static final
focal_class.original_string: static final String EOL_UNIX_STYLE_LF = "\n";
focal_class.type: String
focal_class.var_name: EOL_UNIX_STYLE_LF
focal_class.declarator: currentLineSeparator = System
  			.getProperty("line.separator")
focal_class.modifier: private static
focal_class.original_string: private static String currentLineSeparator = System
  			.getProperty("line.separator");
focal_class.type: String
focal_class.var_name: currentLineSeparator
focal_class.file: tools/soitoolkit-generator/soitoolkit-generator/src/main/java/org/soitoolkit/tools/generator/util/SourceFormatterUtil.java
focal_class.identifier: SourceFormatterUtil
focal_class.class_method_signature: SourceFormatterUtil.SourceFormatterUtil()
focal_class.full_signature: private  SourceFormatterUtil()
focal_class.identifier: SourceFormatterUtil
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  SourceFormatterUtil()
focal_class.class_method_signature: SourceFormatterUtil.formatSource(String source)
focal_class.full_signature: public static String formatSource(String source)
focal_class.identifier: formatSource
focal_class.modifiers: public static
focal_class.parameters: (String source)
focal_class.return: String
focal_class.signature: String formatSource(String source)
focal_class.class_method_signature: SourceFormatterUtil.formatEndOfLine(String source)
focal_class.full_signature: static String formatEndOfLine(String source)
focal_class.identifier: formatEndOfLine
focal_class.modifiers: static
focal_class.parameters: (String source)
focal_class.return: String
focal_class.signature: String formatEndOfLine(String source)
focal_class.class_method_signature: SourceFormatterUtil.assertCurrentLineSeparatorIsAllowed()
focal_class.full_signature: static void assertCurrentLineSeparatorIsAllowed()
focal_class.identifier: assertCurrentLineSeparatorIsAllowed
focal_class.modifiers: static
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void assertCurrentLineSeparatorIsAllowed()
focal_class.class_method_signature: SourceFormatterUtil.staticSetCurrentLineSeparatorForTesting(String lineSeparator)
focal_class.full_signature: static void staticSetCurrentLineSeparatorForTesting(String lineSeparator)
focal_class.identifier: staticSetCurrentLineSeparatorForTesting
focal_class.modifiers: static
focal_class.parameters: (String lineSeparator)
focal_class.return: void
focal_class.signature: void staticSetCurrentLineSeparatorForTesting(String lineSeparator)
focal_method.body: static void assertCurrentLineSeparatorIsAllowed() {
  		if (!EOL_WINDOWS_STYLE_CRLF.equals(currentLineSeparator)
  				&& !EOL_UNIX_STYLE_LF.equals(currentLineSeparator)) {
  			throw new IllegalStateException(
  					"current line separator is unknown: before_"
  							+ currentLineSeparator + "_after");
  		}
  	}
focal_method.class_method_signature: SourceFormatterUtil.assertCurrentLineSeparatorIsAllowed()
focal_method.full_signature: static void assertCurrentLineSeparatorIsAllowed()
focal_method.identifier: assertCurrentLineSeparatorIsAllowed
focal_method.invocations: equals equals
focal_method.modifiers: static
focal_method.parameters: ()
focal_method.return: void
focal_method.signature: void assertCurrentLineSeparatorIsAllowed()